Elliott Hughes | 627d8d3 | 2019-09-30 16:46:18 -0700 | [diff] [blame] | 1 | // ART APEX module |
| 2 | // |
| 3 | // Contains both the Android Managed Runtime (ART) and the Android Core Library |
| 4 | // (Libcore). |
| 5 | |
Bob Badour | 9150de6 | 2021-02-26 03:22:24 -0800 | [diff] [blame] | 6 | package { |
| 7 | // See: http://go/android-license-faq |
| 8 | // A large-scale-change added 'default_applicable_licenses' to import |
| 9 | // all of the 'license_kinds' from "art_license" |
| 10 | // to get the below license kinds: |
| 11 | // SPDX-license-identifier-Apache-2.0 |
| 12 | default_applicable_licenses: ["art_license"], |
| 13 | } |
| 14 | |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 15 | soong_config_module_type_import { |
| 16 | from: "art/build/SoongConfig.bp", |
| 17 | module_types: [ |
| 18 | "art_module_apex_defaults", |
| 19 | "art_module_cc_defaults", |
| 20 | "art_module_genrule_defaults", |
| 21 | ], |
| 22 | } |
| 23 | |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 24 | // Modules listed in LOCAL_REQUIRED_MODULES for module art-runtime in art/Android.mk. |
Roland Levillain | ffd067c | 2020-02-20 15:25:31 +0000 | [diff] [blame] | 25 | // - Base requirements (binaries for which both 32- and 64-bit versions are built, if possible). |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 26 | art_runtime_base_binaries_both = [ |
| 27 | "dalvikvm", |
| 28 | ] |
Nicolas Geoffray | d68580e | 2020-04-15 16:52:32 +0100 | [diff] [blame] | 29 | art_runtime_base_binaries_both_on_device_first_on_host = [ |
| 30 | "dex2oat", |
| 31 | ] |
Roland Levillain | ffd067c | 2020-02-20 15:25:31 +0000 | [diff] [blame] | 32 | // - Base requirements (binaries for which a 32-bit version is preferred on device, but for which |
| 33 | // only the "first" (likely 64-bit) version is required on host). |
| 34 | art_runtime_base_binaries_prefer32_on_device_first_on_host = [ |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 35 | "dexoptanalyzer", |
Orion Hodson | 4c3ade6 | 2021-02-10 14:07:10 +0000 | [diff] [blame] | 36 | "odrefresh", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 37 | "profman", |
| 38 | ] |
Roland Levillain | ffd067c | 2020-02-20 15:25:31 +0000 | [diff] [blame] | 39 | |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 40 | // - Base requirements (libraries). |
Roland Levillain | 1617f8c | 2019-03-26 17:52:30 +0000 | [diff] [blame] | 41 | // |
| 42 | // Note: ART on-device chroot-based testing and benchmarking is not yet using |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 43 | // the ART APEX, meaning that copies of some of these libraries have to be |
Roland Levillain | 1617f8c | 2019-03-26 17:52:30 +0000 | [diff] [blame] | 44 | // installed in `/system` for the ART Buildbot set-up to work properly. This is |
| 45 | // done by the `standalone-apex-files` Make phony target, used by the ART |
| 46 | // Buildbot and Golem (see `art/Android.mk`). If you add libraries to this list, |
Martin Stjernholm | 84e5bb9 | 2019-09-05 19:56:46 +0100 | [diff] [blame] | 47 | // you may have to also add them to `PRIVATE_ART_APEX_DEPENDENCY_LIBS` in |
Roland Levillain | 1617f8c | 2019-03-26 17:52:30 +0000 | [diff] [blame] | 48 | // `art/Android.mk`. |
| 49 | // TODO(b/121117762): Remove this note when both the ART Buildbot and Golem use |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 50 | // the ART APEX. |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 51 | art_runtime_base_native_shared_libs = [ |
Martin Stjernholm | 023c218 | 2019-03-28 15:52:32 +0000 | [diff] [blame] | 52 | // External API (having APEX stubs). |
Martin Stjernholm | d3e9ff3 | 2021-03-16 00:44:25 +0000 | [diff] [blame] | 53 | "libdexfile", |
Martin Stjernholm | c2f8b50 | 2019-01-17 14:51:35 +0000 | [diff] [blame] | 54 | "libnativebridge", |
| 55 | "libnativehelper", |
| 56 | "libnativeloader", |
Nicolas Geoffray | aded139 | 2021-03-05 09:54:10 +0000 | [diff] [blame] | 57 | "libsigchain", |
Martin Stjernholm | 023c218 | 2019-03-28 15:52:32 +0000 | [diff] [blame] | 58 | // libadbconnection is internal and loaded with dlopen(), but it cannot use |
| 59 | // "required" because of cyclic dependency (b/124505714). |
| 60 | "libadbconnection", |
| 61 | // TODO(b/124476339): Clean up the following libraries once "required" |
Martin Stjernholm | 0c15b82 | 2019-02-14 17:24:19 +0000 | [diff] [blame] | 62 | // dependencies work with APEX libraries. |
Martin Stjernholm | 023c218 | 2019-03-28 15:52:32 +0000 | [diff] [blame] | 63 | "libart", |
| 64 | "libart-compiler", |
Chris Wailes | befdad4 | 2021-01-12 16:37:57 -0800 | [diff] [blame] | 65 | "libartservice", |
Martin Stjernholm | 0c15b82 | 2019-02-14 17:24:19 +0000 | [diff] [blame] | 66 | "libdt_fd_forward", |
| 67 | "libdt_socket", |
| 68 | "libjdwp", |
| 69 | "libnpt", |
Martin Stjernholm | 023c218 | 2019-03-28 15:52:32 +0000 | [diff] [blame] | 70 | "libopenjdkjvm", |
| 71 | "libopenjdkjvmti", |
Chris Wailes | befdad4 | 2021-01-12 16:37:57 -0800 | [diff] [blame] | 72 | // TODO(chriswailes): Make libarttools a dependency for another target |
| 73 | // when such a target exists |
| 74 | "libarttools", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 75 | ] |
Florian Mayer | 07710c5 | 2019-09-16 15:53:38 +0000 | [diff] [blame] | 76 | |
| 77 | art_runtime_base_native_device_only_shared_libs = [ |
| 78 | "libperfetto_hprof", |
| 79 | ] |
| 80 | |
Jiyong Park | 3296fb1 | 2018-12-13 18:32:21 +0900 | [diff] [blame] | 81 | bionic_native_shared_libs = [ |
Martin Stjernholm | 023c218 | 2019-03-28 15:52:32 +0000 | [diff] [blame] | 82 | // External API (having APEX stubs). |
Jiyong Park | 3296fb1 | 2018-12-13 18:32:21 +0900 | [diff] [blame] | 83 | "libc", |
| 84 | "libm", |
| 85 | "libdl", |
| 86 | ] |
Jiyong Park | 408f7d0 | 2019-04-02 23:04:42 +0900 | [diff] [blame] | 87 | |
Jiyong Park | e2bc9fe | 2018-12-26 11:36:39 +0900 | [diff] [blame] | 88 | bionic_binaries_both = [ |
| 89 | "linker", |
| 90 | ] |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 91 | |
Roland Levillain | ffd067c | 2020-02-20 15:25:31 +0000 | [diff] [blame] | 92 | // - Debug variants (binaries for which a 32-bit version is preferred on device, but for which |
| 93 | // only the "first" (likely 64-bit) version is required on host). |
| 94 | art_runtime_debug_binaries_prefer32_on_device_first_on_host = [ |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 95 | "dexoptanalyzerd", |
| 96 | "profmand", |
| 97 | ] |
Nicolas Geoffray | d68580e | 2020-04-15 16:52:32 +0100 | [diff] [blame] | 98 | art_runtime_debug_binaries_both_on_device_first_on_host = [ |
| 99 | "dex2oatd", |
| 100 | ] |
Alex Light | 572a096 | 2019-01-18 14:48:37 -0800 | [diff] [blame] | 101 | |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 102 | // - Debug variants (libraries). |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 103 | art_runtime_debug_native_shared_libs = [ |
Martin Stjernholm | c2f8b50 | 2019-01-17 14:51:35 +0000 | [diff] [blame] | 104 | "libadbconnectiond", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 105 | "libartd", |
| 106 | "libartd-compiler", |
Martin Stjernholm | d3e9ff3 | 2021-03-16 00:44:25 +0000 | [diff] [blame] | 107 | "libdexfiled", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 108 | "libopenjdkjvmd", |
| 109 | "libopenjdkjvmtid", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 110 | ] |
| 111 | |
Florian Mayer | 07710c5 | 2019-09-16 15:53:38 +0000 | [diff] [blame] | 112 | art_runtime_base_native_device_only_debug_shared_libs = [ |
Elliott Hughes | 627d8d3 | 2019-09-30 16:46:18 -0700 | [diff] [blame] | 113 | "libperfetto_hprofd", |
Florian Mayer | 07710c5 | 2019-09-16 15:53:38 +0000 | [diff] [blame] | 114 | ] |
| 115 | |
Roland Levillain | 4d6f24d | 2019-10-02 16:47:36 +0100 | [diff] [blame] | 116 | // Libraries needed to execute ART run-tests. |
| 117 | // TODO(b/124476339): When bug 124476339 is fixed, add these libraries as `runtime_libs` |
| 118 | // dependencies of `libartd-compiler`, and remove `art_runtime_run_test_libs`. |
| 119 | art_runtime_run_test_libs = [ |
| 120 | "libart-disassembler", |
| 121 | "libartd-disassembler", |
| 122 | ] |
| 123 | |
Orion Hodson | 5cb98a9 | 2019-03-25 15:07:16 +0000 | [diff] [blame] | 124 | // Tools common to both device APEX and host APEX. Derived from art-tools in art/Android.mk. |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 125 | art_tools_common_binaries = [ |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 126 | "dexdump", |
| 127 | "dexlist", |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 128 | ] |
| 129 | |
Martin Stjernholm | 77f1766 | 2019-04-03 17:08:21 +0100 | [diff] [blame] | 130 | // Tools common to both device and host debug APEXes. |
| 131 | art_tools_debug_binaries = [ |
Roland Levillain | 6dd6212 | 2019-06-18 19:10:21 +0100 | [diff] [blame] | 132 | "dexanalyze", |
Martin Stjernholm | 77f1766 | 2019-04-03 17:08:21 +0100 | [diff] [blame] | 133 | "dexdiag", |
Roland Levillain | 6dd6212 | 2019-06-18 19:10:21 +0100 | [diff] [blame] | 134 | "dexlayout", |
| 135 | "dexlayoutd", |
| 136 | ] |
| 137 | |
| 138 | art_tools_debug_binaries_both = [ |
| 139 | "imgdiag", |
| 140 | "imgdiagd", |
Martin Stjernholm | 77f1766 | 2019-04-03 17:08:21 +0100 | [diff] [blame] | 141 | ] |
| 142 | |
Orion Hodson | 5cb98a9 | 2019-03-25 15:07:16 +0000 | [diff] [blame] | 143 | // Tools exclusively for the device APEX derived from art-tools in art/Android.mk. |
Roland Levillain | e9f0ccc | 2019-01-07 16:45:58 +0000 | [diff] [blame] | 144 | art_tools_device_only_binaries = [ |
| 145 | // oatdump cannot link with host linux_bionic due to not using clang lld; |
| 146 | // TODO: Make it work with clang lld. |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 147 | "oatdump", |
| 148 | ] |
Roland Levillain | 02998cf | 2019-03-21 14:27:02 +0000 | [diff] [blame] | 149 | // Same, but for only for debug packages. |
| 150 | art_tools_debug_device_only_binaries = [ |
| 151 | // oatdumpd cannot link with host linux_bionic due to not using clang lld; |
| 152 | // TODO: Make it work with clang lld. |
| 153 | "oatdumpd", |
| 154 | ] |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 155 | |
Orion Hodson | 5cb98a9 | 2019-03-25 15:07:16 +0000 | [diff] [blame] | 156 | // Tools exclusively for the host APEX derived from art-tools in art/Android.mk. |
Roland Levillain | e9f0ccc | 2019-01-07 16:45:58 +0000 | [diff] [blame] | 157 | art_tools_host_only_binaries = [ |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 158 | // FIXME: Does not work as-is, because `ahat` is defined in tools/ahat/Android.mk |
| 159 | // (same issue as for `libart_fake` above). |
| 160 | //"ahat", |
| 161 | "hprof-conv", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 162 | ] |
| 163 | |
Roland Levillain | a0b1903 | 2019-02-08 15:59:56 +0000 | [diff] [blame] | 164 | // Core Java libraries. |
| 165 | libcore_java_libs = [ |
| 166 | "core-oj", |
| 167 | "core-libart", |
| 168 | "okhttp", |
| 169 | "bouncycastle", |
| 170 | "apache-xml", |
| 171 | ] |
| 172 | |
| 173 | // Native libraries that support the core Java libraries. |
Roland Levillain | 1617f8c | 2019-03-26 17:52:30 +0000 | [diff] [blame] | 174 | // |
| 175 | // Note: ART on-device chroot-based testing and benchmarking is not yet using |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 176 | // the ART APEX, meaning that copies of some of these libraries have to be |
Roland Levillain | 1617f8c | 2019-03-26 17:52:30 +0000 | [diff] [blame] | 177 | // installed in `/system` for the ART Buildbot set-up to work properly. This is |
| 178 | // done by the `standalone-apex-files` Make phony target, used by the ART |
| 179 | // Buildbot and Golem (see `art/Android.mk`). If you add libraries to this list, |
Martin Stjernholm | 84e5bb9 | 2019-09-05 19:56:46 +0100 | [diff] [blame] | 180 | // you may have to also add them to `PRIVATE_ART_APEX_DEPENDENCY_LIBS` in |
Roland Levillain | 1617f8c | 2019-03-26 17:52:30 +0000 | [diff] [blame] | 181 | // `art/Android.mk`. |
| 182 | // TODO(b/121117762): Remove this note when both the ART Buildbot and Golem use |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 183 | // the ART APEX. |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 184 | libcore_native_shared_libs = [ |
Martin Stjernholm | 023c218 | 2019-03-28 15:52:32 +0000 | [diff] [blame] | 185 | // External API (having APEX stubs). |
Pete Bentley | 79f5662 | 2019-03-21 17:09:56 +0000 | [diff] [blame] | 186 | "libandroidio", |
Martin Stjernholm | 023c218 | 2019-03-28 15:52:32 +0000 | [diff] [blame] | 187 | // TODO(b/124476339): Clean up the following libraries once "required" |
| 188 | // dependencies work with APEX libraries. |
Victor Chang | 2f0008a | 2019-01-15 14:10:34 +0000 | [diff] [blame] | 189 | "libexpat", |
Pete Bentley | 51ffdbe | 2019-01-11 15:25:40 +0000 | [diff] [blame] | 190 | "libjavacore", |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 191 | "libopenjdk", |
Martin Stjernholm | 023c218 | 2019-03-28 15:52:32 +0000 | [diff] [blame] | 192 | ] |
| 193 | libcore_debug_native_shared_libs = [ |
| 194 | "libopenjdkd", |
Victor Chang | 2f0008a | 2019-01-15 14:10:34 +0000 | [diff] [blame] | 195 | ] |
| 196 | |
Alex Light | f7f3152 | 2019-02-01 11:14:41 -0800 | [diff] [blame] | 197 | // Temporary library includes for b/123591866 as all libraries are moved into the main art-apex. |
| 198 | art_runtime_libraries_zipapex = [ |
| 199 | "libnativebridge", |
| 200 | "libnativeloader", |
| 201 | "libnativehelper", |
| 202 | "libcutils", |
| 203 | ] |
| 204 | |
Jiyong Park | e961855 | 2019-02-11 10:54:36 +0900 | [diff] [blame] | 205 | android_app_certificate { |
Martin Stjernholm | 6da4569 | 2019-08-15 15:18:53 +0100 | [diff] [blame] | 206 | name: "com.android.art.certificate", |
| 207 | certificate: "com.android.art", |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 208 | } |
| 209 | |
| 210 | apex_key { |
| 211 | name: "com.android.art.key", |
| 212 | public_key: "com.android.art.avbpubkey", |
| 213 | private_key: "com.android.art.pem", |
Jiyong Park | e961855 | 2019-02-11 10:54:36 +0900 | [diff] [blame] | 214 | } |
| 215 | |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 216 | art_module_apex_defaults { |
| 217 | name: "com.android.art-defaults", |
| 218 | |
| 219 | // Enable if SOONG_CONFIG_art_module_source_build is true. |
Martin Stjernholm | 20cadbf | 2020-12-15 02:32:03 +0000 | [diff] [blame] | 220 | enabled: false, |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 221 | soong_config_variables: { |
| 222 | source_build: { |
| 223 | enabled: true, |
| 224 | }, |
| 225 | }, |
| 226 | |
| 227 | target: { |
| 228 | windows: { |
| 229 | // When the Soong config variable above sets enabled:true, it |
| 230 | // overrides the default false for targets, so we need to disable |
| 231 | // windows explicitly. |
| 232 | enabled: false, |
| 233 | }, |
| 234 | }, |
| 235 | } |
| 236 | |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 237 | // Default values shared by device ART APEXes. |
Andreas Gampe | e55ea98 | 2019-02-26 09:11:20 -0800 | [diff] [blame] | 238 | apex_defaults { |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 239 | name: "com.android.art-device-defaults", |
| 240 | defaults: ["com.android.art-defaults"], |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 241 | compile_multilib: "both", |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 242 | manifest: "manifest-art.json", |
Paul Duffin | 4128e5f | 2021-03-29 13:58:11 +0100 | [diff] [blame] | 243 | bootclasspath_fragments: ["art-bootclasspath-fragment"], |
satayev | a40f5cd | 2021-05-20 20:24:35 +0100 | [diff] [blame^] | 244 | systemserverclasspath_fragments: ["art-systemserverclasspath-fragment"], |
Paul Duffin | 3b2629b | 2021-03-19 15:13:21 +0000 | [diff] [blame] | 245 | compat_configs: ["libcore-platform-compat-config"], |
satayev | a40f5cd | 2021-05-20 20:24:35 +0100 | [diff] [blame^] | 246 | java_libs: libcore_java_libs, |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 247 | native_shared_libs: art_runtime_base_native_shared_libs + |
Florian Mayer | 07710c5 | 2019-09-16 15:53:38 +0000 | [diff] [blame] | 248 | art_runtime_base_native_device_only_shared_libs + |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 249 | libcore_native_shared_libs, |
Chris Wailes | e0d677d | 2021-03-03 12:29:08 -0800 | [diff] [blame] | 250 | binaries: [ |
| 251 | "artd", |
| 252 | ], |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 253 | multilib: { |
| 254 | both: { |
Nicolas Geoffray | d68580e | 2020-04-15 16:52:32 +0100 | [diff] [blame] | 255 | binaries: art_runtime_base_binaries_both + |
| 256 | art_runtime_base_binaries_both_on_device_first_on_host, |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 257 | }, |
| 258 | prefer32: { |
Martin Stjernholm | c42db83 | 2020-02-25 16:02:07 +0000 | [diff] [blame] | 259 | binaries: art_runtime_base_binaries_prefer32_on_device_first_on_host, |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 260 | }, |
| 261 | first: { |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 262 | binaries: art_tools_common_binaries + |
| 263 | art_tools_device_only_binaries, |
| 264 | }, |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 265 | }, |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 266 | key: "com.android.art.key", |
Victor Chang | 6461124 | 2019-07-05 16:32:41 +0100 | [diff] [blame] | 267 | required: [ |
Victor Chang | 6461124 | 2019-07-05 16:32:41 +0100 | [diff] [blame] | 268 | "com.android.i18n", |
| 269 | ], |
Kiyoung Kim | 5c2914d | 2020-08-14 14:34:02 +0900 | [diff] [blame] | 270 | prebuilts: [ |
| 271 | "art-linker-config", |
Chris Wailes | e0d677d | 2021-03-03 12:29:08 -0800 | [diff] [blame] | 272 | "com.android.art.artd.init.rc", |
Kiyoung Kim | 5c2914d | 2020-08-14 14:34:02 +0900 | [diff] [blame] | 273 | ], |
Jiyong Park | e3ad70f | 2020-05-25 16:22:42 +0900 | [diff] [blame] | 274 | // ART APEXes depend on bouncycastle which is disabled for PDK builds. |
| 275 | // Since the dependency is disabled, ART APEXes can't be built either. |
| 276 | // Disable the APEXes too. See b/157267166. |
| 277 | product_variables: { |
| 278 | pdk: { |
| 279 | enabled: false, |
| 280 | }, |
| 281 | }, |
Nicolas Geoffray | ec388c0 | 2021-03-03 22:09:06 +0000 | [diff] [blame] | 282 | min_sdk_version: "S", |
Nikita Ioffe | 2d68269 | 2021-04-14 23:44:25 +0100 | [diff] [blame] | 283 | // Indicates that pre-installed version of this apex can be compressed. |
| 284 | // Whether it actually will be compressed is controlled on per-device basis. |
| 285 | compressible: true, |
Andreas Gampe | e55ea98 | 2019-02-26 09:11:20 -0800 | [diff] [blame] | 286 | } |
| 287 | |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 288 | // Default values shared by (device) Debug and Testing ART APEXes. |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 289 | apex_defaults { |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 290 | name: "com.android.art-devel-defaults", |
| 291 | defaults: ["com.android.art-device-defaults"], |
Florian Mayer | 07710c5 | 2019-09-16 15:53:38 +0000 | [diff] [blame] | 292 | native_shared_libs: art_runtime_base_native_device_only_debug_shared_libs + |
Roland Levillain | 4d6f24d | 2019-10-02 16:47:36 +0100 | [diff] [blame] | 293 | art_runtime_run_test_libs + |
Florian Mayer | 07710c5 | 2019-09-16 15:53:38 +0000 | [diff] [blame] | 294 | art_runtime_debug_native_shared_libs + |
Roland Levillain | 89867bf | 2019-06-24 15:09:01 +0100 | [diff] [blame] | 295 | libcore_debug_native_shared_libs, |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 296 | multilib: { |
Roland Levillain | 6dd6212 | 2019-06-18 19:10:21 +0100 | [diff] [blame] | 297 | both: { |
Nicolas Geoffray | d68580e | 2020-04-15 16:52:32 +0100 | [diff] [blame] | 298 | binaries: art_tools_debug_binaries_both + |
| 299 | art_runtime_debug_binaries_both_on_device_first_on_host, |
Roland Levillain | 6dd6212 | 2019-06-18 19:10:21 +0100 | [diff] [blame] | 300 | }, |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 301 | prefer32: { |
Martin Stjernholm | c42db83 | 2020-02-25 16:02:07 +0000 | [diff] [blame] | 302 | binaries: art_runtime_debug_binaries_prefer32_on_device_first_on_host, |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 303 | }, |
| 304 | first: { |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 305 | binaries: art_tools_debug_binaries + |
| 306 | art_tools_debug_device_only_binaries, |
| 307 | }, |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 308 | }, |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 309 | } |
| 310 | |
Martijn Coenen | 26a7596 | 2021-03-29 09:30:48 +0200 | [diff] [blame] | 311 | apex_test { |
| 312 | name: "test_com.android.art", |
| 313 | defaults: ["com.android.art-devel-defaults"], |
| 314 | manifest: "test_apex_manifest.json", |
| 315 | file_contexts: ":com.android.art.debug-file_contexts", |
| 316 | certificate: ":com.android.art.certificate", |
| 317 | installable: false, |
| 318 | } |
| 319 | |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 320 | // Release version of the ART APEX module (not containing debug |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 321 | // variants nor tools), included in user builds. Also used for |
| 322 | // storage-constrained devices in userdebug and eng builds. |
Ulyana Trafimovich | 7a20cbd | 2019-11-08 11:27:31 +0000 | [diff] [blame] | 323 | art_apex { |
Martin Stjernholm | 3e9abfc | 2020-10-09 22:17:51 +0100 | [diff] [blame] | 324 | name: "com.android.art", |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 325 | defaults: ["com.android.art-device-defaults"], |
Martin Stjernholm | 6da4569 | 2019-08-15 15:18:53 +0100 | [diff] [blame] | 326 | certificate: ":com.android.art.certificate", |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 327 | } |
| 328 | |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 329 | // "Debug" version of the ART APEX module (containing both release and |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 330 | // debug variants, as well as additional tools), included in userdebug and |
| 331 | // eng build. |
Ulyana Trafimovich | 7a20cbd | 2019-11-08 11:27:31 +0000 | [diff] [blame] | 332 | art_apex { |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 333 | name: "com.android.art.debug", |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 334 | defaults: ["com.android.art-devel-defaults"], |
Martin Stjernholm | 6da4569 | 2019-08-15 15:18:53 +0100 | [diff] [blame] | 335 | certificate: ":com.android.art.certificate", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 336 | } |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 337 | |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 338 | // ART gtests with dependencies on internal ART APEX libraries. |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 339 | art_gtests = [ |
| 340 | "art_cmdline_tests", |
| 341 | "art_compiler_tests", |
| 342 | "art_dex2oat_tests", |
| 343 | "art_dexanalyze_tests", |
| 344 | "art_dexdiag_tests", |
| 345 | "art_dexdump_tests", |
| 346 | "art_dexlayout_tests", |
| 347 | "art_dexlist_tests", |
| 348 | "art_dexoptanalyzer_tests", |
| 349 | "art_imgdiag_tests", |
| 350 | "art_libartbase_tests", |
| 351 | "art_libartpalette_tests", |
Chris Wailes | bfd622a | 2021-01-13 16:13:41 -0800 | [diff] [blame] | 352 | "art_libartservice_tests", |
| 353 | "art_libarttools_tests", |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 354 | "art_libdexfile_tests", |
| 355 | "art_libdexfile_support_tests", |
| 356 | "art_libprofile_tests", |
| 357 | "art_oatdump_tests", |
Orion Hodson | 4c3ade6 | 2021-02-10 14:07:10 +0000 | [diff] [blame] | 358 | "art_odrefresh_tests", |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 359 | "art_profman_tests", |
| 360 | "art_runtime_compiler_tests", |
| 361 | "art_runtime_tests", |
| 362 | "art_sigchain_tests", |
| 363 | ] |
| 364 | |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 365 | // "Testing" version of the ART APEX module (containing both release |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 366 | // and debug variants, additional tools, and ART gtests), for testing |
| 367 | // purposes only. |
Ulyana Trafimovich | 7a20cbd | 2019-11-08 11:27:31 +0000 | [diff] [blame] | 368 | art_apex_test { |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 369 | name: "com.android.art.testing", |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 370 | defaults: ["com.android.art-devel-defaults"], |
Jooyung Han | 3c03688 | 2019-11-20 17:45:32 +0900 | [diff] [blame] | 371 | file_contexts: ":com.android.art.debug-file_contexts", |
Martin Stjernholm | 6da4569 | 2019-08-15 15:18:53 +0100 | [diff] [blame] | 372 | certificate: ":com.android.art.certificate", |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 373 | tests: art_gtests, |
Andreas Gampe | 816a552 | 2019-09-11 11:29:49 -0700 | [diff] [blame] | 374 | binaries: ["signal_dumper"], // Need signal_dumper for run-tests. |
Mathew Inwood | d2efecc | 2021-02-16 14:43:39 +0000 | [diff] [blame] | 375 | updatable: false, |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 376 | } |
| 377 | |
| 378 | // TODO: Do this better. art_apex_test_host will disable host builds when |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 379 | // HOST_PREFER_32_BIT is set. We cannot simply use com.android.art.debug |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 380 | // because binaries have different multilib classes and 'multilib: {}' isn't |
| 381 | // supported by target: { ... }. |
| 382 | // See b/120617876 for more information. |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 383 | art_apex_test_host { |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 384 | name: "com.android.art.host", |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 385 | defaults: ["com.android.art-defaults"], |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 386 | compile_multilib: "both", |
| 387 | payload_type: "zip", |
| 388 | host_supported: true, |
| 389 | device_supported: false, |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 390 | manifest: "manifest-art.json", |
Mathew Inwood | d2efecc | 2021-02-16 14:43:39 +0000 | [diff] [blame] | 391 | updatable: false, |
satayev | a40f5cd | 2021-05-20 20:24:35 +0100 | [diff] [blame^] | 392 | java_libs: libcore_java_libs, |
Alex Light | 55a9bad | 2019-01-29 18:34:09 -0800 | [diff] [blame] | 393 | ignore_system_library_special_case: true, |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 394 | native_shared_libs: art_runtime_base_native_shared_libs + |
| 395 | art_runtime_debug_native_shared_libs + |
| 396 | libcore_native_shared_libs + |
| 397 | libcore_debug_native_shared_libs + |
| 398 | art_runtime_libraries_zipapex + |
Roland Levillain | 4d6f24d | 2019-10-02 16:47:36 +0100 | [diff] [blame] | 399 | art_runtime_run_test_libs, |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 400 | multilib: { |
| 401 | both: { |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 402 | binaries: art_runtime_base_binaries_both + |
Roland Levillain | 6dd6212 | 2019-06-18 19:10:21 +0100 | [diff] [blame] | 403 | art_tools_debug_binaries_both, |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 404 | }, |
| 405 | first: { |
Martin Stjernholm | c42db83 | 2020-02-25 16:02:07 +0000 | [diff] [blame] | 406 | binaries: art_runtime_base_binaries_prefer32_on_device_first_on_host + |
Nicolas Geoffray | d68580e | 2020-04-15 16:52:32 +0100 | [diff] [blame] | 407 | art_runtime_base_binaries_both_on_device_first_on_host + |
Martin Stjernholm | c42db83 | 2020-02-25 16:02:07 +0000 | [diff] [blame] | 408 | art_runtime_debug_binaries_prefer32_on_device_first_on_host + |
Nicolas Geoffray | d68580e | 2020-04-15 16:52:32 +0100 | [diff] [blame] | 409 | art_runtime_debug_binaries_both_on_device_first_on_host + |
Roland Levillain | ffd067c | 2020-02-20 15:25:31 +0000 | [diff] [blame] | 410 | art_tools_common_binaries + |
| 411 | art_tools_debug_binaries + // Host APEX is always debug. |
| 412 | art_tools_host_only_binaries, |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 413 | }, |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 414 | }, |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 415 | key: "com.android.art.key", |
Alex Light | e352152 | 2018-12-06 22:51:18 -0800 | [diff] [blame] | 416 | target: { |
| 417 | darwin: { |
| 418 | enabled: false, |
| 419 | }, |
Alex Light | 55a9bad | 2019-01-29 18:34:09 -0800 | [diff] [blame] | 420 | linux_bionic: { |
Alex Light | 55a9bad | 2019-01-29 18:34:09 -0800 | [diff] [blame] | 421 | multilib: { |
| 422 | both: { |
| 423 | native_shared_libs: bionic_native_shared_libs, |
| 424 | binaries: bionic_binaries_both, |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 425 | }, |
| 426 | }, |
Alex Light | 55a9bad | 2019-01-29 18:34:09 -0800 | [diff] [blame] | 427 | }, |
Alex Light | e352152 | 2018-12-06 22:51:18 -0800 | [diff] [blame] | 428 | }, |
Jiyong Park | e3ad70f | 2020-05-25 16:22:42 +0900 | [diff] [blame] | 429 | // ART APEXes depend on bouncycastle which is disabled for PDK builds. |
| 430 | // Since the dependency is disabled, ART APEXes can't be built either. |
| 431 | // Disable the APEXes too. See b/157267166. |
| 432 | product_variables: { |
| 433 | pdk: { |
| 434 | enabled: false, |
| 435 | }, |
| 436 | }, |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 437 | } |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 438 | |
| 439 | python_binary_host { |
| 440 | name: "art-apex-tester", |
| 441 | srcs: ["art_apex_test.py"], |
| 442 | main: "art_apex_test.py", |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 443 | } |
| 444 | |
| 445 | // Genrules so we can run the checker, and empty Java library so that it gets executed. |
| 446 | |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 447 | art_check_apex_gen_stem = "$(location art-apex-tester)" + |
| 448 | " --debugfs $(location debugfs)" + |
| 449 | " --tmpdir $(genDir)" |
| 450 | |
| 451 | // The non-flattened APEXes are always checked, as they are always generated |
| 452 | // (even when APEX flattening is enabled). |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 453 | art_module_genrule_defaults { |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 454 | name: "art-check-apex-gen-defaults", |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 455 | |
| 456 | // Enable if SOONG_CONFIG_art_module_source_build is true. |
Martin Stjernholm | 20cadbf | 2020-12-15 02:32:03 +0000 | [diff] [blame] | 457 | enabled: false, |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 458 | soong_config_variables: { |
| 459 | source_build: { |
| 460 | enabled: true, |
| 461 | }, |
| 462 | }, |
| 463 | |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 464 | tools: [ |
| 465 | "art-apex-tester", |
| 466 | "debugfs", |
| 467 | ], |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 468 | } |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 469 | |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 470 | art_module_cc_defaults { |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 471 | name: "art-check-apex-gen-fakebin-defaults", |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 472 | host_supported: true, |
| 473 | device_supported: false, |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 474 | |
| 475 | // Enable if SOONG_CONFIG_art_module_source_build is true. |
Martin Stjernholm | 20cadbf | 2020-12-15 02:32:03 +0000 | [diff] [blame] | 476 | enabled: false, |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 477 | soong_config_variables: { |
| 478 | source_build: { |
| 479 | enabled: true, |
| 480 | }, |
| 481 | }, |
| 482 | |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 483 | target: { |
| 484 | darwin: { |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 485 | enabled: false, // No python3. |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 486 | }, |
| 487 | }, |
| 488 | } |
| 489 | |
| 490 | genrule { |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 491 | name: "art-check-release-apex-gen", |
| 492 | defaults: ["art-check-apex-gen-defaults"], |
Martin Stjernholm | 3e9abfc | 2020-10-09 22:17:51 +0100 | [diff] [blame] | 493 | srcs: [":com.android.art"], |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 494 | cmd: art_check_apex_gen_stem + |
Roland Levillain | d7ea043 | 2019-09-09 16:29:12 +0100 | [diff] [blame] | 495 | " --flavor release" + |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 496 | " $(in)" + |
Martin Stjernholm | 7aa2bfc | 2020-09-29 15:38:40 +0100 | [diff] [blame] | 497 | " && touch $(out)" + |
| 498 | " && chmod a+x $(out)", |
David Srbecky | d3ee902 | 2020-07-27 16:05:38 +0100 | [diff] [blame] | 499 | out: ["art-check-release-apex-gen.unused"], |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 500 | } |
| 501 | |
| 502 | cc_prebuilt_binary { |
| 503 | name: "art-check-release-apex-gen-fakebin", |
| 504 | defaults: ["art-check-apex-gen-fakebin-defaults"], |
| 505 | srcs: [":art-check-release-apex-gen"], |
| 506 | } |
| 507 | |
| 508 | genrule { |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 509 | name: "art-check-debug-apex-gen", |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 510 | defaults: ["art-check-apex-gen-defaults"], |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 511 | srcs: [":com.android.art.debug"], |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 512 | cmd: art_check_apex_gen_stem + |
Roland Levillain | d7ea043 | 2019-09-09 16:29:12 +0100 | [diff] [blame] | 513 | " --flavor debug" + |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 514 | " $(in)" + |
Martin Stjernholm | 7aa2bfc | 2020-09-29 15:38:40 +0100 | [diff] [blame] | 515 | " && touch $(out)" + |
| 516 | " && chmod a+x $(out)", |
David Srbecky | d3ee902 | 2020-07-27 16:05:38 +0100 | [diff] [blame] | 517 | out: ["art-check-debug-apex-gen.unused"], |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 518 | } |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 519 | |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 520 | cc_prebuilt_binary { |
| 521 | name: "art-check-debug-apex-gen-fakebin", |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 522 | defaults: ["art-check-apex-gen-fakebin-defaults"], |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 523 | srcs: [":art-check-debug-apex-gen"], |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 524 | } |
Andreas Gampe | 31782c1 | 2019-02-06 09:47:25 -0800 | [diff] [blame] | 525 | |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 526 | genrule { |
| 527 | name: "art-check-testing-apex-gen", |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 528 | defaults: ["art-check-apex-gen-defaults"], |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 529 | srcs: [":com.android.art.testing"], |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 530 | cmd: art_check_apex_gen_stem + |
Roland Levillain | d7ea043 | 2019-09-09 16:29:12 +0100 | [diff] [blame] | 531 | " --flavor testing" + |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 532 | " $(in)" + |
Martin Stjernholm | 7aa2bfc | 2020-09-29 15:38:40 +0100 | [diff] [blame] | 533 | " && touch $(out)" + |
| 534 | " && chmod a+x $(out)", |
David Srbecky | d3ee902 | 2020-07-27 16:05:38 +0100 | [diff] [blame] | 535 | out: ["art-check-testing-apex-gen.unused"], |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 536 | } |
| 537 | |
| 538 | cc_prebuilt_binary { |
| 539 | name: "art-check-testing-apex-gen-fakebin", |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 540 | defaults: ["art-check-apex-gen-fakebin-defaults"], |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 541 | srcs: [":art-check-testing-apex-gen"], |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 542 | } |
Kiyoung Kim | 5c2914d | 2020-08-14 14:34:02 +0900 | [diff] [blame] | 543 | |
Kiyoung Kim | bd11057 | 2020-10-06 17:45:10 +0900 | [diff] [blame] | 544 | linker_config { |
Kiyoung Kim | 5c2914d | 2020-08-14 14:34:02 +0900 | [diff] [blame] | 545 | name: "art-linker-config", |
Kiyoung Kim | bd11057 | 2020-10-06 17:45:10 +0900 | [diff] [blame] | 546 | src: "linker.config.json", |
Kiyoung Kim | 56e92ec | 2020-09-09 16:55:24 +0900 | [diff] [blame] | 547 | installable: false, |
Kiyoung Kim | 5c2914d | 2020-08-14 14:34:02 +0900 | [diff] [blame] | 548 | } |