summaryrefslogtreecommitdiff
path: root/libdexfile/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 /libdexfile/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 'libdexfile/Android.bp')
-rw-r--r--libdexfile/Android.bp30
1 files changed, 30 insertions, 0 deletions
diff --git a/libdexfile/Android.bp b/libdexfile/Android.bp
index 06fd19e2fe..49b1278fcb 100644
--- a/libdexfile/Android.bp
+++ b/libdexfile/Android.bp
@@ -72,6 +72,36 @@ cc_defaults {
],
}
+cc_defaults {
+ name: "libdexfile_static_base_defaults",
+ static_libs: [
+ "libbase",
+ "libcutils",
+ "liblog",
+ "libutils",
+ "libz",
+ "libziparchive",
+ ],
+}
+
+cc_defaults {
+ name: "libdexfile_static_defaults",
+ defaults: [
+ "libartbase_static_defaults",
+ "libdexfile_static_base_defaults",
+ ],
+ static_libs: ["libdexfile"],
+}
+
+cc_defaults {
+ name: "libdexfiled_static_defaults",
+ defaults: [
+ "libartbased_static_defaults",
+ "libdexfile_static_base_defaults",
+ ],
+ static_libs: ["libdexfiled"],
+}
+
gensrcs {
name: "dexfile_operator_srcs",
cmd: "$(location generate_operator_out) art/libdexfile $(in) > $(out)",