summaryrefslogtreecommitdiff
path: root/compiler/Android.bp
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2018-01-26 16:20:02 -0800
committer Andreas Gampe <agampe@google.com> 2018-09-06 14:00:25 -0700
commitec5ed06b59a3b85e7f98ffc50e0539e5a77d1ba1 (patch)
treec09b7debef2c19d2ea79488d9d3357b49020da26 /compiler/Android.bp
parent9c568f10f68cdbeb285e41cb4538c06f5e90c1b2 (diff)
ART: Refactor static include list
Create default objects. This allows chaining the sets, and also can separate between host and target. Test: mmma art Change-Id: I68a80068d442b20c6430e9e576df7f74375e7e49
Diffstat (limited to 'compiler/Android.bp')
-rw-r--r--compiler/Android.bp33
1 files changed, 33 insertions, 0 deletions
diff --git a/compiler/Android.bp b/compiler/Android.bp
index c36553779e..c2f8e3c66e 100644
--- a/compiler/Android.bp
+++ b/compiler/Android.bp
@@ -191,6 +191,15 @@ art_cc_defaults {
export_include_dirs: ["."],
}
+cc_defaults {
+ name: "libart-compiler_static_base_defaults",
+ static_libs: [
+ "libbase",
+ "libcutils",
+ "liblzma",
+ ],
+}
+
gensrcs {
name: "art_compiler_operator_srcs",
cmd: "$(location generate_operator_out) art/compiler $(in) > $(out)",
@@ -260,6 +269,18 @@ art_cc_library {
},
}
+cc_defaults {
+ name: "libart-compiler_static_defaults",
+ defaults: [
+ "libart-compiler_static_base_defaults",
+ "libart_static_defaults",
+ "libartbase_static_defaults",
+ "libdexfile_static_defaults",
+ "libprofile_static_defaults",
+ ],
+ static_libs: ["libart-compiler"],
+}
+
art_cc_library {
name: "libartd-compiler",
defaults: [
@@ -302,6 +323,18 @@ art_cc_library {
],
}
+cc_defaults {
+ name: "libartd-compiler_static_defaults",
+ defaults: [
+ "libart-compiler_static_base_defaults",
+ "libartd_static_defaults",
+ "libartbased_static_defaults",
+ "libdexfiled_static_defaults",
+ "libprofiled_static_defaults",
+ ],
+ static_libs: ["libartd-compiler"],
+}
+
art_cc_library {
name: "libart-compiler-gtest",
defaults: ["libart-gtest-defaults"],