Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 1 | // Android Runtime APEX module. |
| 2 | |
| 3 | // Modules listed in LOCAL_REQUIRED_MODULES for module art-runtime in art/Android.mk. |
| 4 | // - Base requirements (binaries for which both 32- and 64-bit versions are built, if relevant). |
| 5 | art_runtime_base_binaries_both = [ |
| 6 | "dalvikvm", |
| 7 | ] |
| 8 | // - Base requirements (binaries for which a 32-bit version is preferred). |
| 9 | art_runtime_base_binaries_prefer32 = [ |
| 10 | "dex2oat", |
| 11 | "dexoptanalyzer", |
| 12 | "profman", |
| 13 | ] |
| 14 | // - Base requirements (libraries). |
| 15 | art_runtime_base_native_shared_libs = [ |
Martin Stjernholm | c2f8b50 | 2019-01-17 14:51:35 +0000 | [diff] [blame] | 16 | "libadbconnection", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 17 | "libart", |
| 18 | "libart-compiler", |
Martin Stjernholm | 84bf698 | 2019-02-05 15:07:57 +0000 | [diff] [blame] | 19 | "libdexfile_external", |
Martin Stjernholm | c2f8b50 | 2019-01-17 14:51:35 +0000 | [diff] [blame] | 20 | "libnativebridge", |
| 21 | "libnativehelper", |
| 22 | "libnativeloader", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 23 | "libopenjdkjvm", |
| 24 | "libopenjdkjvmti", |
Martin Stjernholm | 0c15b82 | 2019-02-14 17:24:19 +0000 | [diff] [blame] | 25 | // TODO(b/124439236): Clean up the following libraries once "required" |
| 26 | // dependencies work with APEX libraries. |
| 27 | "libdt_fd_forward", |
| 28 | "libdt_socket", |
| 29 | "libjdwp", |
| 30 | "libnpt", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 31 | ] |
Jiyong Park | 3296fb1 | 2018-12-13 18:32:21 +0900 | [diff] [blame] | 32 | bionic_native_shared_libs = [ |
| 33 | "libc", |
| 34 | "libm", |
| 35 | "libdl", |
| 36 | ] |
Jiyong Park | e2bc9fe | 2018-12-26 11:36:39 +0900 | [diff] [blame] | 37 | bionic_binaries_both = [ |
| 38 | "linker", |
| 39 | ] |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 40 | // - Debug variants (binaries for which a 32-bit version is preferred). |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 41 | art_runtime_debug_binaries_prefer32 = [ |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 42 | "dexoptanalyzerd", |
| 43 | "profmand", |
| 44 | ] |
Alex Light | 572a096 | 2019-01-18 14:48:37 -0800 | [diff] [blame] | 45 | art_runtime_debug_binaries_prefer32_device = [ |
| 46 | "dex2oatd", |
| 47 | ] |
| 48 | art_runtime_debug_binaries_both_host = [ |
| 49 | "dex2oatd", |
| 50 | ] |
| 51 | |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 52 | // - Debug variants (libraries). |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 53 | art_runtime_debug_native_shared_libs = [ |
Martin Stjernholm | c2f8b50 | 2019-01-17 14:51:35 +0000 | [diff] [blame] | 54 | "libadbconnectiond", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 55 | "libartd", |
| 56 | "libartd-compiler", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 57 | "libopenjdkjvmd", |
| 58 | "libopenjdkjvmtid", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 59 | ] |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 60 | libcore_debug_native_shared_libs = [ |
| 61 | "libopenjdkd", |
| 62 | ] |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 63 | |
Neil Fuller | 5ab4a56 | 2018-12-11 20:33:46 +0000 | [diff] [blame] | 64 | // Data files associated with bionic / managed core library APIs. |
| 65 | art_runtime_data_file_prebuilts = [ |
Neil Fuller | a886dab | 2018-12-06 15:12:52 +0000 | [diff] [blame] | 66 | "apex_tz_version", |
| 67 | "apex_tzdata", |
| 68 | "apex_tzlookup.xml", |
Neil Fuller | 5ab4a56 | 2018-12-11 20:33:46 +0000 | [diff] [blame] | 69 | "apex_icu.dat", |
Neil Fuller | a886dab | 2018-12-06 15:12:52 +0000 | [diff] [blame] | 70 | ] |
| 71 | |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 72 | // Modules listed in LOCAL_REQUIRED_MODULES for module art-tools in art/Android.mk. |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 73 | art_tools_common_binaries = [ |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 74 | "dexdiag", |
| 75 | "dexdump", |
| 76 | "dexlist", |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 77 | ] |
| 78 | |
Roland Levillain | e9f0ccc | 2019-01-07 16:45:58 +0000 | [diff] [blame] | 79 | // Device-only modules listed in LOCAL_REQUIRED_MODULES for module art-tools in art/Android.mk. |
| 80 | art_tools_device_only_binaries = [ |
| 81 | // oatdump cannot link with host linux_bionic due to not using clang lld; |
| 82 | // TODO: Make it work with clang lld. |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 83 | "oatdump", |
| 84 | ] |
Roland Levillain | 02998cf | 2019-03-21 14:27:02 +0000 | [diff] [blame] | 85 | // Same, but for only for debug packages. |
| 86 | art_tools_debug_device_only_binaries = [ |
| 87 | // oatdumpd cannot link with host linux_bionic due to not using clang lld; |
| 88 | // TODO: Make it work with clang lld. |
| 89 | "oatdumpd", |
| 90 | ] |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 91 | |
| 92 | // Host-only modules listed in LOCAL_REQUIRED_MODULES for module art-tools in art/Android.mk. |
Roland Levillain | e9f0ccc | 2019-01-07 16:45:58 +0000 | [diff] [blame] | 93 | art_tools_host_only_binaries = [ |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 94 | // FIXME: Does not work as-is, because `ahat` is defined in tools/ahat/Android.mk |
| 95 | // (same issue as for `libart_fake` above). |
| 96 | //"ahat", |
| 97 | "hprof-conv", |
| 98 | // ... |
| 99 | ] |
| 100 | |
Roland Levillain | e9f0ccc | 2019-01-07 16:45:58 +0000 | [diff] [blame] | 101 | art_tools_device_binaries = art_tools_common_binaries + art_tools_device_only_binaries |
| 102 | art_tools_host_binaries = art_tools_common_binaries + art_tools_host_only_binaries |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 103 | |
Alex Light | 6585ecb | 2019-02-08 14:13:22 -0800 | [diff] [blame] | 104 | // Libraries needed to use com.android.runtime.host for zipapex run-tests |
| 105 | art_runtime_host_run_test_libs = [ |
| 106 | "libartd-disassembler" |
| 107 | ] |
| 108 | |
Roland Levillain | a0b1903 | 2019-02-08 15:59:56 +0000 | [diff] [blame] | 109 | // Core Java libraries. |
| 110 | libcore_java_libs = [ |
| 111 | "core-oj", |
| 112 | "core-libart", |
| 113 | "okhttp", |
| 114 | "bouncycastle", |
| 115 | "apache-xml", |
| 116 | ] |
| 117 | |
| 118 | // Native libraries that support the core Java libraries. |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 119 | libcore_native_shared_libs = [ |
Victor Chang | 2f0008a | 2019-01-15 14:10:34 +0000 | [diff] [blame] | 120 | "libandroidicu", |
Pete Bentley | 79f5662 | 2019-03-21 17:09:56 +0000 | [diff] [blame^] | 121 | "libandroidio", |
Victor Chang | 2f0008a | 2019-01-15 14:10:34 +0000 | [diff] [blame] | 122 | "libexpat", |
| 123 | "libicui18n", |
| 124 | "libicuuc", |
Pete Bentley | 51ffdbe | 2019-01-11 15:25:40 +0000 | [diff] [blame] | 125 | "libjavacore", |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 126 | "libopenjdk", |
Pete Bentley | 51ffdbe | 2019-01-11 15:25:40 +0000 | [diff] [blame] | 127 | "libz", |
Victor Chang | 2f0008a | 2019-01-15 14:10:34 +0000 | [diff] [blame] | 128 | "libziparchive", |
| 129 | ] |
| 130 | |
| 131 | libcore_native_device_only_shared_libs = libcore_native_shared_libs + [ |
| 132 | // TODO(b/122876336): Remove libpac.so once it's migrated to Webview. |
| 133 | // libpac is used by frameworks, not by ART host. |
| 134 | "libpac", |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 135 | ] |
| 136 | |
Alex Light | f7f3152 | 2019-02-01 11:14:41 -0800 | [diff] [blame] | 137 | // Temporary library includes for b/123591866 as all libraries are moved into the main art-apex. |
| 138 | art_runtime_libraries_zipapex = [ |
| 139 | "libnativebridge", |
| 140 | "libnativeloader", |
| 141 | "libnativehelper", |
| 142 | "libcutils", |
| 143 | ] |
| 144 | |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 145 | apex_key { |
| 146 | name: "com.android.runtime.key", |
Jiyong Park | 11a2df3 | 2018-11-22 16:25:08 +0900 | [diff] [blame] | 147 | public_key: "com.android.runtime.avbpubkey", |
| 148 | private_key: "com.android.runtime.pem", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 149 | } |
| 150 | |
Jiyong Park | e961855 | 2019-02-11 10:54:36 +0900 | [diff] [blame] | 151 | android_app_certificate { |
| 152 | name: "com.android.runtime.debug.certificate", |
| 153 | certificate: "com.android.runtime.debug", |
| 154 | } |
| 155 | |
| 156 | android_app_certificate { |
| 157 | name: "com.android.runtime.release.certificate", |
| 158 | certificate: "com.android.runtime.release", |
| 159 | } |
| 160 | |
Roland Levillain | 3be7afe | 2018-12-04 19:35:03 +0000 | [diff] [blame] | 161 | prebuilt_etc { |
| 162 | name: "com.android.runtime.ld.config.txt", |
| 163 | src: "ld.config.txt", |
| 164 | filename: "ld.config.txt", |
| 165 | installable: false, |
| 166 | } |
| 167 | |
Andreas Gampe | e55ea98 | 2019-02-26 09:11:20 -0800 | [diff] [blame] | 168 | apex_defaults { |
| 169 | name: "com.android.runtime-defaults", |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 170 | compile_multilib: "both", |
| 171 | manifest: "manifest.json", |
Roland Levillain | a0b1903 | 2019-02-08 15:59:56 +0000 | [diff] [blame] | 172 | java_libs: libcore_java_libs, |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 173 | native_shared_libs: art_runtime_base_native_shared_libs |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 174 | + bionic_native_shared_libs |
Victor Chang | 2f0008a | 2019-01-15 14:10:34 +0000 | [diff] [blame] | 175 | + libcore_native_device_only_shared_libs, |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 176 | multilib: { |
| 177 | both: { |
Jiyong Park | e2bc9fe | 2018-12-26 11:36:39 +0900 | [diff] [blame] | 178 | binaries: art_runtime_base_binaries_both |
| 179 | + bionic_binaries_both, |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 180 | }, |
| 181 | prefer32: { |
| 182 | binaries: art_runtime_base_binaries_prefer32, |
| 183 | }, |
| 184 | first: { |
Roland Levillain | 02998cf | 2019-03-21 14:27:02 +0000 | [diff] [blame] | 185 | binaries: art_tools_device_binaries, |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 186 | } |
| 187 | }, |
Andreas Gampe | 31782c1 | 2019-02-06 09:47:25 -0800 | [diff] [blame] | 188 | binaries: [ |
Andreas Gampe | 5bb525a | 2019-02-19 12:26:35 -0800 | [diff] [blame] | 189 | "art_postinstall_hook", |
Andreas Gampe | 31782c1 | 2019-02-06 09:47:25 -0800 | [diff] [blame] | 190 | "art_preinstall_hook", |
| 191 | "art_preinstall_hook_boot", |
Andreas Gampe | 29c111e | 2019-02-28 13:58:07 -0800 | [diff] [blame] | 192 | "art_preinstall_hook_system_server", |
Andreas Gampe | 31782c1 | 2019-02-06 09:47:25 -0800 | [diff] [blame] | 193 | "art_prepostinstall_utils", |
| 194 | ], |
Neil Fuller | 5ab4a56 | 2018-12-11 20:33:46 +0000 | [diff] [blame] | 195 | prebuilts: art_runtime_data_file_prebuilts |
Neil Fuller | a886dab | 2018-12-06 15:12:52 +0000 | [diff] [blame] | 196 | + ["com.android.runtime.ld.config.txt"], |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 197 | key: "com.android.runtime.key", |
Andreas Gampe | 5797568 | 2019-03-04 09:27:11 -0800 | [diff] [blame] | 198 | required: ["art_apex_boot_integrity"], |
Andreas Gampe | e55ea98 | 2019-02-26 09:11:20 -0800 | [diff] [blame] | 199 | } |
| 200 | |
| 201 | // Release version of the Runtime APEX module (not containing debug |
| 202 | // variants nor tools), included in user builds. Also used for |
| 203 | // storage-constrained devices in userdebug and eng builds. |
| 204 | apex { |
| 205 | name: "com.android.runtime.release", |
| 206 | defaults: ["com.android.runtime-defaults"], |
Jiyong Park | e961855 | 2019-02-11 10:54:36 +0900 | [diff] [blame] | 207 | certificate: ":com.android.runtime.release.certificate", |
Roland Levillain | 5305880 | 2018-11-14 17:32:18 +0000 | [diff] [blame] | 208 | } |
| 209 | |
| 210 | // "Debug" version of the Runtime APEX module (containing both release and |
| 211 | // debug variants, as well as additional tools), included in userdebug and |
| 212 | // eng build. |
| 213 | apex { |
| 214 | name: "com.android.runtime.debug", |
Andreas Gampe | e55ea98 | 2019-02-26 09:11:20 -0800 | [diff] [blame] | 215 | defaults: ["com.android.runtime-defaults"], |
| 216 | native_shared_libs: art_runtime_debug_native_shared_libs |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 217 | + libcore_debug_native_shared_libs, |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 218 | multilib: { |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 219 | prefer32: { |
Andreas Gampe | e55ea98 | 2019-02-26 09:11:20 -0800 | [diff] [blame] | 220 | binaries: art_runtime_debug_binaries_prefer32 |
Alex Light | 572a096 | 2019-01-18 14:48:37 -0800 | [diff] [blame] | 221 | + art_runtime_debug_binaries_prefer32_device, |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 222 | }, |
| 223 | first: { |
Roland Levillain | 02998cf | 2019-03-21 14:27:02 +0000 | [diff] [blame] | 224 | binaries: art_tools_debug_device_only_binaries, |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 225 | } |
| 226 | }, |
Jiyong Park | e961855 | 2019-02-11 10:54:36 +0900 | [diff] [blame] | 227 | certificate: ":com.android.runtime.debug.certificate", |
Roland Levillain | 38a938e | 2018-09-21 10:55:51 +0100 | [diff] [blame] | 228 | } |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 229 | |
| 230 | // TODO: Do this better. art_apex will disable host builds when |
| 231 | // HOST_PREFER_32_BIT is set. We cannot simply use com.android.runtime.debug |
| 232 | // because binaries have different multilib classes and 'multilib: {}' isn't |
| 233 | // supported by target: { ... }. |
| 234 | // See b/120617876 for more information. |
Alex Light | 0239f2f | 2019-02-07 13:38:50 -0800 | [diff] [blame] | 235 | art_apex_test { |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 236 | name: "com.android.runtime.host", |
| 237 | compile_multilib: "both", |
| 238 | payload_type: "zip", |
| 239 | host_supported: true, |
| 240 | device_supported: false, |
| 241 | manifest: "manifest.json", |
Roland Levillain | a0b1903 | 2019-02-08 15:59:56 +0000 | [diff] [blame] | 242 | java_libs: libcore_java_libs, |
Alex Light | 55a9bad | 2019-01-29 18:34:09 -0800 | [diff] [blame] | 243 | ignore_system_library_special_case: true, |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 244 | native_shared_libs: art_runtime_base_native_shared_libs |
Roland Levillain | cb82d09 | 2018-11-02 18:50:15 +0000 | [diff] [blame] | 245 | + art_runtime_debug_native_shared_libs |
| 246 | + libcore_native_shared_libs |
Alex Light | f7f3152 | 2019-02-01 11:14:41 -0800 | [diff] [blame] | 247 | + libcore_debug_native_shared_libs |
Alex Light | 6585ecb | 2019-02-08 14:13:22 -0800 | [diff] [blame] | 248 | + art_runtime_libraries_zipapex |
| 249 | + art_runtime_host_run_test_libs, |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 250 | multilib: { |
| 251 | both: { |
Alex Light | 572a096 | 2019-01-18 14:48:37 -0800 | [diff] [blame] | 252 | binaries: art_runtime_base_binaries_both |
| 253 | + art_runtime_debug_binaries_both_host, |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 254 | }, |
| 255 | first: { |
Roland Levillain | e9f0ccc | 2019-01-07 16:45:58 +0000 | [diff] [blame] | 256 | binaries: art_tools_host_binaries |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 257 | + art_runtime_base_binaries_prefer32 |
| 258 | + art_runtime_debug_binaries_prefer32, |
| 259 | } |
| 260 | }, |
| 261 | key: "com.android.runtime.key", |
Alex Light | e352152 | 2018-12-06 22:51:18 -0800 | [diff] [blame] | 262 | target: { |
| 263 | darwin: { |
| 264 | enabled: false, |
| 265 | }, |
Alex Light | 55a9bad | 2019-01-29 18:34:09 -0800 | [diff] [blame] | 266 | linux_bionic: { |
| 267 | enabled: true, |
| 268 | multilib: { |
| 269 | both: { |
| 270 | native_shared_libs: bionic_native_shared_libs, |
| 271 | binaries: bionic_binaries_both, |
| 272 | } |
| 273 | } |
| 274 | }, |
Alex Light | e352152 | 2018-12-06 22:51:18 -0800 | [diff] [blame] | 275 | }, |
Alex Light | da948ce | 2018-12-06 17:05:41 +0000 | [diff] [blame] | 276 | } |
Jiyong Park | 1410e9f | 2019-02-02 04:18:23 +0000 | [diff] [blame] | 277 | |
| 278 | python_binary_host { |
| 279 | name: "art-apex-tester", |
| 280 | srcs: ["art_apex_test.py"], |
| 281 | main: "art_apex_test.py", |
| 282 | version: { |
| 283 | py2: { |
| 284 | enabled: false, |
| 285 | }, |
| 286 | py3: { |
| 287 | enabled: true, |
| 288 | }, |
| 289 | }, |
| 290 | } |
| 291 | |
| 292 | // Genrules so we can run the checker, and empty Java library so that it gets executed. |
| 293 | |
| 294 | genrule { |
| 295 | name: "art-check-release-apex-gen", |
| 296 | srcs: [":com.android.runtime.release"], |
| 297 | tools: [ |
| 298 | "art-apex-tester", |
| 299 | "debugfs", |
| 300 | ], |
| 301 | cmd: "$(location art-apex-tester)" |
| 302 | + " --debugfs $(location debugfs)" |
| 303 | + " --tmpdir $(genDir)" |
| 304 | + " $(in)" |
| 305 | + " && touch $(out)", |
| 306 | out: ["art-check-release-apex-gen.dummy"], |
| 307 | } |
| 308 | cc_prebuilt_binary { |
| 309 | name: "art-check-release-apex-gen-fakebin", |
| 310 | srcs: [":art-check-release-apex-gen"], |
| 311 | host_supported: true, |
| 312 | device_supported: false, |
| 313 | target: { |
| 314 | darwin: { |
| 315 | enabled: false, // No python3. |
| 316 | }, |
| 317 | }, |
| 318 | } |
| 319 | |
| 320 | genrule { |
| 321 | name: "art-check-debug-apex-gen", |
| 322 | srcs: [":com.android.runtime.debug"], |
| 323 | tools: [ |
| 324 | "art-apex-tester", |
| 325 | "debugfs", |
| 326 | ], |
| 327 | cmd: "$(location art-apex-tester)" |
| 328 | + " --debugfs $(location debugfs)" |
| 329 | + " --tmpdir $(genDir)" |
| 330 | + " --debug" |
| 331 | + " $(in)" |
| 332 | + " && touch $(out)", |
| 333 | out: ["art-check-debug-apex-gen.dummy"], |
| 334 | } |
| 335 | cc_prebuilt_binary { |
| 336 | name: "art-check-debug-apex-gen-fakebin", |
| 337 | srcs: [":art-check-debug-apex-gen"], |
| 338 | host_supported: true, |
| 339 | device_supported: false, |
| 340 | target: { |
| 341 | darwin: { |
| 342 | enabled: false, // No python3. |
| 343 | }, |
| 344 | }, |
| 345 | } |
Andreas Gampe | 31782c1 | 2019-02-06 09:47:25 -0800 | [diff] [blame] | 346 | |
| 347 | // Pre-install scripts. |
| 348 | |
| 349 | sh_binary { |
| 350 | name: "art_preinstall_hook", |
| 351 | src: "art_preinstall_hook.sh", |
| 352 | } |
| 353 | sh_binary { |
| 354 | name: "art_preinstall_hook_boot", |
| 355 | src: "art_preinstall_hook_boot.sh", |
| 356 | } |
| 357 | sh_binary { |
Andreas Gampe | 29c111e | 2019-02-28 13:58:07 -0800 | [diff] [blame] | 358 | name: "art_preinstall_hook_system_server", |
| 359 | src: "art_preinstall_hook_system_server.sh", |
| 360 | } |
| 361 | sh_binary { |
Andreas Gampe | 31782c1 | 2019-02-06 09:47:25 -0800 | [diff] [blame] | 362 | name: "art_prepostinstall_utils", |
| 363 | src: "art_prepostinstall_utils.sh", |
| 364 | } |
Andreas Gampe | 5bb525a | 2019-02-19 12:26:35 -0800 | [diff] [blame] | 365 | sh_binary { |
| 366 | name: "art_postinstall_hook", |
| 367 | src: "art_postinstall_hook.sh", |
| 368 | } |
Andreas Gampe | 5797568 | 2019-03-04 09:27:11 -0800 | [diff] [blame] | 369 | |
| 370 | sh_binary { |
| 371 | name: "art_apex_boot_integrity", |
| 372 | src: "art_apex_boot_integrity.sh", |
| 373 | init_rc: ["art_apex_boot_integrity.rc"], |
| 374 | } |