summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Rocard <krocard@google.com>2019-04-29 11:20:33 -0700
committerEric Laurent <elaurent@google.com>2019-04-29 11:50:19 -0700
commite658c5390cc6bfa252f8fb9e1e52a65f65a02b14 (patch)
treec3005a5a63310d1697ffe5588d132b75293138e1
parent9cb3385e519fe80129b71404c0200dac184b03a4 (diff)
downloadparameter-framework-e658c5390cc6bfa252f8fb9e1e52a65f65a02b14.tar.gz
Use the shared library VNDK version of libxml2
Previously the parameter-framework was using the static version of libxml2. This meant that the libxml2 dependency libicu had to be listed as a parameter-framework dependency. Nevertheless libicu is not vendor accessible. As libxml2 is part of the VNDK, use its shared-library variant allows to remove the explicit libicu dependency as well as reducing code size and allows independent VNDK update. Bug: 130284799 Test: make Change-Id: I95b6a72c72161c8267786790de7093d8a641c392 Signed-off-by: Kevin Rocard <krocard@google.com>
-rw-r--r--Android.bp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 9bc7deb..6155d3d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -103,11 +103,10 @@ cc_defaults {
"support/android/parameter",
],
shared_libs: [
- "libandroidicu",
+ "libxml2",
],
static_libs: [
"libpfw_utility",
- "libxml2",
],
srcs: [