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 | 84bf698 | 2019-02-05 15:07:57 +0000 | [diff] [blame] | 53 | "libdexfile_external", |
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 | 356864a | 2019-04-30 16:22:17 +0100 | [diff] [blame] | 107 | "libdexfiled_external", |
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 | |
Chris Wailes | befdad4 | 2021-01-12 16:37:57 -0800 | [diff] [blame] | 173 | // ART Java libraries |
| 174 | art_java_libs = [ |
| 175 | "artservice", |
| 176 | ] |
| 177 | |
Roland Levillain | a0b1903 | 2019-02-08 15:59:56 +0000 | [diff] [blame] | 178 | // Native libraries that support the core Java libraries. |
Roland Levillain | 1617f8c | 2019-03-26 17:52:30 +0000 | [diff] [blame] | 179 | // |
| 180 | // 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] | 181 | // 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] | 182 | // installed in `/system` for the ART Buildbot set-up to work properly. This is |
| 183 | // done by the `standalone-apex-files` Make phony target, used by the ART |
| 184 | // 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] | 185 | // 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] | 186 | // `art/Android.mk`. |
| 187 | // 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] | 188 | // the ART APEX. |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 189 | libcore_native_shared_libs = [ |
Martin Stjernholm | 023c218 | 2019-03-28 15:52:32 +0000 | [diff] [blame] | 190 | // External API (having APEX stubs). |
Pete Bentley | 79f5662 | 2019-03-21 17:09:56 +0000 | [diff] [blame] | 191 | "libandroidio", |
Martin Stjernholm | 023c218 | 2019-03-28 15:52:32 +0000 | [diff] [blame] | 192 | // TODO(b/124476339): Clean up the following libraries once "required" |
| 193 | // dependencies work with APEX libraries. |
Victor Chang | 2f0008a | 2019-01-15 14:10:34 +0000 | [diff] [blame] | 194 | "libexpat", |
Pete Bentley | 51ffdbe | 2019-01-11 15:25:40 +0000 | [diff] [blame] | 195 | "libjavacore", |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 196 | "libopenjdk", |
Martin Stjernholm | 023c218 | 2019-03-28 15:52:32 +0000 | [diff] [blame] | 197 | ] |
| 198 | libcore_debug_native_shared_libs = [ |
| 199 | "libopenjdkd", |
Victor Chang | 2f0008a | 2019-01-15 14:10:34 +0000 | [diff] [blame] | 200 | ] |
| 201 | |
Alex Light | f7f3152 | 2019-02-01 11:14:41 -0800 | [diff] [blame] | 202 | // Temporary library includes for b/123591866 as all libraries are moved into the main art-apex. |
| 203 | art_runtime_libraries_zipapex = [ |
| 204 | "libnativebridge", |
| 205 | "libnativeloader", |
| 206 | "libnativehelper", |
| 207 | "libcutils", |
| 208 | ] |
| 209 | |
Jiyong Park | e961855 | 2019-02-11 10:54:36 +0900 | [diff] [blame] | 210 | android_app_certificate { |
Martin Stjernholm | 6da4569 | 2019-08-15 15:18:53 +0100 | [diff] [blame] | 211 | name: "com.android.art.certificate", |
| 212 | certificate: "com.android.art", |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 213 | } |
| 214 | |
| 215 | apex_key { |
| 216 | name: "com.android.art.key", |
| 217 | public_key: "com.android.art.avbpubkey", |
| 218 | private_key: "com.android.art.pem", |
Jiyong Park | e961855 | 2019-02-11 10:54:36 +0900 | [diff] [blame] | 219 | } |
| 220 | |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 221 | art_module_apex_defaults { |
| 222 | name: "com.android.art-defaults", |
| 223 | |
| 224 | // Enable if SOONG_CONFIG_art_module_source_build is true. |
Martin Stjernholm | 20cadbf | 2020-12-15 02:32:03 +0000 | [diff] [blame] | 225 | enabled: false, |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 226 | soong_config_variables: { |
| 227 | source_build: { |
| 228 | enabled: true, |
| 229 | }, |
| 230 | }, |
| 231 | |
| 232 | target: { |
| 233 | windows: { |
| 234 | // When the Soong config variable above sets enabled:true, it |
| 235 | // overrides the default false for targets, so we need to disable |
| 236 | // windows explicitly. |
| 237 | enabled: false, |
| 238 | }, |
| 239 | }, |
| 240 | } |
| 241 | |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 242 | // Default values shared by device ART APEXes. |
Andreas Gampe | e55ea98 | 2019-02-26 09:11:20 -0800 | [diff] [blame] | 243 | apex_defaults { |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 244 | name: "com.android.art-device-defaults", |
| 245 | defaults: ["com.android.art-defaults"], |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 246 | compile_multilib: "both", |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 247 | manifest: "manifest-art.json", |
Paul Duffin | 21ed6bc | 2021-01-26 13:19:52 +0000 | [diff] [blame] | 248 | boot_images: ["art-boot-image"], |
Paul Duffin | 3b2629b | 2021-03-19 15:13:21 +0000 | [diff] [blame^] | 249 | compat_configs: ["libcore-platform-compat-config"], |
Chris Wailes | befdad4 | 2021-01-12 16:37:57 -0800 | [diff] [blame] | 250 | java_libs: libcore_java_libs + art_java_libs, |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 251 | native_shared_libs: art_runtime_base_native_shared_libs + |
Florian Mayer | 07710c5 | 2019-09-16 15:53:38 +0000 | [diff] [blame] | 252 | art_runtime_base_native_device_only_shared_libs + |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 253 | libcore_native_shared_libs, |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 254 | multilib: { |
| 255 | both: { |
Nicolas Geoffray | d68580e | 2020-04-15 16:52:32 +0100 | [diff] [blame] | 256 | binaries: art_runtime_base_binaries_both + |
| 257 | art_runtime_base_binaries_both_on_device_first_on_host, |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 258 | }, |
| 259 | prefer32: { |
Martin Stjernholm | c42db83 | 2020-02-25 16:02:07 +0000 | [diff] [blame] | 260 | binaries: art_runtime_base_binaries_prefer32_on_device_first_on_host, |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 261 | }, |
| 262 | first: { |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 263 | binaries: art_tools_common_binaries + |
| 264 | art_tools_device_only_binaries, |
| 265 | }, |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 266 | }, |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 267 | key: "com.android.art.key", |
Victor Chang | 6461124 | 2019-07-05 16:32:41 +0100 | [diff] [blame] | 268 | required: [ |
Victor Chang | 6461124 | 2019-07-05 16:32:41 +0100 | [diff] [blame] | 269 | "com.android.i18n", |
| 270 | ], |
Kiyoung Kim | 5c2914d | 2020-08-14 14:34:02 +0900 | [diff] [blame] | 271 | prebuilts: [ |
| 272 | "art-linker-config", |
| 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", |
Andreas Gampe | e55ea98 | 2019-02-26 09:11:20 -0800 | [diff] [blame] | 283 | } |
| 284 | |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 285 | // Default values shared by (device) Debug and Testing ART APEXes. |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 286 | apex_defaults { |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 287 | name: "com.android.art-devel-defaults", |
| 288 | defaults: ["com.android.art-device-defaults"], |
Florian Mayer | 07710c5 | 2019-09-16 15:53:38 +0000 | [diff] [blame] | 289 | native_shared_libs: art_runtime_base_native_device_only_debug_shared_libs + |
Roland Levillain | 4d6f24d | 2019-10-02 16:47:36 +0100 | [diff] [blame] | 290 | art_runtime_run_test_libs + |
Florian Mayer | 07710c5 | 2019-09-16 15:53:38 +0000 | [diff] [blame] | 291 | art_runtime_debug_native_shared_libs + |
Roland Levillain | 89867bf | 2019-06-24 15:09:01 +0100 | [diff] [blame] | 292 | libcore_debug_native_shared_libs, |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 293 | multilib: { |
Roland Levillain | 6dd6212 | 2019-06-18 19:10:21 +0100 | [diff] [blame] | 294 | both: { |
Nicolas Geoffray | d68580e | 2020-04-15 16:52:32 +0100 | [diff] [blame] | 295 | binaries: art_tools_debug_binaries_both + |
| 296 | art_runtime_debug_binaries_both_on_device_first_on_host, |
Roland Levillain | 6dd6212 | 2019-06-18 19:10:21 +0100 | [diff] [blame] | 297 | }, |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 298 | prefer32: { |
Martin Stjernholm | c42db83 | 2020-02-25 16:02:07 +0000 | [diff] [blame] | 299 | binaries: art_runtime_debug_binaries_prefer32_on_device_first_on_host, |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 300 | }, |
| 301 | first: { |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 302 | binaries: art_tools_debug_binaries + |
| 303 | art_tools_debug_device_only_binaries, |
| 304 | }, |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 305 | }, |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 306 | } |
| 307 | |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 308 | // Release version of the ART APEX module (not containing debug |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 309 | // variants nor tools), included in user builds. Also used for |
| 310 | // storage-constrained devices in userdebug and eng builds. |
Ulyana Trafimovich | 7a20cbd | 2019-11-08 11:27:31 +0000 | [diff] [blame] | 311 | art_apex { |
Martin Stjernholm | 3e9abfc | 2020-10-09 22:17:51 +0100 | [diff] [blame] | 312 | name: "com.android.art", |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 313 | defaults: ["com.android.art-device-defaults"], |
Martin Stjernholm | 6da4569 | 2019-08-15 15:18:53 +0100 | [diff] [blame] | 314 | certificate: ":com.android.art.certificate", |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 315 | } |
| 316 | |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 317 | // "Debug" version of the ART APEX module (containing both release and |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 318 | // debug variants, as well as additional tools), included in userdebug and |
| 319 | // eng build. |
Ulyana Trafimovich | 7a20cbd | 2019-11-08 11:27:31 +0000 | [diff] [blame] | 320 | art_apex { |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 321 | name: "com.android.art.debug", |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 322 | defaults: ["com.android.art-devel-defaults"], |
Martin Stjernholm | 6da4569 | 2019-08-15 15:18:53 +0100 | [diff] [blame] | 323 | certificate: ":com.android.art.certificate", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 324 | } |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 325 | |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 326 | // ART gtests with dependencies on internal ART APEX libraries. |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 327 | art_gtests = [ |
| 328 | "art_cmdline_tests", |
| 329 | "art_compiler_tests", |
| 330 | "art_dex2oat_tests", |
| 331 | "art_dexanalyze_tests", |
| 332 | "art_dexdiag_tests", |
| 333 | "art_dexdump_tests", |
| 334 | "art_dexlayout_tests", |
| 335 | "art_dexlist_tests", |
| 336 | "art_dexoptanalyzer_tests", |
| 337 | "art_imgdiag_tests", |
| 338 | "art_libartbase_tests", |
| 339 | "art_libartpalette_tests", |
Chris Wailes | bfd622a | 2021-01-13 16:13:41 -0800 | [diff] [blame] | 340 | "art_libartservice_tests", |
| 341 | "art_libarttools_tests", |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 342 | "art_libdexfile_tests", |
| 343 | "art_libdexfile_support_tests", |
| 344 | "art_libprofile_tests", |
| 345 | "art_oatdump_tests", |
Orion Hodson | 4c3ade6 | 2021-02-10 14:07:10 +0000 | [diff] [blame] | 346 | "art_odrefresh_tests", |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 347 | "art_profman_tests", |
| 348 | "art_runtime_compiler_tests", |
| 349 | "art_runtime_tests", |
| 350 | "art_sigchain_tests", |
| 351 | ] |
| 352 | |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 353 | // "Testing" version of the ART APEX module (containing both release |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 354 | // and debug variants, additional tools, and ART gtests), for testing |
| 355 | // purposes only. |
Ulyana Trafimovich | 7a20cbd | 2019-11-08 11:27:31 +0000 | [diff] [blame] | 356 | art_apex_test { |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 357 | name: "com.android.art.testing", |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 358 | defaults: ["com.android.art-devel-defaults"], |
Jooyung Han | 3c03688 | 2019-11-20 17:45:32 +0900 | [diff] [blame] | 359 | file_contexts: ":com.android.art.debug-file_contexts", |
Martin Stjernholm | 6da4569 | 2019-08-15 15:18:53 +0100 | [diff] [blame] | 360 | certificate: ":com.android.art.certificate", |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 361 | tests: art_gtests, |
Andreas Gampe | 816a552 | 2019-09-11 11:29:49 -0700 | [diff] [blame] | 362 | binaries: ["signal_dumper"], // Need signal_dumper for run-tests. |
Mathew Inwood | d2efecc | 2021-02-16 14:43:39 +0000 | [diff] [blame] | 363 | updatable: false, |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 364 | } |
| 365 | |
| 366 | // 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] | 367 | // 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] | 368 | // because binaries have different multilib classes and 'multilib: {}' isn't |
| 369 | // supported by target: { ... }. |
| 370 | // See b/120617876 for more information. |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 371 | art_apex_test_host { |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 372 | name: "com.android.art.host", |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 373 | defaults: ["com.android.art-defaults"], |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 374 | compile_multilib: "both", |
| 375 | payload_type: "zip", |
| 376 | host_supported: true, |
| 377 | device_supported: false, |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 378 | manifest: "manifest-art.json", |
Mathew Inwood | d2efecc | 2021-02-16 14:43:39 +0000 | [diff] [blame] | 379 | updatable: false, |
Chris Wailes | befdad4 | 2021-01-12 16:37:57 -0800 | [diff] [blame] | 380 | java_libs: libcore_java_libs + art_java_libs, |
Alex Light | 55a9bad | 2019-01-29 18:34:09 -0800 | [diff] [blame] | 381 | ignore_system_library_special_case: true, |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 382 | native_shared_libs: art_runtime_base_native_shared_libs + |
| 383 | art_runtime_debug_native_shared_libs + |
| 384 | libcore_native_shared_libs + |
| 385 | libcore_debug_native_shared_libs + |
| 386 | art_runtime_libraries_zipapex + |
Roland Levillain | 4d6f24d | 2019-10-02 16:47:36 +0100 | [diff] [blame] | 387 | art_runtime_run_test_libs, |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 388 | multilib: { |
| 389 | both: { |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 390 | binaries: art_runtime_base_binaries_both + |
Roland Levillain | 6dd6212 | 2019-06-18 19:10:21 +0100 | [diff] [blame] | 391 | art_tools_debug_binaries_both, |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 392 | }, |
| 393 | first: { |
Martin Stjernholm | c42db83 | 2020-02-25 16:02:07 +0000 | [diff] [blame] | 394 | binaries: art_runtime_base_binaries_prefer32_on_device_first_on_host + |
Nicolas Geoffray | d68580e | 2020-04-15 16:52:32 +0100 | [diff] [blame] | 395 | art_runtime_base_binaries_both_on_device_first_on_host + |
Martin Stjernholm | c42db83 | 2020-02-25 16:02:07 +0000 | [diff] [blame] | 396 | art_runtime_debug_binaries_prefer32_on_device_first_on_host + |
Nicolas Geoffray | d68580e | 2020-04-15 16:52:32 +0100 | [diff] [blame] | 397 | art_runtime_debug_binaries_both_on_device_first_on_host + |
Roland Levillain | ffd067c | 2020-02-20 15:25:31 +0000 | [diff] [blame] | 398 | art_tools_common_binaries + |
| 399 | art_tools_debug_binaries + // Host APEX is always debug. |
| 400 | art_tools_host_only_binaries, |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 401 | }, |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 402 | }, |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 403 | key: "com.android.art.key", |
Alex Light | e352152 | 2018-12-06 22:51:18 -0800 | [diff] [blame] | 404 | target: { |
| 405 | darwin: { |
| 406 | enabled: false, |
| 407 | }, |
Alex Light | 55a9bad | 2019-01-29 18:34:09 -0800 | [diff] [blame] | 408 | linux_bionic: { |
Alex Light | 55a9bad | 2019-01-29 18:34:09 -0800 | [diff] [blame] | 409 | multilib: { |
| 410 | both: { |
| 411 | native_shared_libs: bionic_native_shared_libs, |
| 412 | binaries: bionic_binaries_both, |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 413 | }, |
| 414 | }, |
Alex Light | 55a9bad | 2019-01-29 18:34:09 -0800 | [diff] [blame] | 415 | }, |
Alex Light | e352152 | 2018-12-06 22:51:18 -0800 | [diff] [blame] | 416 | }, |
Jiyong Park | e3ad70f | 2020-05-25 16:22:42 +0900 | [diff] [blame] | 417 | // ART APEXes depend on bouncycastle which is disabled for PDK builds. |
| 418 | // Since the dependency is disabled, ART APEXes can't be built either. |
| 419 | // Disable the APEXes too. See b/157267166. |
| 420 | product_variables: { |
| 421 | pdk: { |
| 422 | enabled: false, |
| 423 | }, |
| 424 | }, |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 425 | } |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 426 | |
| 427 | python_binary_host { |
| 428 | name: "art-apex-tester", |
| 429 | srcs: ["art_apex_test.py"], |
| 430 | main: "art_apex_test.py", |
| 431 | version: { |
| 432 | py2: { |
Roland Levillain | 29e740f | 2019-08-20 15:31:37 +0100 | [diff] [blame] | 433 | enabled: true, |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 434 | }, |
| 435 | py3: { |
Roland Levillain | 29e740f | 2019-08-20 15:31:37 +0100 | [diff] [blame] | 436 | enabled: false, |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 437 | }, |
| 438 | }, |
| 439 | } |
| 440 | |
| 441 | // Genrules so we can run the checker, and empty Java library so that it gets executed. |
| 442 | |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 443 | art_check_apex_gen_stem = "$(location art-apex-tester)" + |
| 444 | " --debugfs $(location debugfs)" + |
| 445 | " --tmpdir $(genDir)" |
| 446 | |
| 447 | // The non-flattened APEXes are always checked, as they are always generated |
| 448 | // (even when APEX flattening is enabled). |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 449 | art_module_genrule_defaults { |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 450 | name: "art-check-apex-gen-defaults", |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 451 | |
| 452 | // Enable if SOONG_CONFIG_art_module_source_build is true. |
Martin Stjernholm | 20cadbf | 2020-12-15 02:32:03 +0000 | [diff] [blame] | 453 | enabled: false, |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 454 | soong_config_variables: { |
| 455 | source_build: { |
| 456 | enabled: true, |
| 457 | }, |
| 458 | }, |
| 459 | |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 460 | tools: [ |
| 461 | "art-apex-tester", |
| 462 | "debugfs", |
| 463 | ], |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 464 | } |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 465 | |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 466 | art_module_cc_defaults { |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 467 | name: "art-check-apex-gen-fakebin-defaults", |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 468 | host_supported: true, |
| 469 | device_supported: false, |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 470 | |
| 471 | // Enable if SOONG_CONFIG_art_module_source_build is true. |
Martin Stjernholm | 20cadbf | 2020-12-15 02:32:03 +0000 | [diff] [blame] | 472 | enabled: false, |
Martin Stjernholm | 10bb9c5 | 2020-12-01 22:53:51 +0000 | [diff] [blame] | 473 | soong_config_variables: { |
| 474 | source_build: { |
| 475 | enabled: true, |
| 476 | }, |
| 477 | }, |
| 478 | |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 479 | target: { |
| 480 | darwin: { |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 481 | enabled: false, // No python3. |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 482 | }, |
| 483 | }, |
| 484 | } |
| 485 | |
| 486 | genrule { |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 487 | name: "art-check-release-apex-gen", |
| 488 | defaults: ["art-check-apex-gen-defaults"], |
Martin Stjernholm | 3e9abfc | 2020-10-09 22:17:51 +0100 | [diff] [blame] | 489 | srcs: [":com.android.art"], |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 490 | cmd: art_check_apex_gen_stem + |
Roland Levillain | d7ea043 | 2019-09-09 16:29:12 +0100 | [diff] [blame] | 491 | " --flavor release" + |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 492 | " $(in)" + |
Martin Stjernholm | 7aa2bfc | 2020-09-29 15:38:40 +0100 | [diff] [blame] | 493 | " && touch $(out)" + |
| 494 | " && chmod a+x $(out)", |
David Srbecky | d3ee902 | 2020-07-27 16:05:38 +0100 | [diff] [blame] | 495 | out: ["art-check-release-apex-gen.unused"], |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 496 | } |
| 497 | |
| 498 | cc_prebuilt_binary { |
| 499 | name: "art-check-release-apex-gen-fakebin", |
| 500 | defaults: ["art-check-apex-gen-fakebin-defaults"], |
| 501 | srcs: [":art-check-release-apex-gen"], |
| 502 | } |
| 503 | |
| 504 | genrule { |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 505 | name: "art-check-debug-apex-gen", |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 506 | defaults: ["art-check-apex-gen-defaults"], |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 507 | srcs: [":com.android.art.debug"], |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 508 | cmd: art_check_apex_gen_stem + |
Roland Levillain | d7ea043 | 2019-09-09 16:29:12 +0100 | [diff] [blame] | 509 | " --flavor debug" + |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 510 | " $(in)" + |
Martin Stjernholm | 7aa2bfc | 2020-09-29 15:38:40 +0100 | [diff] [blame] | 511 | " && touch $(out)" + |
| 512 | " && chmod a+x $(out)", |
David Srbecky | d3ee902 | 2020-07-27 16:05:38 +0100 | [diff] [blame] | 513 | out: ["art-check-debug-apex-gen.unused"], |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 514 | } |
Andreas Gampe | 0dc93b1 | 2019-05-15 10:30:22 -0700 | [diff] [blame] | 515 | |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 516 | cc_prebuilt_binary { |
| 517 | name: "art-check-debug-apex-gen-fakebin", |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 518 | defaults: ["art-check-apex-gen-fakebin-defaults"], |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 519 | srcs: [":art-check-debug-apex-gen"], |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 520 | } |
Andreas Gampe | 31782c1 | 2019-02-06 09:47:25 -0800 | [diff] [blame] | 521 | |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 522 | genrule { |
| 523 | name: "art-check-testing-apex-gen", |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 524 | defaults: ["art-check-apex-gen-defaults"], |
Martin Stjernholm | fb3a94b | 2019-07-05 22:27:36 +0100 | [diff] [blame] | 525 | srcs: [":com.android.art.testing"], |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 526 | cmd: art_check_apex_gen_stem + |
Roland Levillain | d7ea043 | 2019-09-09 16:29:12 +0100 | [diff] [blame] | 527 | " --flavor testing" + |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 528 | " $(in)" + |
Martin Stjernholm | 7aa2bfc | 2020-09-29 15:38:40 +0100 | [diff] [blame] | 529 | " && touch $(out)" + |
| 530 | " && chmod a+x $(out)", |
David Srbecky | d3ee902 | 2020-07-27 16:05:38 +0100 | [diff] [blame] | 531 | out: ["art-check-testing-apex-gen.unused"], |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 532 | } |
| 533 | |
| 534 | cc_prebuilt_binary { |
| 535 | name: "art-check-testing-apex-gen-fakebin", |
Roland Levillain | d4fc62c | 2019-08-12 19:47:51 +0100 | [diff] [blame] | 536 | defaults: ["art-check-apex-gen-fakebin-defaults"], |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 537 | srcs: [":art-check-testing-apex-gen"], |
Roland Levillain | 61f0716 | 2019-06-26 12:44:04 +0100 | [diff] [blame] | 538 | } |
Kiyoung Kim | 5c2914d | 2020-08-14 14:34:02 +0900 | [diff] [blame] | 539 | |
Kiyoung Kim | bd11057 | 2020-10-06 17:45:10 +0900 | [diff] [blame] | 540 | linker_config { |
Kiyoung Kim | 5c2914d | 2020-08-14 14:34:02 +0900 | [diff] [blame] | 541 | name: "art-linker-config", |
Kiyoung Kim | bd11057 | 2020-10-06 17:45:10 +0900 | [diff] [blame] | 542 | src: "linker.config.json", |
Kiyoung Kim | 56e92ec | 2020-09-09 16:55:24 +0900 | [diff] [blame] | 543 | installable: false, |
Kiyoung Kim | 5c2914d | 2020-08-14 14:34:02 +0900 | [diff] [blame] | 544 | } |