diff options
| 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 |
| commit | ec5ed06b59a3b85e7f98ffc50e0539e5a77d1ba1 (patch) | |
| tree | c09b7debef2c19d2ea79488d9d3357b49020da26 /libprofile | |
| parent | 9c568f10f68cdbeb285e41cb4538c06f5e90c1b2 (diff) | |
| download | art-ec5ed06b59a3b85e7f98ffc50e0539e5a77d1ba1.tar.gz art-ec5ed06b59a3b85e7f98ffc50e0539e5a77d1ba1.tar.bz2 art-ec5ed06b59a3b85e7f98ffc50e0539e5a77d1ba1.zip | |
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 'libprofile')
| -rw-r--r-- | libprofile/Android.bp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/libprofile/Android.bp b/libprofile/Android.bp index b9883f658d..edd9fa858b 100644 --- a/libprofile/Android.bp +++ b/libprofile/Android.bp @@ -56,6 +56,37 @@ cc_defaults { export_shared_lib_headers: ["libbase"], } +cc_defaults { + name: "libprofile_static_base_defaults", + static_libs: [ + "libbase", + "libcutils", + "libutils", + "libz", + "libziparchive", + ], +} + +cc_defaults { + name: "libprofile_static_defaults", + defaults: [ + "libprofile_static_base_defaults", + "libartbase_static_defaults", + "libdexfile_static_defaults", + ], + static_libs: ["libprofile"], +} + +cc_defaults { + name: "libprofiled_static_defaults", + defaults: [ + "libprofile_static_base_defaults", + "libartbased_static_defaults", + "libdexfiled_static_defaults", + ], + static_libs: ["libprofiled"], +} + art_cc_library { name: "libprofile", defaults: ["libprofile_defaults"], |
