ART: Depend on libnativehelper headers only
Depend on header-only versions where possible. Move projects
excluding libart to libnativehelper_header_only.
Bug: 65522645
Test: mmma art
Change-Id: I53dd3b2a97e94ee685f72de007ed3858f7f5c6b6
diff --git a/compiler/Android.bp b/compiler/Android.bp
index c2984e1..fe0f3c7 100644
--- a/compiler/Android.bp
+++ b/compiler/Android.bp
@@ -191,11 +191,11 @@
shared_libs: [
"libbase",
"liblzma",
- "libnativehelper",
],
include_dirs: ["art/disassembler"],
header_libs: [
"art_cmdlineparser_headers", // For compiler_options.
+ "libnativehelper_header_only",
],
export_include_dirs: ["."],
@@ -407,7 +407,10 @@
},
},
- header_libs: ["libart_simulator_headers"],
+ header_libs: [
+ "libart_simulator_headers",
+ "libnativehelper_header_only",
+ ],
shared_libs: [
"libartd-compiler",
@@ -416,7 +419,6 @@
"libvixld-arm64",
"libbacktrace",
- "libnativehelper",
"libnativeloader",
],