summaryrefslogtreecommitdiff
path: root/libdexfile/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'libdexfile/Android.bp')
-rw-r--r--libdexfile/Android.bp16
1 files changed, 7 insertions, 9 deletions
diff --git a/libdexfile/Android.bp b/libdexfile/Android.bp
index b2c041c81f..3818624d7a 100644
--- a/libdexfile/Android.bp
+++ b/libdexfile/Android.bp
@@ -19,6 +19,7 @@ cc_defaults {
defaults: ["art_defaults"],
host_supported: true,
srcs: [
+ "dex/art_dex_file_loader.cc",
"dex/compact_dex_file.cc",
"dex/compact_offset_table.cc",
"dex/descriptors_names.cc",
@@ -55,24 +56,20 @@ cc_defaults {
},
generated_sources: ["dexfile_operator_srcs"],
shared_libs: [
- // Important note: relying on libartbase's header_lib is perfectly acceptable.
- // However, relying on the libartbase shared library introduces further, possibly cyclic,
- // dependencies for clients outside of ART.
+ // For MemMap.
+ "libartbase",
"liblog",
+ // For atrace.
+ "libcutils",
// For common macros.
"libbase",
"libz",
],
- header_libs: [
- "art_libartbase_headers",
- ],
export_include_dirs: ["."],
export_shared_lib_headers: [
+ "libartbase",
"libbase",
],
- export_header_lib_headers: [
- "art_libartbase_headers",
- ],
}
gensrcs {
@@ -114,6 +111,7 @@ art_cc_test {
"art_gtest_defaults",
],
srcs: [
+ "dex/art_dex_file_loader_test.cc",
"dex/code_item_accessors_test.cc",
"dex/compact_dex_file_test.cc",
"dex/compact_offset_table_test.cc",