summaryrefslogtreecommitdiffstats
path: root/libprofile
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2018-10-30 12:33:04 +0000
committerNicolas Geoffray <ngeoffray@google.com>2018-10-30 12:33:04 +0000
commit65ed42a3d3a7bf1a42e759ed53c16b179f54813a (patch)
tree77930ed648604f50fe6a46059f4cc659b443ddb7 /libprofile
parent8a94003e66f337fe84870ff68d3f6f234555cf06 (diff)
downloadart-65ed42a3d3a7bf1a42e759ed53c16b179f54813a.tar.gz
art-65ed42a3d3a7bf1a42e759ed53c16b179f54813a.tar.bz2
art-65ed42a3d3a7bf1a42e759ed53c16b179f54813a.zip
Revert "Link compression libs statically into libartbase and use those everywhere."
This reverts commit 8a94003e66f337fe84870ff68d3f6f234555cf06. Reason for revert: Breaks asan and dex2oats. Change-Id: Idea760bbd2b25078ecd1ee5a39da94f6b74432a7 bug: 118374951
Diffstat (limited to 'libprofile')
-rw-r--r--libprofile/Android.bp19
1 files changed, 18 insertions, 1 deletions
diff --git a/libprofile/Android.bp b/libprofile/Android.bp
index 0f8db9c281..edd9fa858b 100644
--- a/libprofile/Android.bp
+++ b/libprofile/Android.bp
@@ -23,17 +23,27 @@ cc_defaults {
],
target: {
android: {
+ static_libs: [
+ // ZipArchive support, the order matters here to get all symbols.
+ "libziparchive",
+ "libz",
+ ],
shared_libs: [
// For android::FileMap used by libziparchive.
"libutils",
],
},
+ host: {
+ shared_libs: [
+ "libziparchive",
+ "libz",
+ ],
+ },
},
//generated_sources: ["art_libartbase_operator_srcs"],
cflags: ["-DBUILDING_LIBART=1"],
shared_libs: [
"libartbase",
- "libbase",
"libdexfile",
"libartbase",
// For atrace.
@@ -52,6 +62,8 @@ cc_defaults {
"libbase",
"libcutils",
"libutils",
+ "libz",
+ "libziparchive",
],
}
@@ -85,7 +97,9 @@ art_cc_library {
},
shared_libs: [
"libbase",
+ "libziparchive",
],
+ export_shared_lib_headers: ["libbase"],
}
art_cc_library {
@@ -96,7 +110,9 @@ art_cc_library {
],
shared_libs: [
"libbase",
+ "libziparchive",
],
+ export_shared_lib_headers: ["libbase"],
}
// For now many of these tests still use CommonRuntimeTest, almost universally because of
@@ -114,5 +130,6 @@ art_cc_test {
"libartbased",
"libdexfiled",
"libartbased",
+ "libziparchive",
],
}