Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 1 | // Copyright 2022 Google Inc. All rights reserved. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | package allowlists |
| 16 | |
| 17 | // Configuration to decide if modules in a directory should default to true/false for bp2build_available |
| 18 | type Bp2BuildConfig map[string]BazelConversionConfigEntry |
| 19 | type BazelConversionConfigEntry int |
| 20 | |
| 21 | const ( |
| 22 | // iota + 1 ensures that the int value is not 0 when used in the Bp2buildAllowlist map, |
| 23 | // which can also mean that the key doesn't exist in a lookup. |
| 24 | |
| 25 | // all modules in this package and subpackages default to bp2build_available: true. |
| 26 | // allows modules to opt-out. |
| 27 | Bp2BuildDefaultTrueRecursively BazelConversionConfigEntry = iota + 1 |
| 28 | |
| 29 | // all modules in this package (not recursively) default to bp2build_available: true. |
| 30 | // allows modules to opt-out. |
| 31 | Bp2BuildDefaultTrue |
| 32 | |
| 33 | // all modules in this package (not recursively) default to bp2build_available: false. |
| 34 | // allows modules to opt-in. |
| 35 | Bp2BuildDefaultFalse |
MarkDacek | 756b296 | 2022-10-13 17:50:17 +0000 | [diff] [blame] | 36 | |
| 37 | // all modules in this package and subpackages default to bp2build_available: false. |
| 38 | // allows modules to opt-in. |
| 39 | Bp2BuildDefaultFalseRecursively |
Jeongik Cha | e114e60 | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 40 | |
Jeongik Cha | b745e2e | 2023-04-11 14:28:43 +0900 | [diff] [blame] | 41 | // Modules with build time of more than half a minute should have high priority. |
| 42 | DEFAULT_PRIORITIZED_WEIGHT = 1000 |
| 43 | // Modules with build time of more than a few minute should have higher priority. |
| 44 | HIGH_PRIORITIZED_WEIGHT = 10 * DEFAULT_PRIORITIZED_WEIGHT |
| 45 | // Modules with inputs greater than the threshold should have high priority. |
| 46 | // Adjust this threshold if there are lots of wrong predictions. |
| 47 | INPUT_SIZE_THRESHOLD = 50 |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 48 | ) |
| 49 | |
| 50 | var ( |
| 51 | Bp2buildDefaultConfig = Bp2BuildConfig{ |
Sasha Smundak | 8bea267 | 2022-08-04 13:31:14 -0700 | [diff] [blame] | 52 | "art": Bp2BuildDefaultTrue, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 53 | "art/libartbase": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 3d516cd | 2022-09-07 14:24:34 +0000 | [diff] [blame] | 54 | "art/libartpalette": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 55 | "art/libdexfile": Bp2BuildDefaultTrueRecursively, |
| 56 | "art/libnativebridge": Bp2BuildDefaultTrueRecursively, |
| 57 | "art/runtime": Bp2BuildDefaultTrueRecursively, |
| 58 | "art/tools": Bp2BuildDefaultTrue, |
| 59 | "bionic": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 77488af | 2022-11-07 16:53:19 +0000 | [diff] [blame] | 60 | "bootable/recovery/applypatch": Bp2BuildDefaultTrue, |
Jingwen Chen | a051942 | 2022-09-28 08:01:57 +0000 | [diff] [blame] | 61 | "bootable/recovery/minadbd": Bp2BuildDefaultTrue, |
| 62 | "bootable/recovery/minui": Bp2BuildDefaultTrue, |
| 63 | "bootable/recovery/recovery_utils": Bp2BuildDefaultTrue, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 64 | "bootable/recovery/tools/recovery_l10n": Bp2BuildDefaultTrue, |
| 65 | |
Cole Faust | 324a92e | 2022-08-23 15:29:05 -0700 | [diff] [blame] | 66 | "build/bazel": Bp2BuildDefaultTrueRecursively, |
| 67 | "build/make/target/product/security": Bp2BuildDefaultTrue, |
Wei Li | 74e3e00 | 2023-04-26 12:15:55 -0700 | [diff] [blame] | 68 | "build/make/tools/protos": Bp2BuildDefaultTrue, |
Wei Li | 7d8f618 | 2022-10-11 14:38:16 -0700 | [diff] [blame] | 69 | "build/make/tools/releasetools": Bp2BuildDefaultTrue, |
Wei Li | 74e3e00 | 2023-04-26 12:15:55 -0700 | [diff] [blame] | 70 | "build/make/tools/sbom": Bp2BuildDefaultTrue, |
Cole Faust | 324a92e | 2022-08-23 15:29:05 -0700 | [diff] [blame] | 71 | "build/make/tools/signapk": Bp2BuildDefaultTrue, |
| 72 | "build/make/tools/zipalign": Bp2BuildDefaultTrueRecursively, |
| 73 | "build/soong": Bp2BuildDefaultTrue, |
| 74 | "build/soong/cc/libbuildversion": Bp2BuildDefaultTrue, // Skip tests subdir |
| 75 | "build/soong/cc/ndkstubgen": Bp2BuildDefaultTrue, |
| 76 | "build/soong/cc/symbolfile": Bp2BuildDefaultTrue, |
Sasha Smundak | 8bea267 | 2022-08-04 13:31:14 -0700 | [diff] [blame] | 77 | "build/soong/licenses": Bp2BuildDefaultTrue, |
Cole Faust | 324a92e | 2022-08-23 15:29:05 -0700 | [diff] [blame] | 78 | "build/soong/linkerconfig": Bp2BuildDefaultTrueRecursively, |
| 79 | "build/soong/scripts": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 80 | |
| 81 | "cts/common/device-side/nativetesthelper/jni": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | 1ec7785 | 2022-11-07 14:36:12 +0000 | [diff] [blame] | 82 | |
| 83 | "dalvik/tools/dexdeps": Bp2BuildDefaultTrueRecursively, |
| 84 | |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 85 | "development/apps/DevelopmentSettings": Bp2BuildDefaultTrue, |
| 86 | "development/apps/Fallback": Bp2BuildDefaultTrue, |
| 87 | "development/apps/WidgetPreview": Bp2BuildDefaultTrue, |
Spandan Das | b3d5c48 | 2023-05-15 18:49:23 +0000 | [diff] [blame] | 88 | "development/python-packages/adb": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 89 | "development/samples/BasicGLSurfaceView": Bp2BuildDefaultTrue, |
| 90 | "development/samples/BluetoothChat": Bp2BuildDefaultTrue, |
| 91 | "development/samples/BrokenKeyDerivation": Bp2BuildDefaultTrue, |
| 92 | "development/samples/Compass": Bp2BuildDefaultTrue, |
| 93 | "development/samples/ContactManager": Bp2BuildDefaultTrue, |
| 94 | "development/samples/FixedGridLayout": Bp2BuildDefaultTrue, |
| 95 | "development/samples/HelloEffects": Bp2BuildDefaultTrue, |
| 96 | "development/samples/Home": Bp2BuildDefaultTrue, |
| 97 | "development/samples/HoneycombGallery": Bp2BuildDefaultTrue, |
| 98 | "development/samples/JetBoy": Bp2BuildDefaultTrue, |
| 99 | "development/samples/KeyChainDemo": Bp2BuildDefaultTrue, |
| 100 | "development/samples/LceDemo": Bp2BuildDefaultTrue, |
| 101 | "development/samples/LunarLander": Bp2BuildDefaultTrue, |
| 102 | "development/samples/MultiResolution": Bp2BuildDefaultTrue, |
| 103 | "development/samples/MultiWindow": Bp2BuildDefaultTrue, |
| 104 | "development/samples/NotePad": Bp2BuildDefaultTrue, |
| 105 | "development/samples/Obb": Bp2BuildDefaultTrue, |
| 106 | "development/samples/RSSReader": Bp2BuildDefaultTrue, |
| 107 | "development/samples/ReceiveShareDemo": Bp2BuildDefaultTrue, |
| 108 | "development/samples/SearchableDictionary": Bp2BuildDefaultTrue, |
| 109 | "development/samples/SipDemo": Bp2BuildDefaultTrue, |
| 110 | "development/samples/SkeletonApp": Bp2BuildDefaultTrue, |
| 111 | "development/samples/Snake": Bp2BuildDefaultTrue, |
| 112 | "development/samples/SpellChecker/": Bp2BuildDefaultTrueRecursively, |
| 113 | "development/samples/ThemedNavBarKeyboard": Bp2BuildDefaultTrue, |
| 114 | "development/samples/ToyVpn": Bp2BuildDefaultTrue, |
| 115 | "development/samples/TtsEngine": Bp2BuildDefaultTrue, |
| 116 | "development/samples/USB/AdbTest": Bp2BuildDefaultTrue, |
| 117 | "development/samples/USB/MissileLauncher": Bp2BuildDefaultTrue, |
| 118 | "development/samples/VoiceRecognitionService": Bp2BuildDefaultTrue, |
| 119 | "development/samples/VoicemailProviderDemo": Bp2BuildDefaultTrue, |
| 120 | "development/samples/WiFiDirectDemo": Bp2BuildDefaultTrue, |
| 121 | "development/sdk": Bp2BuildDefaultTrueRecursively, |
| 122 | |
| 123 | "external/aac": Bp2BuildDefaultTrueRecursively, |
| 124 | "external/arm-optimized-routines": Bp2BuildDefaultTrueRecursively, |
Sasha Smundak | 8bea267 | 2022-08-04 13:31:14 -0700 | [diff] [blame] | 125 | "external/auto": Bp2BuildDefaultTrue, |
Romain Jobredeaux | 77488af | 2022-11-07 16:53:19 +0000 | [diff] [blame] | 126 | "external/auto/android-annotation-stubs": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 127 | "external/auto/common": Bp2BuildDefaultTrueRecursively, |
| 128 | "external/auto/service": Bp2BuildDefaultTrueRecursively, |
| 129 | "external/boringssl": Bp2BuildDefaultTrueRecursively, |
| 130 | "external/bouncycastle": Bp2BuildDefaultTrue, |
| 131 | "external/brotli": Bp2BuildDefaultTrue, |
Wei Li | 7d8f618 | 2022-10-11 14:38:16 -0700 | [diff] [blame] | 132 | "external/bsdiff": Bp2BuildDefaultTrueRecursively, |
| 133 | "external/bzip2": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 134 | "external/conscrypt": Bp2BuildDefaultTrue, |
| 135 | "external/e2fsprogs": Bp2BuildDefaultTrueRecursively, |
| 136 | "external/eigen": Bp2BuildDefaultTrueRecursively, |
| 137 | "external/erofs-utils": Bp2BuildDefaultTrueRecursively, |
| 138 | "external/error_prone": Bp2BuildDefaultTrueRecursively, |
Usta Shrestha | d66f2ce | 2023-03-15 15:01:59 -0400 | [diff] [blame] | 139 | "external/escapevelocity": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 140 | "external/expat": Bp2BuildDefaultTrueRecursively, |
| 141 | "external/f2fs-tools": Bp2BuildDefaultTrue, |
| 142 | "external/flac": Bp2BuildDefaultTrueRecursively, |
| 143 | "external/fmtlib": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | e7370ea | 2023-04-04 10:30:14 -0400 | [diff] [blame] | 144 | "external/guava": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 145 | "external/google-benchmark": Bp2BuildDefaultTrueRecursively, |
| 146 | "external/googletest": Bp2BuildDefaultTrueRecursively, |
| 147 | "external/gwp_asan": Bp2BuildDefaultTrueRecursively, |
| 148 | "external/hamcrest": Bp2BuildDefaultTrueRecursively, |
| 149 | "external/icu": Bp2BuildDefaultTrueRecursively, |
| 150 | "external/icu/android_icu4j": Bp2BuildDefaultFalse, // java rules incomplete |
| 151 | "external/icu/icu4j": Bp2BuildDefaultFalse, // java rules incomplete |
Romain Jobredeaux | 0dfe8d3 | 2022-09-06 16:20:09 -0400 | [diff] [blame] | 152 | "external/jacoco": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 153 | "external/jarjar": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 0dfe8d3 | 2022-09-06 16:20:09 -0400 | [diff] [blame] | 154 | "external/javaparser": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 155 | "external/javapoet": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | a051942 | 2022-09-28 08:01:57 +0000 | [diff] [blame] | 156 | "external/javassist": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 157 | "external/jemalloc_new": Bp2BuildDefaultTrueRecursively, |
| 158 | "external/jsoncpp": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 0bffcb8 | 2023-02-03 10:15:47 -0500 | [diff] [blame] | 159 | "external/jsr305": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 4777334 | 2023-01-11 16:27:34 -0500 | [diff] [blame] | 160 | "external/jsr330": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 161 | "external/junit": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 4777334 | 2023-01-11 16:27:34 -0500 | [diff] [blame] | 162 | "external/kotlinc": Bp2BuildDefaultTrueRecursively, |
Vinh Tran | 1b6a461 | 2022-09-30 16:36:59 -0400 | [diff] [blame] | 163 | "external/libaom": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 164 | "external/libavc": Bp2BuildDefaultTrueRecursively, |
| 165 | "external/libcap": Bp2BuildDefaultTrueRecursively, |
| 166 | "external/libcxx": Bp2BuildDefaultTrueRecursively, |
| 167 | "external/libcxxabi": Bp2BuildDefaultTrueRecursively, |
Wei Li | 7d8f618 | 2022-10-11 14:38:16 -0700 | [diff] [blame] | 168 | "external/libdivsufsort": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | a051942 | 2022-09-28 08:01:57 +0000 | [diff] [blame] | 169 | "external/libdrm": Bp2BuildDefaultTrue, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 170 | "external/libevent": Bp2BuildDefaultTrueRecursively, |
| 171 | "external/libgav1": Bp2BuildDefaultTrueRecursively, |
| 172 | "external/libhevc": Bp2BuildDefaultTrueRecursively, |
| 173 | "external/libjpeg-turbo": Bp2BuildDefaultTrueRecursively, |
| 174 | "external/libmpeg2": Bp2BuildDefaultTrueRecursively, |
| 175 | "external/libpng": Bp2BuildDefaultTrueRecursively, |
Cole Faust | c843b99 | 2022-08-02 18:06:50 -0700 | [diff] [blame] | 176 | "external/libvpx": Bp2BuildDefaultTrueRecursively, |
Cole Faust | 92e92e4 | 2022-08-26 16:12:42 -0700 | [diff] [blame] | 177 | "external/libyuv": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 178 | "external/lz4/lib": Bp2BuildDefaultTrue, |
Wei Li | 7d8f618 | 2022-10-11 14:38:16 -0700 | [diff] [blame] | 179 | "external/lz4/programs": Bp2BuildDefaultTrue, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 180 | "external/lzma/C": Bp2BuildDefaultTrueRecursively, |
| 181 | "external/mdnsresponder": Bp2BuildDefaultTrueRecursively, |
| 182 | "external/minijail": Bp2BuildDefaultTrueRecursively, |
Colin Cross | 20c89f1 | 2022-12-05 16:47:44 -0800 | [diff] [blame] | 183 | "external/musl": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | 4a7bf60 | 2022-09-21 06:36:37 +0000 | [diff] [blame] | 184 | "external/objenesis": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | a051942 | 2022-09-28 08:01:57 +0000 | [diff] [blame] | 185 | "external/openscreen": Bp2BuildDefaultTrueRecursively, |
Spandan Das | 6960ac1 | 2022-11-22 04:45:05 +0000 | [diff] [blame] | 186 | "external/ow2-asm": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 187 | "external/pcre": Bp2BuildDefaultTrueRecursively, |
| 188 | "external/protobuf": Bp2BuildDefaultTrueRecursively, |
| 189 | "external/python/six": Bp2BuildDefaultTrueRecursively, |
| 190 | "external/rappor": Bp2BuildDefaultTrueRecursively, |
| 191 | "external/scudo": Bp2BuildDefaultTrueRecursively, |
| 192 | "external/selinux/libselinux": Bp2BuildDefaultTrueRecursively, |
| 193 | "external/selinux/libsepol": Bp2BuildDefaultTrueRecursively, |
Cole Faust | fe2ab36 | 2022-08-26 16:55:11 -0700 | [diff] [blame] | 194 | "external/speex": Bp2BuildDefaultTrueRecursively, |
Liz Kammer | f0ab546 | 2023-04-04 11:38:54 -0400 | [diff] [blame] | 195 | "external/sqlite": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | 263d400 | 2023-03-29 07:15:10 +0000 | [diff] [blame] | 196 | "external/tinyalsa": Bp2BuildDefaultTrueRecursively, |
| 197 | "external/tinyalsa_new": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 198 | "external/toybox": Bp2BuildDefaultTrueRecursively, |
| 199 | "external/zlib": Bp2BuildDefaultTrueRecursively, |
| 200 | "external/zopfli": Bp2BuildDefaultTrueRecursively, |
| 201 | "external/zstd": Bp2BuildDefaultTrueRecursively, |
| 202 | |
Jingwen Chen | 1ec7785 | 2022-11-07 14:36:12 +0000 | [diff] [blame] | 203 | "frameworks/av": Bp2BuildDefaultTrue, |
Liz Kammer | f0ab546 | 2023-04-04 11:38:54 -0400 | [diff] [blame] | 204 | "frameworks/av/media/audioaidlconversion": Bp2BuildDefaultTrueRecursively, |
Vinh Tran | 1b6a461 | 2022-09-30 16:36:59 -0400 | [diff] [blame] | 205 | "frameworks/av/media/codec2/components/aom": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 77488af | 2022-11-07 16:53:19 +0000 | [diff] [blame] | 206 | "frameworks/av/media/codecs": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | b2f584b | 2022-08-17 10:31:21 +0000 | [diff] [blame] | 207 | "frameworks/av/media/liberror": Bp2BuildDefaultTrueRecursively, |
Liz Kammer | f0ab546 | 2023-04-04 11:38:54 -0400 | [diff] [blame] | 208 | "frameworks/av/media/libmediahelper": Bp2BuildDefaultTrue, |
Chris Parsons | 52b842a | 2022-12-19 11:45:23 -0500 | [diff] [blame] | 209 | "frameworks/av/media/libshmem": Bp2BuildDefaultTrueRecursively, |
Liz Kammer | e7a4712 | 2023-05-12 08:44:51 -0400 | [diff] [blame] | 210 | "frameworks/av/media/module/codecs": Bp2BuildDefaultTrueRecursively, |
| 211 | "frameworks/av/media/module/foundation": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | 8ebc620 | 2022-09-14 11:48:21 +0000 | [diff] [blame] | 212 | "frameworks/av/media/module/minijail": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 77488af | 2022-11-07 16:53:19 +0000 | [diff] [blame] | 213 | "frameworks/av/services/minijail": Bp2BuildDefaultTrueRecursively, |
Liz Kammer | 09d831e | 2022-09-16 09:02:26 -0400 | [diff] [blame] | 214 | "frameworks/base/libs/androidfw": Bp2BuildDefaultTrue, |
Vinh Tran | 320aecf | 2023-04-28 11:21:25 -0400 | [diff] [blame] | 215 | "frameworks/base/libs/services": Bp2BuildDefaultTrue, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 216 | "frameworks/base/media/tests/MediaDump": Bp2BuildDefaultTrue, |
Romain Jobredeaux | aa6e25d | 2022-08-10 10:12:59 -0400 | [diff] [blame] | 217 | "frameworks/base/proto": Bp2BuildDefaultTrue, |
Liz Kammer | e7a4712 | 2023-05-12 08:44:51 -0400 | [diff] [blame] | 218 | "frameworks/base/services/tests/servicestests/aidl": Bp2BuildDefaultTrue, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 219 | "frameworks/base/startop/apps/test": Bp2BuildDefaultTrue, |
| 220 | "frameworks/base/tests/appwidgets/AppWidgetHostTest": Bp2BuildDefaultTrueRecursively, |
Liz Kammer | 09d831e | 2022-09-16 09:02:26 -0400 | [diff] [blame] | 221 | "frameworks/base/tools/aapt2": Bp2BuildDefaultTrue, |
Alix | 9d56279 | 2023-03-02 17:12:30 +0000 | [diff] [blame] | 222 | "frameworks/base/tools/codegen": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 77488af | 2022-11-07 16:53:19 +0000 | [diff] [blame] | 223 | "frameworks/base/tools/streaming_proto": Bp2BuildDefaultTrueRecursively, |
Vinh Tran | 9b09bc5 | 2023-02-21 09:56:25 -0500 | [diff] [blame] | 224 | "frameworks/hardware/interfaces/stats/aidl": Bp2BuildDefaultTrue, |
Liz Kammer | e7a4712 | 2023-05-12 08:44:51 -0400 | [diff] [blame] | 225 | "frameworks/libs/modules-utils/build": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 226 | "frameworks/native/libs/adbd_auth": Bp2BuildDefaultTrueRecursively, |
| 227 | "frameworks/native/libs/arect": Bp2BuildDefaultTrueRecursively, |
Vinh Tran | 220fb8b | 2022-10-04 12:04:17 -0400 | [diff] [blame] | 228 | "frameworks/native/libs/gui": Bp2BuildDefaultTrue, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 229 | "frameworks/native/libs/math": Bp2BuildDefaultTrueRecursively, |
| 230 | "frameworks/native/libs/nativebase": Bp2BuildDefaultTrueRecursively, |
Liz Kammer | f0ab546 | 2023-04-04 11:38:54 -0400 | [diff] [blame] | 231 | "frameworks/native/libs/permission": Bp2BuildDefaultTrueRecursively, |
Vinh Tran | 220fb8b | 2022-10-04 12:04:17 -0400 | [diff] [blame] | 232 | "frameworks/native/libs/vr": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 233 | "frameworks/native/opengl/tests/gl2_cameraeye": Bp2BuildDefaultTrue, |
| 234 | "frameworks/native/opengl/tests/gl2_java": Bp2BuildDefaultTrue, |
| 235 | "frameworks/native/opengl/tests/testLatency": Bp2BuildDefaultTrue, |
| 236 | "frameworks/native/opengl/tests/testPauseResume": Bp2BuildDefaultTrue, |
| 237 | "frameworks/native/opengl/tests/testViewport": Bp2BuildDefaultTrue, |
Jingwen Chen | a051942 | 2022-09-28 08:01:57 +0000 | [diff] [blame] | 238 | "frameworks/native/services/batteryservice": Bp2BuildDefaultTrue, |
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux | b12ff59 | 2022-09-01 15:04:04 +0000 | [diff] [blame] | 239 | "frameworks/proto_logging/stats": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 240 | |
Liz Kammer | e76510b | 2023-03-20 17:30:51 -0400 | [diff] [blame] | 241 | "hardware/interfaces": Bp2BuildDefaultTrue, |
| 242 | "hardware/interfaces/audio/aidl": Bp2BuildDefaultTrue, |
| 243 | "hardware/interfaces/audio/aidl/common": Bp2BuildDefaultTrue, |
Jingwen Chen | 263d400 | 2023-03-29 07:15:10 +0000 | [diff] [blame] | 244 | "hardware/interfaces/audio/aidl/default": Bp2BuildDefaultTrue, |
| 245 | "hardware/interfaces/audio/aidl/sounddose": Bp2BuildDefaultTrue, |
Liz Kammer | e76510b | 2023-03-20 17:30:51 -0400 | [diff] [blame] | 246 | "hardware/interfaces/common/aidl": Bp2BuildDefaultTrue, |
| 247 | "hardware/interfaces/common/fmq/aidl": Bp2BuildDefaultTrue, |
| 248 | "hardware/interfaces/common/support": Bp2BuildDefaultTrue, |
| 249 | "hardware/interfaces/configstore/1.0": Bp2BuildDefaultTrue, |
| 250 | "hardware/interfaces/configstore/1.1": Bp2BuildDefaultTrue, |
| 251 | "hardware/interfaces/configstore/utils": Bp2BuildDefaultTrue, |
| 252 | "hardware/interfaces/graphics/allocator/2.0": Bp2BuildDefaultTrue, |
| 253 | "hardware/interfaces/graphics/allocator/3.0": Bp2BuildDefaultTrue, |
| 254 | "hardware/interfaces/graphics/allocator/4.0": Bp2BuildDefaultTrue, |
| 255 | "hardware/interfaces/graphics/allocator/aidl": Bp2BuildDefaultTrue, |
| 256 | "hardware/interfaces/graphics/bufferqueue/1.0": Bp2BuildDefaultTrue, |
| 257 | "hardware/interfaces/graphics/bufferqueue/2.0": Bp2BuildDefaultTrue, |
| 258 | "hardware/interfaces/graphics/common/1.0": Bp2BuildDefaultTrue, |
| 259 | "hardware/interfaces/graphics/common/1.1": Bp2BuildDefaultTrue, |
| 260 | "hardware/interfaces/graphics/common/1.2": Bp2BuildDefaultTrue, |
| 261 | "hardware/interfaces/graphics/common/aidl": Bp2BuildDefaultTrue, |
| 262 | "hardware/interfaces/graphics/mapper/2.0": Bp2BuildDefaultTrue, |
| 263 | "hardware/interfaces/graphics/mapper/2.1": Bp2BuildDefaultTrue, |
| 264 | "hardware/interfaces/graphics/mapper/3.0": Bp2BuildDefaultTrue, |
| 265 | "hardware/interfaces/graphics/mapper/4.0": Bp2BuildDefaultTrue, |
| 266 | "hardware/interfaces/health/1.0": Bp2BuildDefaultTrue, |
| 267 | "hardware/interfaces/health/1.0/default": Bp2BuildDefaultTrue, |
| 268 | "hardware/interfaces/health/2.0": Bp2BuildDefaultTrue, |
| 269 | "hardware/interfaces/health/2.0/default": Bp2BuildDefaultTrue, |
| 270 | "hardware/interfaces/health/2.0/utils": Bp2BuildDefaultTrueRecursively, |
| 271 | "hardware/interfaces/health/2.1": Bp2BuildDefaultTrue, |
| 272 | "hardware/interfaces/health/aidl": Bp2BuildDefaultTrue, |
| 273 | "hardware/interfaces/health/utils": Bp2BuildDefaultTrueRecursively, |
| 274 | "hardware/interfaces/media/1.0": Bp2BuildDefaultTrue, |
| 275 | "hardware/interfaces/media/bufferpool": Bp2BuildDefaultTrueRecursively, |
| 276 | "hardware/interfaces/media/bufferpool/aidl/default/tests": Bp2BuildDefaultFalseRecursively, |
| 277 | "hardware/interfaces/media/c2/1.0": Bp2BuildDefaultTrue, |
| 278 | "hardware/interfaces/media/c2/1.1": Bp2BuildDefaultTrue, |
| 279 | "hardware/interfaces/media/c2/1.2": Bp2BuildDefaultTrue, |
| 280 | "hardware/interfaces/media/omx/1.0": Bp2BuildDefaultTrue, |
| 281 | "hardware/interfaces/neuralnetworks": Bp2BuildDefaultTrueRecursively, |
| 282 | "hardware/interfaces/neuralnetworks/aidl/vts": Bp2BuildDefaultFalseRecursively, |
| 283 | "hardware/interfaces/neuralnetworks/1.0/vts": Bp2BuildDefaultFalseRecursively, |
| 284 | "hardware/interfaces/neuralnetworks/1.1/vts": Bp2BuildDefaultFalseRecursively, |
| 285 | "hardware/interfaces/neuralnetworks/1.2/vts": Bp2BuildDefaultFalseRecursively, |
| 286 | "hardware/interfaces/neuralnetworks/1.3/vts": Bp2BuildDefaultFalseRecursively, |
| 287 | "hardware/interfaces/neuralnetworks/1.4/vts": Bp2BuildDefaultFalseRecursively, |
Liz Kammer | 1c92116 | 2022-08-17 16:58:32 -0400 | [diff] [blame] | 288 | |
| 289 | "libnativehelper": Bp2BuildDefaultTrueRecursively, |
| 290 | |
Alix | 79f853d | 2023-02-10 15:57:01 +0000 | [diff] [blame] | 291 | "packages/apps/DevCamera": Bp2BuildDefaultTrue, |
| 292 | "packages/apps/HTMLViewer": Bp2BuildDefaultTrue, |
| 293 | "packages/apps/Protips": Bp2BuildDefaultTrue, |
| 294 | "packages/apps/SafetyRegulatoryInfo": Bp2BuildDefaultTrue, |
| 295 | "packages/apps/WallpaperPicker": Bp2BuildDefaultTrue, |
| 296 | "packages/modules/NeuralNetworks/driver/cache": Bp2BuildDefaultTrueRecursively, |
| 297 | "packages/modules/StatsD/lib/libstatssocket": Bp2BuildDefaultTrueRecursively, |
| 298 | "packages/modules/adb": Bp2BuildDefaultTrue, |
| 299 | "packages/modules/adb/apex": Bp2BuildDefaultTrue, |
| 300 | "packages/modules/adb/crypto": Bp2BuildDefaultTrueRecursively, |
| 301 | "packages/modules/adb/libs": Bp2BuildDefaultTrueRecursively, |
| 302 | "packages/modules/adb/pairing_auth": Bp2BuildDefaultTrueRecursively, |
| 303 | "packages/modules/adb/pairing_connection": Bp2BuildDefaultTrueRecursively, |
| 304 | "packages/modules/adb/proto": Bp2BuildDefaultTrueRecursively, |
| 305 | "packages/modules/adb/tls": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | 263d400 | 2023-03-29 07:15:10 +0000 | [diff] [blame] | 306 | "packages/modules/Gki/libkver": Bp2BuildDefaultTrue, |
Alix | 79f853d | 2023-02-10 15:57:01 +0000 | [diff] [blame] | 307 | "packages/modules/NetworkStack/common/captiveportal": Bp2BuildDefaultTrue, |
Yu Liu | e1ab66d | 2023-03-24 10:53:02 -0700 | [diff] [blame] | 308 | "packages/modules/NeuralNetworks/apex": Bp2BuildDefaultTrue, |
MarkDacek | b9e11c5 | 2023-04-26 21:28:16 +0000 | [diff] [blame] | 309 | "packages/modules/NeuralNetworks/apex/testing": Bp2BuildDefaultTrue, |
Alix | 79f853d | 2023-02-10 15:57:01 +0000 | [diff] [blame] | 310 | "packages/providers/MediaProvider/tools/dialogs": Bp2BuildDefaultFalse, // TODO(b/242834374) |
| 311 | "packages/screensavers/Basic": Bp2BuildDefaultTrue, |
| 312 | "packages/services/Car/tests/SampleRearViewCamera": Bp2BuildDefaultFalse, // TODO(b/242834321) |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 313 | |
Romain Jobredeaux | 3d516cd | 2022-09-07 14:24:34 +0000 | [diff] [blame] | 314 | "platform_testing/tests/example": Bp2BuildDefaultTrueRecursively, |
| 315 | |
Romain Jobredeaux | aa6e25d | 2022-08-10 10:12:59 -0400 | [diff] [blame] | 316 | "prebuilts/clang/host/linux-x86": Bp2BuildDefaultTrueRecursively, |
| 317 | "prebuilts/gradle-plugin": Bp2BuildDefaultTrueRecursively, |
| 318 | "prebuilts/runtime/mainline/platform/sdk": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 8242b43 | 2023-05-04 10:16:26 -0400 | [diff] [blame] | 319 | "prebuilts/sdk": Bp2BuildDefaultTrue, |
Romain Jobredeaux | aa6e25d | 2022-08-10 10:12:59 -0400 | [diff] [blame] | 320 | "prebuilts/sdk/current/androidx": Bp2BuildDefaultTrue, |
| 321 | "prebuilts/sdk/current/androidx-legacy": Bp2BuildDefaultTrue, |
| 322 | "prebuilts/sdk/current/extras/constraint-layout-x": Bp2BuildDefaultTrue, |
| 323 | "prebuilts/sdk/current/extras/material-design-x": Bp2BuildDefaultTrue, |
| 324 | "prebuilts/sdk/current/extras/app-toolkit": Bp2BuildDefaultTrue, |
| 325 | "prebuilts/sdk/current/support": Bp2BuildDefaultTrue, |
| 326 | "prebuilts/tools": Bp2BuildDefaultTrue, |
| 327 | "prebuilts/tools/common/m2": Bp2BuildDefaultTrue, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 328 | |
Alix | b4e09a0 | 2022-09-27 15:36:01 +0000 | [diff] [blame] | 329 | "sdk/dumpeventlog": Bp2BuildDefaultTrue, |
Romain Jobredeaux | 77488af | 2022-11-07 16:53:19 +0000 | [diff] [blame] | 330 | "sdk/eventanalyzer": Bp2BuildDefaultTrue, |
Alix | b4e09a0 | 2022-09-27 15:36:01 +0000 | [diff] [blame] | 331 | |
Trevor Radcliffe | c7ceb43 | 2022-07-13 17:10:45 +0000 | [diff] [blame] | 332 | "system/apex": Bp2BuildDefaultFalse, // TODO(b/207466993): flaky failures |
| 333 | "system/apex/apexer": Bp2BuildDefaultTrue, |
| 334 | "system/apex/libs": Bp2BuildDefaultTrueRecursively, |
| 335 | "system/apex/proto": Bp2BuildDefaultTrueRecursively, |
| 336 | "system/apex/tools": Bp2BuildDefaultTrueRecursively, |
| 337 | "system/core/debuggerd": Bp2BuildDefaultTrueRecursively, |
| 338 | "system/core/diagnose_usb": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | a051942 | 2022-09-28 08:01:57 +0000 | [diff] [blame] | 339 | "system/core/healthd": Bp2BuildDefaultTrue, |
| 340 | "system/core/healthd/testdata": Bp2BuildDefaultTrue, |
Trevor Radcliffe | c7ceb43 | 2022-07-13 17:10:45 +0000 | [diff] [blame] | 341 | "system/core/libasyncio": Bp2BuildDefaultTrue, |
| 342 | "system/core/libcrypto_utils": Bp2BuildDefaultTrueRecursively, |
| 343 | "system/core/libcutils": Bp2BuildDefaultTrueRecursively, |
| 344 | "system/core/libpackagelistparser": Bp2BuildDefaultTrueRecursively, |
| 345 | "system/core/libprocessgroup": Bp2BuildDefaultTrue, |
| 346 | "system/core/libprocessgroup/cgrouprc": Bp2BuildDefaultTrue, |
| 347 | "system/core/libprocessgroup/cgrouprc_format": Bp2BuildDefaultTrue, |
Jingwen Chen | a051942 | 2022-09-28 08:01:57 +0000 | [diff] [blame] | 348 | "system/core/libsuspend": Bp2BuildDefaultTrue, |
Trevor Radcliffe | c7ceb43 | 2022-07-13 17:10:45 +0000 | [diff] [blame] | 349 | "system/core/libsystem": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | f061600 | 2022-09-01 14:28:55 +0000 | [diff] [blame] | 350 | "system/core/libsysutils": Bp2BuildDefaultTrueRecursively, |
Trevor Radcliffe | c7ceb43 | 2022-07-13 17:10:45 +0000 | [diff] [blame] | 351 | "system/core/libutils": Bp2BuildDefaultTrueRecursively, |
| 352 | "system/core/libvndksupport": Bp2BuildDefaultTrueRecursively, |
Wei Li | 7d8f618 | 2022-10-11 14:38:16 -0700 | [diff] [blame] | 353 | "system/core/mkbootfs": Bp2BuildDefaultTrueRecursively, |
Trevor Radcliffe | c7ceb43 | 2022-07-13 17:10:45 +0000 | [diff] [blame] | 354 | "system/core/property_service/libpropertyinfoparser": Bp2BuildDefaultTrueRecursively, |
| 355 | "system/core/property_service/libpropertyinfoserializer": Bp2BuildDefaultTrueRecursively, |
Yu Liu | f27bb3b | 2022-10-03 14:15:01 -0700 | [diff] [blame] | 356 | "system/extras/toolchain-extras": Bp2BuildDefaultTrue, |
Chris Parsons | 52b842a | 2022-12-19 11:45:23 -0500 | [diff] [blame] | 357 | "system/hardware/interfaces/media": Bp2BuildDefaultTrueRecursively, |
Liz Kammer | 09d831e | 2022-09-16 09:02:26 -0400 | [diff] [blame] | 358 | "system/incremental_delivery/incfs": Bp2BuildDefaultTrue, |
Trevor Radcliffe | c7ceb43 | 2022-07-13 17:10:45 +0000 | [diff] [blame] | 359 | "system/libartpalette": Bp2BuildDefaultTrueRecursively, |
| 360 | "system/libbase": Bp2BuildDefaultTrueRecursively, |
| 361 | "system/libfmq": Bp2BuildDefaultTrue, |
Liz Kammer | 1c92116 | 2022-08-17 16:58:32 -0400 | [diff] [blame] | 362 | "system/libhidl/libhidlmemory": Bp2BuildDefaultTrue, |
| 363 | "system/libhidl/transport": Bp2BuildDefaultTrue, |
| 364 | "system/libhidl/transport/allocator/1.0": Bp2BuildDefaultTrue, |
Yu Liu | df4413a | 2022-07-23 21:24:30 -0700 | [diff] [blame] | 365 | "system/libhidl/transport/base/1.0": Bp2BuildDefaultTrue, |
| 366 | "system/libhidl/transport/manager/1.0": Bp2BuildDefaultTrue, |
| 367 | "system/libhidl/transport/manager/1.1": Bp2BuildDefaultTrue, |
| 368 | "system/libhidl/transport/manager/1.2": Bp2BuildDefaultTrue, |
Liz Kammer | 1c92116 | 2022-08-17 16:58:32 -0400 | [diff] [blame] | 369 | "system/libhidl/transport/memory/1.0": Bp2BuildDefaultTrue, |
| 370 | "system/libhidl/transport/memory/token/1.0": Bp2BuildDefaultTrue, |
| 371 | "system/libhidl/transport/safe_union/1.0": Bp2BuildDefaultTrue, |
| 372 | "system/libhidl/transport/token/1.0": Bp2BuildDefaultTrue, |
| 373 | "system/libhidl/transport/token/1.0/utils": Bp2BuildDefaultTrue, |
Trevor Radcliffe | c7ceb43 | 2022-07-13 17:10:45 +0000 | [diff] [blame] | 374 | "system/libhwbinder": Bp2BuildDefaultTrueRecursively, |
| 375 | "system/libprocinfo": Bp2BuildDefaultTrue, |
Jingwen Chen | 263d400 | 2023-03-29 07:15:10 +0000 | [diff] [blame] | 376 | "system/libvintf": Bp2BuildDefaultTrue, |
Trevor Radcliffe | c7ceb43 | 2022-07-13 17:10:45 +0000 | [diff] [blame] | 377 | "system/libziparchive": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | f061600 | 2022-09-01 14:28:55 +0000 | [diff] [blame] | 378 | "system/logging": Bp2BuildDefaultTrueRecursively, |
Sasha Smundak | 8bea267 | 2022-08-04 13:31:14 -0700 | [diff] [blame] | 379 | "system/media": Bp2BuildDefaultTrue, |
Trevor Radcliffe | c7ceb43 | 2022-07-13 17:10:45 +0000 | [diff] [blame] | 380 | "system/media/audio": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | 263d400 | 2023-03-29 07:15:10 +0000 | [diff] [blame] | 381 | "system/media/alsa_utils": Bp2BuildDefaultTrueRecursively, |
Cole Faust | fe2ab36 | 2022-08-26 16:55:11 -0700 | [diff] [blame] | 382 | "system/media/audio_utils": Bp2BuildDefaultTrueRecursively, |
Trevor Radcliffe | c7ceb43 | 2022-07-13 17:10:45 +0000 | [diff] [blame] | 383 | "system/memory/libion": Bp2BuildDefaultTrueRecursively, |
| 384 | "system/memory/libmemunreachable": Bp2BuildDefaultTrueRecursively, |
| 385 | "system/sepolicy/apex": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 386 | "system/testing/gtest_extras": Bp2BuildDefaultTrueRecursively, |
Trevor Radcliffe | c7ceb43 | 2022-07-13 17:10:45 +0000 | [diff] [blame] | 387 | "system/timezone/apex": Bp2BuildDefaultTrueRecursively, |
| 388 | "system/timezone/output_data": Bp2BuildDefaultTrueRecursively, |
Jingwen Chen | 6134211 | 2023-04-11 08:49:01 +0000 | [diff] [blame] | 389 | "system/timezone/testdata": Bp2BuildDefaultTrueRecursively, |
| 390 | "system/timezone/testing": Bp2BuildDefaultTrueRecursively, |
Sam Delmerico | 8dfa46a | 2022-08-30 15:09:36 -0400 | [diff] [blame] | 391 | "system/tools/aidl/build/tests_bp2build": Bp2BuildDefaultTrue, |
Jingwen Chen | 263d400 | 2023-03-29 07:15:10 +0000 | [diff] [blame] | 392 | "system/tools/aidl/metadata": Bp2BuildDefaultTrue, |
| 393 | "system/tools/hidl/metadata": Bp2BuildDefaultTrue, |
Wei Li | 7d8f618 | 2022-10-11 14:38:16 -0700 | [diff] [blame] | 394 | "system/tools/mkbootimg": Bp2BuildDefaultTrueRecursively, |
Liz Kammer | 09d831e | 2022-09-16 09:02:26 -0400 | [diff] [blame] | 395 | "system/tools/sysprop": Bp2BuildDefaultTrue, |
Jingwen Chen | 263d400 | 2023-03-29 07:15:10 +0000 | [diff] [blame] | 396 | "system/tools/xsdc/utils": Bp2BuildDefaultTrueRecursively, |
Trevor Radcliffe | c7ceb43 | 2022-07-13 17:10:45 +0000 | [diff] [blame] | 397 | "system/unwinding/libunwindstack": Bp2BuildDefaultTrueRecursively, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 398 | |
Romain Jobredeaux | aa6e25d | 2022-08-10 10:12:59 -0400 | [diff] [blame] | 399 | "tools/apifinder": Bp2BuildDefaultTrue, |
Dan Albert | f1235a8 | 2023-04-13 16:39:28 +0000 | [diff] [blame] | 400 | "tools/apksig": Bp2BuildDefaultTrue, |
| 401 | "tools/external_updater": Bp2BuildDefaultTrueRecursively, |
| 402 | "tools/metalava": Bp2BuildDefaultTrue, |
Romain Jobredeaux | 5a634d3 | 2022-07-27 10:50:12 -0400 | [diff] [blame] | 403 | "tools/platform-compat/java/android/compat": Bp2BuildDefaultTrueRecursively, |
| 404 | "tools/tradefederation/prebuilts/filegroups": Bp2BuildDefaultTrueRecursively, |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 405 | } |
| 406 | |
| 407 | Bp2buildKeepExistingBuildFile = map[string]bool{ |
| 408 | // This is actually build/bazel/build.BAZEL symlinked to ./BUILD |
| 409 | ".":/*recursive = */ false, |
| 410 | |
Cole Faust | 324a92e | 2022-08-23 15:29:05 -0700 | [diff] [blame] | 411 | "build/bazel":/* recursive = */ true, |
Kevin Dagostino | 92f33d9 | 2022-11-02 20:29:07 +0000 | [diff] [blame] | 412 | "build/make/core":/* recursive = */ false, |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 413 | "build/bazel_common_rules":/* recursive = */ true, |
Cole Faust | 10b94de | 2023-03-31 17:38:33 -0700 | [diff] [blame] | 414 | "build/make/target/product/security":/* recursive = */ false, |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 415 | // build/make/tools/signapk BUILD file is generated, so build/make/tools is not recursive. |
| 416 | "build/make/tools":/* recursive = */ false, |
| 417 | "build/pesto":/* recursive = */ true, |
Jingwen Chen | 4a7bf60 | 2022-09-21 06:36:37 +0000 | [diff] [blame] | 418 | "build/soong":/* recursive = */ true, |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 419 | |
| 420 | // external/bazelbuild-rules_android/... is needed by mixed builds, otherwise mixed builds analysis fails |
| 421 | // e.g. ERROR: Analysis of target '@soong_injection//mixed_builds:buildroot' failed |
| 422 | "external/bazelbuild-rules_android":/* recursive = */ true, |
Sasha Smundak | 9d2f174 | 2022-08-04 13:28:38 -0700 | [diff] [blame] | 423 | "external/bazelbuild-rules_license":/* recursive = */ true, |
Romain Jobredeaux | 0dfe8d3 | 2022-09-06 16:20:09 -0400 | [diff] [blame] | 424 | "external/bazelbuild-kotlin-rules":/* recursive = */ true, |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 425 | "external/bazel-skylib":/* recursive = */ true, |
Cole Faust | ea602c5 | 2022-08-31 14:48:26 -0700 | [diff] [blame] | 426 | "external/protobuf":/* recursive = */ false, |
Cole Faust | de12be3 | 2022-11-19 15:14:48 -0800 | [diff] [blame] | 427 | "external/python/absl-py":/* recursive = */ true, |
Jingwen Chen | 4a7bf60 | 2022-09-21 06:36:37 +0000 | [diff] [blame] | 428 | |
Trevor Radcliffe | 391a25d | 2023-03-22 20:22:27 +0000 | [diff] [blame] | 429 | "external/compiler-rt/lib/cfi":/* recursive = */ false, |
| 430 | |
Jingwen Chen | 4a7bf60 | 2022-09-21 06:36:37 +0000 | [diff] [blame] | 431 | // this BUILD file is globbed by //external/icu/icu4c/source:icu4c_test_data's "data/**/*". |
| 432 | "external/icu/icu4c/source/data/unidata/norm2":/* recursive = */ false, |
| 433 | |
Romain Jobredeaux | 0bffcb8 | 2023-02-03 10:15:47 -0500 | [diff] [blame] | 434 | // Building manually due to b/179889880: resource files cross package boundary |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 435 | "packages/apps/Music":/* recursive = */ true, |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 436 | |
Yu Liu | 56ccb1a | 2022-11-12 10:47:07 -0800 | [diff] [blame] | 437 | "prebuilts/abi-dumps/platform":/* recursive = */ true, |
| 438 | "prebuilts/abi-dumps/ndk":/* recursive = */ true, |
Romain Jobredeaux | 2919797 | 2022-05-30 22:02:31 -0400 | [diff] [blame] | 439 | "prebuilts/bazel":/* recursive = */ true, |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 440 | "prebuilts/bundletool":/* recursive = */ true, |
Cole Faust | ea602c5 | 2022-08-31 14:48:26 -0700 | [diff] [blame] | 441 | "prebuilts/clang/host/linux-x86":/* recursive = */ false, |
Yu Liu | 56ccb1a | 2022-11-12 10:47:07 -0800 | [diff] [blame] | 442 | "prebuilts/clang-tools":/* recursive = */ true, |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 443 | "prebuilts/gcc":/* recursive = */ true, |
Jingwen Chen | 23ca2d2 | 2022-05-19 09:53:56 +0000 | [diff] [blame] | 444 | "prebuilts/build-tools":/* recursive = */ true, |
Romain Jobredeaux | d4e1a15 | 2023-03-17 11:02:01 -0400 | [diff] [blame] | 445 | "prebuilts/jdk/jdk17":/* recursive = */ true, |
Cole Faust | 7071a05 | 2022-07-29 15:58:33 -0700 | [diff] [blame] | 446 | "prebuilts/misc":/* recursive = */ false, // not recursive because we need bp2build converted build files in prebuilts/misc/common/asm |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 447 | "prebuilts/sdk":/* recursive = */ false, |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 448 | "prebuilts/sdk/tools":/* recursive = */ false, |
| 449 | "prebuilts/r8":/* recursive = */ false, |
Kevin Dagostino | 3e2da94 | 2022-11-20 07:16:47 +0000 | [diff] [blame] | 450 | "prebuilts/runtime":/* recursive = */ false, |
Kevin Dagostino | 92f33d9 | 2022-11-02 20:29:07 +0000 | [diff] [blame] | 451 | |
Kevin Dagostino | 3e2da94 | 2022-11-20 07:16:47 +0000 | [diff] [blame] | 452 | // not recursive due to conflicting workspace paths in tools/atest/bazel/rules |
| 453 | "tools/asuite/atest":/* recursive = */ false, |
| 454 | "tools/asuite/atest/bazel/reporter":/* recursive = */ true, |
Yu Liu | 828c406 | 2023-01-23 20:56:46 +0000 | [diff] [blame] | 455 | |
| 456 | // TODO(b/266459895): remove this and the placeholder BUILD file after re-enabling libunwindstack |
| 457 | "external/rust/crates/rustc-demangle-capi":/* recursive = */ false, |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 458 | } |
| 459 | |
| 460 | Bp2buildModuleAlwaysConvertList = []string{ |
Liz Kammer | 09d831e | 2022-09-16 09:02:26 -0400 | [diff] [blame] | 461 | "libidmap2_policies", |
| 462 | "libSurfaceFlingerProp", |
Liz Kammer | be1315e | 2022-05-10 09:15:31 -0400 | [diff] [blame] | 463 | // cc mainline modules |
Liz Kammer | a7bea31 | 2023-05-04 09:51:56 -0400 | [diff] [blame] | 464 | |
| 465 | // com.android.media.swcodec |
Vinh Tran | 2dbc745 | 2022-09-29 10:49:07 -0400 | [diff] [blame] | 466 | "com.android.media.swcodec", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 467 | "com.android.media.swcodec-androidManifest", |
Liz Kammer | be1315e | 2022-05-10 09:15:31 -0400 | [diff] [blame] | 468 | "com.android.media.swcodec-ld.config.txt", |
Vinh Tran | 2dbc745 | 2022-09-29 10:49:07 -0400 | [diff] [blame] | 469 | "com.android.media.swcodec-mediaswcodec.32rc", |
Liz Kammer | be1315e | 2022-05-10 09:15:31 -0400 | [diff] [blame] | 470 | "com.android.media.swcodec-mediaswcodec.rc", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 471 | "com.android.media.swcodec.certificate", |
| 472 | "com.android.media.swcodec.key", |
Liz Kammer | a7bea31 | 2023-05-04 09:51:56 -0400 | [diff] [blame] | 473 | "test_com.android.media.swcodec", |
| 474 | |
| 475 | // deps |
| 476 | "code_coverage.policy", |
| 477 | "code_coverage.policy.other", |
| 478 | "codec2_soft_exports", |
Liz Kammer | be1315e | 2022-05-10 09:15:31 -0400 | [diff] [blame] | 479 | "flatbuffer_headers", |
Vinh Tran | 3cb9ade | 2022-10-20 12:17:42 -0400 | [diff] [blame] | 480 | "framework-connectivity-protos", |
Liz Kammer | be1315e | 2022-05-10 09:15:31 -0400 | [diff] [blame] | 481 | "gemmlowp_headers", |
| 482 | "gl_headers", |
Liz Kammer | 63367e1 | 2022-06-13 19:35:12 +0000 | [diff] [blame] | 483 | "libandroid_runtime_lazy", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 484 | "libandroid_runtime_vm_headers", |
Liz Kammer | be1315e | 2022-05-10 09:15:31 -0400 | [diff] [blame] | 485 | "libaudioclient_aidl_conversion_util", |
Vinh Tran | 9f6796a | 2022-08-16 13:10:31 -0400 | [diff] [blame] | 486 | "libbinder", |
| 487 | "libbinder_device_interface_sources", |
Vinh Tran | 444154d | 2022-08-16 13:10:31 -0400 | [diff] [blame] | 488 | "libbinder_aidl", |
Liz Kammer | 63367e1 | 2022-06-13 19:35:12 +0000 | [diff] [blame] | 489 | "libbinder_headers", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 490 | "libbinder_headers_platform_shared", |
Vinh Tran | 99fd650 | 2022-09-09 18:36:24 -0400 | [diff] [blame] | 491 | "libbinderthreadstateutils", |
Liz Kammer | dfeb120 | 2022-05-13 17:20:20 -0400 | [diff] [blame] | 492 | "libbluetooth-types-header", |
Liz Kammer | 63367e1 | 2022-06-13 19:35:12 +0000 | [diff] [blame] | 493 | "libcodec2", |
Liz Kammer | dfeb120 | 2022-05-13 17:20:20 -0400 | [diff] [blame] | 494 | "libcodec2_headers", |
| 495 | "libcodec2_internal", |
| 496 | "libdmabufheap", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 497 | "libgsm", |
Vinh Tran | 99fd650 | 2022-09-09 18:36:24 -0400 | [diff] [blame] | 498 | "libgrallocusage", |
| 499 | "libgralloctypes", |
| 500 | "libnativewindow", |
Vinh Tran | fd446d6 | 2022-09-21 17:30:20 -0400 | [diff] [blame] | 501 | "libneuralnetworks", |
Sam Delmerico | 646dcfa | 2023-04-07 14:38:32 -0400 | [diff] [blame] | 502 | "libneuralnetworks_static", |
Vinh Tran | 99fd650 | 2022-09-09 18:36:24 -0400 | [diff] [blame] | 503 | "libgraphicsenv", |
Liz Kammer | 63367e1 | 2022-06-13 19:35:12 +0000 | [diff] [blame] | 504 | "libhardware", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 505 | "libhardware_headers", |
Liz Kammer | dfeb120 | 2022-05-13 17:20:20 -0400 | [diff] [blame] | 506 | "libnativeloader-headers", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 507 | "libnativewindow_headers", |
| 508 | "libneuralnetworks_headers", |
Vinh Tran | 583a07d | 2022-09-20 17:25:34 -0400 | [diff] [blame] | 509 | "libneuralnetworks_packageinfo", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 510 | "libopus", |
| 511 | "libprocpartition", |
Liz Kammer | 63367e1 | 2022-06-13 19:35:12 +0000 | [diff] [blame] | 512 | "libruy_static", |
Cole Faust | 6b29f59 | 2022-08-09 09:50:56 -0700 | [diff] [blame] | 513 | "libandroidio", |
| 514 | "libandroidio_srcs", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 515 | "libserviceutils", |
Liz Kammer | 63367e1 | 2022-06-13 19:35:12 +0000 | [diff] [blame] | 516 | "libsurfaceflinger_headers", |
Liz Kammer | dfeb120 | 2022-05-13 17:20:20 -0400 | [diff] [blame] | 517 | "libsync", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 518 | "libtextclassifier_hash_headers", |
| 519 | "libtextclassifier_hash_static", |
Liz Kammer | 63367e1 | 2022-06-13 19:35:12 +0000 | [diff] [blame] | 520 | "libtflite_kernel_utils", |
| 521 | "libtinyxml2", |
Vinh Tran | 99fd650 | 2022-09-09 18:36:24 -0400 | [diff] [blame] | 522 | "libui", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 523 | "libui-types", |
Liz Kammer | 63367e1 | 2022-06-13 19:35:12 +0000 | [diff] [blame] | 524 | "libui_headers", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 525 | "libvorbisidec", |
| 526 | "media_ndk_headers", |
Liz Kammer | 63367e1 | 2022-06-13 19:35:12 +0000 | [diff] [blame] | 527 | "media_plugin_headers", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 528 | "mediaswcodec.policy", |
| 529 | "mediaswcodec.xml", |
Vinh Tran | 99fd650 | 2022-09-09 18:36:24 -0400 | [diff] [blame] | 530 | "neuralnetworks_types", |
Vinh Tran | 99fd650 | 2022-09-09 18:36:24 -0400 | [diff] [blame] | 531 | "libneuralnetworks_common", |
Vinh Tran | 583a07d | 2022-09-20 17:25:34 -0400 | [diff] [blame] | 532 | // packagemanager_aidl_interface is created implicitly in packagemanager_aidl module |
| 533 | "packagemanager_aidl_interface", |
Liz Kammer | 63367e1 | 2022-06-13 19:35:12 +0000 | [diff] [blame] | 534 | "philox_random", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 535 | "philox_random_headers", |
| 536 | "server_configurable_flags", |
Vinh Tran | 3cb9ade | 2022-10-20 12:17:42 -0400 | [diff] [blame] | 537 | "service-permission-streaming-proto-sources", |
Vinh Tran | f19b658 | 2022-09-21 17:01:49 -0400 | [diff] [blame] | 538 | "statslog_neuralnetworks.cpp", |
| 539 | "statslog_neuralnetworks.h", |
Liz Kammer | 5068eae | 2022-05-11 17:24:29 -0400 | [diff] [blame] | 540 | "tensorflow_headers", |
Liz Kammer | be1315e | 2022-05-10 09:15:31 -0400 | [diff] [blame] | 541 | |
Vinh Tran | 99fd650 | 2022-09-09 18:36:24 -0400 | [diff] [blame] | 542 | "libstagefright_bufferpool@2.0", |
| 543 | "libstagefright_bufferpool@2.0.1", |
Vinh Tran | c169c54 | 2022-09-13 13:13:06 -0400 | [diff] [blame] | 544 | "libSurfaceFlingerProp", |
Vinh Tran | 99fd650 | 2022-09-09 18:36:24 -0400 | [diff] [blame] | 545 | |
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux | b12ff59 | 2022-09-01 15:04:04 +0000 | [diff] [blame] | 546 | // prebuilts |
| 547 | "prebuilt_stats-log-api-gen", |
| 548 | |
Jingwen Chen | 9009dc2 | 2022-08-04 15:26:46 +0000 | [diff] [blame] | 549 | // fastboot |
Jingwen Chen | 9009dc2 | 2022-08-04 15:26:46 +0000 | [diff] [blame] | 550 | "fastboot", |
| 551 | "libfastboot", |
| 552 | "liblp", |
| 553 | "libstorage_literals_headers", |
| 554 | |
Liz Kammer | f0ab546 | 2023-04-04 11:38:54 -0400 | [diff] [blame] | 555 | "PluginCoreLib", |
| 556 | "dagger2", |
| 557 | "dagger2-android-annotation-stubs", |
| 558 | "dagger2-bootstrap-compiler", |
| 559 | "dagger2-producers", |
| 560 | "okio-lib", |
| 561 | "setupdesign-strings", |
| 562 | |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 563 | //external/avb |
| 564 | "avbtool", |
| 565 | "libavb", |
| 566 | "avb_headers", |
| 567 | |
Alix | 5918d64 | 2022-06-27 20:57:44 +0000 | [diff] [blame] | 568 | //external/libxml2 |
| 569 | "xmllint", |
| 570 | "libxml2", |
| 571 | |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 572 | //external/fec |
| 573 | "libfec_rs", |
| 574 | |
Vinh Tran | 320aecf | 2023-04-28 11:21:25 -0400 | [diff] [blame] | 575 | //frameworks/base/core/java |
| 576 | "IDropBoxManagerService_aidl", |
| 577 | |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 578 | //system/core/libsparse |
| 579 | "libsparse", |
| 580 | |
| 581 | //system/extras/ext4_utils |
| 582 | "libext4_utils", |
Cole Faust | 0124336 | 2022-06-02 12:11:12 -0700 | [diff] [blame] | 583 | "mke2fs_conf", |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 584 | |
| 585 | //system/extras/libfec |
| 586 | "libfec", |
| 587 | |
| 588 | //system/extras/squashfs_utils |
| 589 | "libsquashfs_utils", |
| 590 | |
| 591 | //system/extras/verity/fec |
| 592 | "fec", |
Wei Li | 7d8f618 | 2022-10-11 14:38:16 -0700 | [diff] [blame] | 593 | "boot_signer", |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 594 | |
| 595 | //packages/apps/Car/libs/car-ui-lib/car-ui-androidx |
| 596 | // genrule dependencies for java_imports |
| 597 | "car-ui-androidx-annotation-nodeps", |
| 598 | "car-ui-androidx-collection-nodeps", |
| 599 | "car-ui-androidx-core-common-nodeps", |
| 600 | "car-ui-androidx-lifecycle-common-nodeps", |
| 601 | "car-ui-androidx-constraintlayout-solver-nodeps", |
Yu Liu | df4413a | 2022-07-23 21:24:30 -0700 | [diff] [blame] | 602 | |
| 603 | //system/libhidl |
Jingwen Chen | 263d400 | 2023-03-29 07:15:10 +0000 | [diff] [blame] | 604 | "libhidlbase", // needed by cc_hidl_library |
| 605 | "libhidl_gtest_helper", |
Vinh Tran | 444154d | 2022-08-16 13:10:31 -0400 | [diff] [blame] | 606 | |
| 607 | //frameworks/native |
| 608 | "framework_native_aidl_binder", |
| 609 | "framework_native_aidl_gui", |
| 610 | |
| 611 | //frameworks/native/libs/input |
| 612 | "inputconstants_aidl", |
Vinh Tran | c3873e8 | 2022-08-23 20:33:25 -0400 | [diff] [blame] | 613 | |
| 614 | // needed for aidl_interface's ndk backend |
| 615 | "libbinder_ndk", |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 616 | |
| 617 | "libusb", |
Jingwen Chen | f061600 | 2022-09-01 14:28:55 +0000 | [diff] [blame] | 618 | |
| 619 | // needed by liblogd |
| 620 | "ILogcatManagerService_aidl", |
| 621 | "libincremental_aidl-cpp", |
| 622 | "incremental_aidl", |
Jingwen Chen | 2247aca | 2022-09-09 10:47:43 +0000 | [diff] [blame] | 623 | |
| 624 | //frameworks/native/cmds/cmd |
| 625 | "libcmd", |
Jingwen Chen | adc07fa | 2022-09-21 13:13:48 +0000 | [diff] [blame] | 626 | |
| 627 | //system/core/fs_mgr/libdm |
| 628 | "libdm", |
| 629 | |
| 630 | //system/core/fs_mgr/libfiemap |
| 631 | "libfiemap_headers", |
| 632 | "libfiemap_passthrough_srcs", |
| 633 | "libfiemap_srcs", |
| 634 | |
| 635 | //system/gsid |
| 636 | "libgsi", |
| 637 | "libgsi_headers", |
| 638 | |
| 639 | //system/core/libkeyutils |
| 640 | "libkeyutils", |
| 641 | |
Jingwen Chen | adc07fa | 2022-09-21 13:13:48 +0000 | [diff] [blame] | 642 | //bootable/recovery/otautil |
| 643 | "libotautil", |
| 644 | |
| 645 | //system/vold |
| 646 | "libvold_headers", |
| 647 | |
| 648 | //system/extras/libfscrypt |
| 649 | "libfscrypt", |
| 650 | |
| 651 | //system/core/fs_mgr |
| 652 | "libfstab", |
| 653 | |
| 654 | //bootable/recovery/fuse_sideload |
| 655 | "libfusesideload", |
| 656 | |
| 657 | //system/core/fs_mgr/libfs_avb |
| 658 | "libfs_avb", |
| 659 | |
| 660 | //system/core/fs_mgr |
| 661 | "libfs_mgr", |
Yu Liu | bf7c03e | 2022-09-22 12:12:26 -0700 | [diff] [blame] | 662 | |
| 663 | "libcodec2_hidl@1.0", |
| 664 | "libcodec2_hidl@1.1", |
| 665 | "libcodec2_hidl@1.2", |
| 666 | "libcodec2_hidl_plugin_stub", |
| 667 | "libcodec2_hidl_plugin", |
| 668 | "libstagefright_bufferqueue_helper_novndk", |
Yu Liu | bf7c03e | 2022-09-22 12:12:26 -0700 | [diff] [blame] | 669 | "libGLESv2", |
| 670 | "libEGL", |
| 671 | "libcodec2_vndk", |
| 672 | "libnativeloader_lazy", |
| 673 | "libnativeloader", |
| 674 | "libEGL_getProcAddress", |
| 675 | "libEGL_blobCache", |
Vinh Tran | 32a98a5 | 2022-09-23 13:08:34 -0400 | [diff] [blame] | 676 | |
Yu Liu | 8c98153 | 2022-09-27 12:47:26 -0700 | [diff] [blame] | 677 | "mediaswcodec", |
| 678 | "libmedia_headers", |
| 679 | "libmedia_codecserviceregistrant", |
| 680 | "libsfplugin_ccodec_utils", |
| 681 | "libcodec2_soft_aacenc", |
| 682 | "libcodec2_soft_amrnbdec", |
| 683 | "libcodec2_soft_amrnbenc", |
| 684 | "libcodec2_soft_amrwbdec", |
| 685 | "libcodec2_soft_amrwbenc", |
| 686 | "libcodec2_soft_hevcdec", |
| 687 | "libcodec2_soft_hevcenc", |
| 688 | "libcodec2_soft_g711alawdec", |
| 689 | "libcodec2_soft_g711mlawdec", |
| 690 | "libcodec2_soft_mpeg2dec", |
| 691 | "libcodec2_soft_h263dec", |
| 692 | "libcodec2_soft_h263enc", |
| 693 | "libcodec2_soft_mpeg4dec", |
| 694 | "libcodec2_soft_mpeg4enc", |
| 695 | "libcodec2_soft_mp3dec", |
| 696 | "libcodec2_soft_vorbisdec", |
| 697 | "libcodec2_soft_opusdec", |
| 698 | "libcodec2_soft_opusenc", |
| 699 | "libcodec2_soft_vp8dec", |
| 700 | "libcodec2_soft_vp9dec", |
| 701 | "libcodec2_soft_av1dec_gav1", |
| 702 | "libcodec2_soft_vp8enc", |
| 703 | "libcodec2_soft_vp9enc", |
| 704 | "libcodec2_soft_rawdec", |
| 705 | "libcodec2_soft_flacdec", |
| 706 | "libcodec2_soft_flacenc", |
| 707 | "libcodec2_soft_gsmdec", |
| 708 | "libcodec2_soft_avcdec", |
| 709 | "libcodec2_soft_avcenc", |
| 710 | "libcodec2_soft_aacdec", |
| 711 | "libcodec2_soft_common", |
Alix | 8062f4d | 2022-11-14 21:38:07 +0000 | [diff] [blame] | 712 | |
| 713 | // kotlin srcs in java libs |
Alix | 8062f4d | 2022-11-14 21:38:07 +0000 | [diff] [blame] | 714 | "kotlinx_atomicfu", |
Alix | 7c8eaeb | 2022-11-16 15:44:55 +0000 | [diff] [blame] | 715 | |
| 716 | // kotlin srcs in java binary |
| 717 | "AnalyzerKt", |
| 718 | "trebuchet-core", |
Alix | 36795a7 | 2023-01-20 16:10:52 +0000 | [diff] [blame] | 719 | |
| 720 | // kotlin srcs in android_library |
| 721 | "renderscript_toolkit", |
Romain Jobredeaux | 0bffcb8 | 2023-02-03 10:15:47 -0500 | [diff] [blame] | 722 | |
| 723 | //kotlin srcs in android_binary |
| 724 | "MusicKotlin", |
Zi Wang | 75a38e7 | 2023-02-15 22:52:47 -0800 | [diff] [blame] | 725 | |
Romain Jobredeaux | 2eef2e1 | 2023-02-24 12:07:08 -0500 | [diff] [blame] | 726 | // java_library with prebuilt sdk_version |
| 727 | "android-common", |
| 728 | |
Zi Wang | 75a38e7 | 2023-02-15 22:52:47 -0800 | [diff] [blame] | 729 | // checked in current.txt for merged_txts |
| 730 | "non-updatable-current.txt", |
| 731 | "non-updatable-system-current.txt", |
| 732 | "non-updatable-module-lib-current.txt", |
| 733 | "non-updatable-system-server-current.txt", |
Zi Wang | b31a833 | 2023-03-06 15:21:35 -0800 | [diff] [blame] | 734 | |
| 735 | // for api_fingerprint.txt generation |
| 736 | "api_fingerprint", |
Alix | f848bf8 | 2023-03-06 19:43:55 +0000 | [diff] [blame] | 737 | |
| 738 | // allowlisting for kotlinx_coroutines |
Liz Kammer | f0ab546 | 2023-04-04 11:38:54 -0400 | [diff] [blame] | 739 | "annotations", |
| 740 | "kotlinx-coroutines-android-annotation-stubs", |
| 741 | "kotlinx-coroutines-core", |
Alix | f848bf8 | 2023-03-06 19:43:55 +0000 | [diff] [blame] | 742 | "kotlinx_coroutines", |
Romain Jobredeaux | e7370ea | 2023-04-04 10:30:14 -0400 | [diff] [blame] | 743 | "kotlinx_coroutines-device", |
| 744 | "kotlinx_coroutines-host", |
Sam Delmerico | 9d71a84 | 2023-03-16 16:24:54 -0400 | [diff] [blame] | 745 | |
| 746 | // for building com.android.neuralnetworks |
| 747 | "libimapper_stablec", |
| 748 | "libimapper_providerutils", |
Alix | e5085eb | 2023-01-31 19:38:41 +0000 | [diff] [blame] | 749 | |
| 750 | // min_sdk_version in android_app |
| 751 | "CtsShimUpgrade", |
Romain Jobredeaux | aa6e25d | 2022-08-10 10:12:59 -0400 | [diff] [blame] | 752 | |
Liz Kammer | f0ab546 | 2023-04-04 11:38:54 -0400 | [diff] [blame] | 753 | "art_cmdlineparser_headers", |
| 754 | |
Romain Jobredeaux | aa6e25d | 2022-08-10 10:12:59 -0400 | [diff] [blame] | 755 | // Mainline Module Apps |
| 756 | "CaptivePortalLogin", |
Sam Delmerico | befbf05 | 2023-04-28 11:23:58 -0400 | [diff] [blame] | 757 | |
| 758 | "libstagefright_headers", |
Spandan Das | ebbea2a | 2023-05-10 02:05:43 +0000 | [diff] [blame] | 759 | |
| 760 | // aidl |
| 761 | "aidl", |
| 762 | "libaidl-common", |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 763 | } |
| 764 | |
| 765 | Bp2buildModuleTypeAlwaysConvertList = []string{ |
Spandan Das | d58630f | 2022-09-08 01:04:22 +0000 | [diff] [blame] | 766 | "aidl_interface_headers", |
Zi Wang | b2179e3 | 2023-01-31 15:53:30 -0800 | [diff] [blame] | 767 | "bpf", |
Zi Wang | 75a38e7 | 2023-02-15 22:52:47 -0800 | [diff] [blame] | 768 | "combined_apis", |
Sasha Smundak | 8bea267 | 2022-08-04 13:31:14 -0700 | [diff] [blame] | 769 | "license", |
Liz Kammer | 45faf8f | 2022-06-02 16:00:54 -0400 | [diff] [blame] | 770 | "linker_config", |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 771 | "java_import", |
| 772 | "java_import_host", |
Zi Wang | b2179e3 | 2023-01-31 15:53:30 -0800 | [diff] [blame] | 773 | "java_sdk_library", |
Trevor Radcliffe | ad3d123 | 2022-09-01 16:25:10 +0000 | [diff] [blame] | 774 | "sysprop_library", |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 775 | } |
| 776 | |
Jingwen Chen | 4a7bf60 | 2022-09-21 06:36:37 +0000 | [diff] [blame] | 777 | // Add the names of modules that bp2build should never convert, if it is |
| 778 | // in the package allowlist. An error will be thrown if a module must |
| 779 | // not be here and in the alwaysConvert lists. |
| 780 | // |
| 781 | // For prebuilt modules (e.g. android_library_import), remember to add |
| 782 | // the "prebuilt_" prefix to the name, so that it's differentiable from |
| 783 | // the source versions within Soong's module graph. |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 784 | Bp2buildModuleDoNotConvertList = []string{ |
Vinh Tran | 220fb8b | 2022-10-04 12:04:17 -0400 | [diff] [blame] | 785 | // Depends on unconverted libandroid, libgui |
| 786 | "dvr_buffer_queue-test", |
| 787 | "dvr_display-test", |
| 788 | // Depends on unconverted libchrome |
| 789 | "pdx_benchmarks", |
| 790 | "buffer_hub_queue-test", |
| 791 | "buffer_hub_queue_producer-test", |
| 792 | |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 793 | // cc bugs |
Jingwen Chen | f061600 | 2022-09-01 14:28:55 +0000 | [diff] [blame] | 794 | |
| 795 | // TODO(b/198619163) module has same name as source |
Jingwen Chen | f061600 | 2022-09-01 14:28:55 +0000 | [diff] [blame] | 796 | "logtagd.rc", |
| 797 | |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 798 | "libgtest_ndk_c++", "libgtest_main_ndk_c++", // TODO(b/201816222): Requires sdk_version support. |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 799 | |
| 800 | // TODO(b/202876379): has arch-variant static_executable |
| 801 | "linkerconfig", |
| 802 | "mdnsd", |
| 803 | "libcutils_test_static", |
| 804 | "KernelLibcutilsTest", |
| 805 | |
Liz Kammer | f0ab546 | 2023-04-04 11:38:54 -0400 | [diff] [blame] | 806 | "linker", // TODO(b/228316882): cc_binary uses link_crt |
| 807 | "versioner", // TODO(b/228313961): depends on prebuilt shared library libclang-cpp_host as a shared library, which does not supply expected providers for a shared library |
| 808 | "tjbench", // TODO(b/240563612): Stem property |
| 809 | |
| 810 | // requires host tools for apexer |
| 811 | "apexer_test", "apexer_test_host_tools", "host_apex_verifier", |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 812 | |
| 813 | // java bugs |
Romain Jobredeaux | 2eef2e1 | 2023-02-24 12:07:08 -0500 | [diff] [blame] | 814 | "libbase_ndk", // TODO(b/186826477): fails to link libctscamera2_jni for device (required for CtsCameraTestCases) |
| 815 | "bouncycastle", // TODO(b/274474005): Need support for custom system_modules. |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 816 | |
| 817 | // python protos |
Cole Faust | 53b6209 | 2022-05-12 15:37:02 -0700 | [diff] [blame] | 818 | "libprotobuf-python", // Has a handcrafted alternative |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 819 | |
| 820 | // genrule incompatibilities |
| 821 | "brotli-fuzzer-corpus", // TODO(b/202015218): outputs are in location incompatible with bazel genrule handling. |
| 822 | "platform_tools_properties", "build_tools_source_properties", // TODO(b/203369847): multiple genrules in the same package creating the same file |
| 823 | |
| 824 | // aar support |
Chris Parsons | 9f0e552 | 2022-12-08 14:12:54 -0500 | [diff] [blame] | 825 | "prebuilt_car-ui-androidx-core-common", // TODO(b/224773339), genrule dependency creates an .aar, not a .jar |
Jingwen Chen | 4a7bf60 | 2022-09-21 06:36:37 +0000 | [diff] [blame] | 826 | // ERROR: The dependencies for the following 1 jar(s) are not complete. |
| 827 | // 1.bazel-out/android_target-fastbuild/bin/prebuilts/tools/common/m2/_aar/robolectric-monitor-1.0.2-alpha1/classes_and_libs_merged.jar |
| 828 | "prebuilt_robolectric-monitor-1.0.2-alpha1", |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 829 | |
| 830 | // path property for filegroups |
| 831 | "conscrypt", // TODO(b/210751803), we don't handle path property for filegroups |
| 832 | "conscrypt-for-host", // TODO(b/210751803), we don't handle path property for filegroups |
| 833 | "host-libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 834 | "libprotobuf-internal-python-srcs", // TODO(b/210751803), we don't handle path property for filegroups |
| 835 | "libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups |
| 836 | "libprotobuf-java-util-full", // TODO(b/210751803), we don't handle path property for filegroups |
Sam Delmerico | 7998581 | 2022-03-23 20:20:42 +0000 | [diff] [blame] | 837 | "auto_value_plugin_resources", // TODO(b/210751803), we don't handle path property for filegroups |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 838 | |
| 839 | // go deps: |
Jingwen Chen | f50817d | 2022-09-21 06:46:08 +0000 | [diff] [blame] | 840 | "analyze_bcpf", // depends on bpmodify a blueprint_go_binary. |
Cole Faust | d82f036 | 2023-04-12 17:32:19 -0700 | [diff] [blame] | 841 | "analyze_bcpf_test", // depends on bpmodify a blueprint_go_binary. |
Jingwen Chen | f50817d | 2022-09-21 06:46:08 +0000 | [diff] [blame] | 842 | "host_bionic_linker_asm", // depends on extract_linker, a go binary. |
| 843 | "host_bionic_linker_script", // depends on extract_linker, a go binary. |
Jingwen Chen | 4a7bf60 | 2022-09-21 06:36:37 +0000 | [diff] [blame] | 844 | |
| 845 | // in cmd attribute of genrule rule //system/timezone/output_data:robolectric_tzdata: label '//system/timezone/output_data:iana/tzdata' in $(location) expression is not a declared prerequisite of this rule |
| 846 | "robolectric_tzdata", |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 847 | |
| 848 | // rust support |
| 849 | "libtombstoned_client_rust_bridge_code", "libtombstoned_client_wrapper", // rust conversions are not supported |
| 850 | |
| 851 | // unconverted deps |
Cole Faust | d82f036 | 2023-04-12 17:32:19 -0700 | [diff] [blame] | 852 | "apexer_with_DCLA_preprocessing_test", // depends on unconverted modules: apexer_test_host_tools, com.android.example.apex |
Trevor Radcliffe | ef9c900 | 2022-05-13 20:55:35 +0000 | [diff] [blame] | 853 | "adb", // depends on unconverted modules: AdbWinApi, libandroidfw, libopenscreen-discovery, libopenscreen-platform-impl, libusb, bin2c_fastdeployagent, AdbWinUsbApi |
| 854 | "android_icu4j_srcgen", // depends on unconverted modules: currysrc |
| 855 | "android_icu4j_srcgen_binary", // depends on unconverted modules: android_icu4j_srcgen, currysrc |
Cole Faust | d82f036 | 2023-04-12 17:32:19 -0700 | [diff] [blame] | 856 | "apex_compression_test", // depends on unconverted modules: soong_zip, com.android.example.apex |
Trevor Radcliffe | ef9c900 | 2022-05-13 20:55:35 +0000 | [diff] [blame] | 857 | "apex_manifest_proto_java", // b/210751803, depends on libprotobuf-java-full |
| 858 | "art-script", // depends on unconverted modules: dalvikvm, dex2oat |
| 859 | "bin2c_fastdeployagent", // depends on unconverted modules: deployagent |
Cole Faust | d82f036 | 2023-04-12 17:32:19 -0700 | [diff] [blame] | 860 | "CarHTMLViewer", // depends on unconverted modules android.car-stubs, car-ui-lib |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 861 | "com.android.runtime", // depends on unconverted modules: bionic-linker-config, linkerconfig |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 862 | "currysrc", // depends on unconverted modules: currysrc_org.eclipse, guavalib, jopt-simple-4.9 |
| 863 | "dex2oat-script", // depends on unconverted modules: dex2oat |
Jingwen Chen | 4a7bf60 | 2022-09-21 06:36:37 +0000 | [diff] [blame] | 864 | "generated_android_icu4j_resources", // depends on unconverted modules: android_icu4j_srcgen_binary |
| 865 | "generated_android_icu4j_test_resources", // depends on unconverted modules: android_icu4j_srcgen_binary |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 866 | "host-libprotobuf-java-nano", // b/220869005, depends on libprotobuf-java-nano |
Romain Jobredeaux | 0dfe8d3 | 2022-09-06 16:20:09 -0400 | [diff] [blame] | 867 | "jacoco-stubs", // b/245767077, depends on droidstubs |
Liz Kammer | 6a824f6 | 2022-08-09 13:23:01 -0400 | [diff] [blame] | 868 | "libapexutil", // depends on unconverted modules: apex-info-list-tinyxml |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 869 | "libart", // depends on unconverted modules: apex-info-list-tinyxml, libtinyxml2, libnativeloader-headers, heapprofd_client_api, art_operator_srcs, libcpu_features, libodrstatslog, libelffile, art_cmdlineparser_headers, cpp-define-generator-definitions, libdexfile, libnativebridge, libnativeloader, libsigchain, libartbase, libprofile, cpp-define-generator-asm-support |
| 870 | "libart-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libart-compiler, libdexfile, libprofile, libartbase, libartbase-art-gtest |
| 871 | "libart_headers", // depends on unconverted modules: art_libartbase_headers |
Liz Kammer | 3d13adc | 2022-08-09 09:26:54 -0400 | [diff] [blame] | 872 | "libartbase-art-gtest", // depends on unconverted modules: libgtest_isolated, libart, libart-compiler, libdexfile, libprofile |
| 873 | "libartbased-art-gtest", // depends on unconverted modules: libgtest_isolated, libartd, libartd-compiler, libdexfiled, libprofiled |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 874 | "libartd", // depends on unconverted modules: art_operator_srcs, libcpu_features, libodrstatslog, libelffiled, art_cmdlineparser_headers, cpp-define-generator-definitions, libdexfiled, libnativebridge, libnativeloader, libsigchain, libartbased, libprofiled, cpp-define-generator-asm-support, apex-info-list-tinyxml, libtinyxml2, libnativeloader-headers, heapprofd_client_api |
| 875 | "libartd-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libartd-compiler, libdexfiled, libprofiled, libartbased, libartbased-art-gtest |
Zi Wang | 0a8a129 | 2022-08-30 06:27:01 +0000 | [diff] [blame] | 876 | "libdebuggerd", // depends on unconverted module: libdexfile |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 877 | "libdebuggerd_handler", // depends on unconverted module libdebuggerd_handler_core |
| 878 | "libdebuggerd_handler_core", "libdebuggerd_handler_fallback", // depends on unconverted module libdebuggerd |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 879 | "libdexfiled", // depends on unconverted modules: dexfile_operator_srcs, libartbased, libartpalette |
| 880 | "libfastdeploy_host", // depends on unconverted modules: libandroidfw, libusb, AdbWinApi |
| 881 | "libgmock_main_ndk", // depends on unconverted modules: libgtest_ndk_c++ |
| 882 | "libgmock_ndk", // depends on unconverted modules: libgtest_ndk_c++ |
| 883 | "libnativehelper_lazy_mts_jni", "libnativehelper_mts_jni", // depends on unconverted modules: libnativetesthelper_jni, libgmock_ndk |
| 884 | "libnativetesthelper_jni", // depends on unconverted modules: libgtest_ndk_c++ |
Vinh Tran | c3873e8 | 2022-08-23 20:33:25 -0400 | [diff] [blame] | 885 | "libstatslog", // depends on unconverted modules: libstatspull, statsd-aidl-ndk |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 886 | "libstatslog_art", // depends on unconverted modules: statslog_art.cpp, statslog_art.h |
| 887 | "linker_reloc_bench_main", // depends on unconverted modules: liblinker_reloc_bench_* |
Sam Delmerico | 847178f | 2022-12-15 09:36:35 -0500 | [diff] [blame] | 888 | "malloc-rss-benchmark", // depends on unconverted modules: libmeminfo |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 889 | "pbtombstone", "crash_dump", // depends on libdebuggerd, libunwindstack |
Cole Faust | d82f036 | 2023-04-12 17:32:19 -0700 | [diff] [blame] | 890 | "releasetools_test", // depends on unconverted modules: com.android.apex.compressed.v1 |
Vinh Tran | f19b658 | 2022-09-21 17:01:49 -0400 | [diff] [blame] | 891 | "robolectric-sqlite4java-0.282", // depends on unconverted modules: robolectric-sqlite4java-import, robolectric-sqlite4java-native |
| 892 | "static_crasher", // depends on unconverted modules: libdebuggerd_handler |
| 893 | "test_fips", // depends on unconverted modules: adb |
| 894 | "timezone-host", // depends on unconverted modules: art.module.api.annotations |
| 895 | "truth-host-prebuilt", // depends on unconverted modules: truth-prebuilt |
| 896 | "truth-prebuilt", // depends on unconverted modules: asm-7.0, guava |
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux | bff2e88 | 2022-04-20 18:44:54 +0000 | [diff] [blame] | 897 | |
Jingwen Chen | 5012e07 | 2022-08-04 15:04:43 +0000 | [diff] [blame] | 898 | // '//bionic/libc:libc_bp2build_cc_library_static' is duplicated in the 'deps' attribute of rule |
| 899 | "toybox-static", |
Wei Li | 81852ca | 2022-07-27 00:22:06 -0700 | [diff] [blame] | 900 | |
Liz Kammer | 09d831e | 2022-09-16 09:02:26 -0400 | [diff] [blame] | 901 | // aidl files not created |
| 902 | "overlayable_policy_aidl_interface", |
| 903 | |
Jingwen Chen | 4a7bf60 | 2022-09-21 06:36:37 +0000 | [diff] [blame] | 904 | //prebuilts/tools/common/m2 |
| 905 | // depends on //external/okio:okio-lib, which uses kotlin |
| 906 | "wire-runtime", |
| 907 | |
Jingwen Chen | a051942 | 2022-09-28 08:01:57 +0000 | [diff] [blame] | 908 | // depends on adbd_system_api_recovery, which is a unconverted `phony` module type |
| 909 | "minadbd", |
| 910 | |
| 911 | // depends on android.hardware.health-V2.0-java |
| 912 | "android.hardware.health-translate-java", |
| 913 | |
Jingwen Chen | 263d400 | 2023-03-29 07:15:10 +0000 | [diff] [blame] | 914 | //system/libvintf |
| 915 | // depends on apex-info-list-tinyxml, unconverted xsd_config Soong module type. |
| 916 | "libvintf", |
| 917 | "vintf", |
| 918 | "libassemblevintf", |
| 919 | "assemble_vintf", |
| 920 | "libvintffm", |
| 921 | "vintffm", |
| 922 | "checkvintf", |
| 923 | |
| 924 | // depends on audio_policy_configuration_aidl_default, xsd_config module. |
| 925 | "libaudioserviceexampleimpl", |
| 926 | "android.hardware.audio.service-aidl.example", |
| 927 | |
| 928 | // depends on //system/tools/aidl/build:aidl_metadata_json, which is an aidl_interfaces_metadata custom Soong type. |
| 929 | "aidl_metadata_in_cpp", |
| 930 | "libaidlmetadata", |
Jingwen Chen | 29c4561 | 2023-03-30 05:17:01 +0000 | [diff] [blame] | 931 | "libaidlmetadata_test", |
Jingwen Chen | 263d400 | 2023-03-29 07:15:10 +0000 | [diff] [blame] | 932 | |
| 933 | // depends on //system/tools/hidl/build:hidl_metadata_json, which is an hidl_interfaces_metadata custom Soong type. |
| 934 | "hidl_metadata_in_cpp", |
| 935 | "libhidlmetadata", |
Jingwen Chen | 29c4561 | 2023-03-30 05:17:01 +0000 | [diff] [blame] | 936 | "hidl_metadata_test", |
Jingwen Chen | 263d400 | 2023-03-29 07:15:10 +0000 | [diff] [blame] | 937 | |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 938 | // cc_test related. |
Jingwen Chen | b5edbf9 | 2023-03-20 13:17:49 +0000 | [diff] [blame] | 939 | // b/274164834 "Could not open Configuration file test.cfg" |
| 940 | "svcenc", "svcdec", |
| 941 | |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 942 | // Failing host cc_tests |
| 943 | "memunreachable_unit_test", |
| 944 | "libprocinfo_test", |
| 945 | "ziparchive-tests", |
| 946 | "gtest_isolated_tests", |
| 947 | "libunwindstack_unit_test", |
| 948 | "task_profiles_test", |
| 949 | "power_tests", // failing test on server, but not on host |
| 950 | |
| 951 | // reflect: call of reflect.Value.NumField on interface Value |
| 952 | // affects all cc_tests that depend on art_defaults |
| 953 | "libnativebridge-tests", |
| 954 | "libnativeloader_test", |
| 955 | "art_libnativebridge_cts_tests", |
| 956 | "art_standalone_libdexfile_external_tests", |
| 957 | "art_standalone_libdexfile_support_tests", |
| 958 | "libnativebridge-lazy-tests", |
| 959 | "libnativebridge-test-case", |
| 960 | "libnativebridge2-test-case", |
| 961 | "libnativebridge3-test-case", |
| 962 | "libnativebridge6-test-case", |
| 963 | "libnativebridge6prezygotefork", |
| 964 | |
Liz Kammer | 09d831e | 2022-09-16 09:02:26 -0400 | [diff] [blame] | 965 | "libandroidfw_tests", "aapt2_tests", // failing due to data path issues |
| 966 | |
Jingwen Chen | a485d09 | 2023-04-20 12:34:08 +0000 | [diff] [blame] | 967 | // error: overriding commands for target |
| 968 | // `out/host/linux-x86/nativetest64/gmock_tests/gmock_tests__cc_runner_test', |
| 969 | // previously defined at out/soong/installs-aosp_arm.mk:64919` |
| 970 | "gmock_tests", |
| 971 | |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 972 | // cc_test with unconverted deps, or are device-only (and not verified to pass yet) |
| 973 | "AMRWBEncTest", |
Sam Delmerico | befbf05 | 2023-04-28 11:23:58 -0400 | [diff] [blame] | 974 | "AmrnbDecoderTest", // depends on unconverted modules: libaudioutils, libsndfile |
| 975 | "AmrnbEncoderTest", // depends on unconverted modules: libaudioutils, libsndfile |
| 976 | "AmrwbDecoderTest", // depends on unconverted modules: libsndfile, libaudioutils |
| 977 | "AmrwbEncoderTest", // depends on unconverted modules: libaudioutils, libsndfile |
| 978 | "Mp3DecoderTest", // depends on unconverted modules: libsndfile, libaudioutils |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 979 | "avcdec", |
| 980 | "avcenc", |
| 981 | "bionic-benchmarks-tests", |
| 982 | "bionic-fortify-runtime-asan-test", |
| 983 | "bionic-stress-tests", |
| 984 | "bionic-unit-tests", |
| 985 | "bionic-unit-tests-glibc", |
| 986 | "bionic-unit-tests-static", |
| 987 | "boringssl_crypto_test", |
| 988 | "boringssl_ssl_test", |
| 989 | "cfi_test_helper", |
| 990 | "cfi_test_helper2", |
| 991 | "cintltst32", |
| 992 | "cintltst64", |
| 993 | "compare", |
| 994 | "cpuid", |
| 995 | "debuggerd_test", // depends on unconverted modules: libdebuggerd |
| 996 | "elftls_dlopen_ie_error_helper", |
| 997 | "exec_linker_helper", |
| 998 | "fastdeploy_test", // depends on unconverted modules: AdbWinApi, libadb_host, libandroidfw, libfastdeploy_host, libopenscreen-discovery, libopenscreen-platform-impl, libusb |
| 999 | "fdtrack_test", |
| 1000 | "google-benchmark-test", |
| 1001 | "googletest-param-test-test_ndk", // depends on unconverted modules: libgtest_ndk_c++ |
| 1002 | "gtest-typed-test_test", |
| 1003 | "gtest-typed-test_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++ |
| 1004 | "gtest_ndk_tests", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++ |
| 1005 | "gtest_ndk_tests_no_main", // depends on unconverted modules: libgtest_ndk_c++ |
| 1006 | "gtest_prod_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++ |
| 1007 | "gtest_tests", |
| 1008 | "gtest_tests_no_main", |
| 1009 | "gwp_asan_unittest", |
| 1010 | "half_test", |
| 1011 | "hashcombine_test", |
| 1012 | "hevcdec", |
| 1013 | "hevcenc", |
| 1014 | "hwbinderThroughputTest", // depends on unconverted modules: android.hardware.tests.libhwbinder@1.0-impl.test, android.hardware.tests.libhwbinder@1.0 |
| 1015 | "i444tonv12_eg", |
| 1016 | "icu4c_sample_break", |
| 1017 | "intltest32", |
| 1018 | "intltest64", |
| 1019 | "ion-unit-tests", |
| 1020 | "jemalloc5_integrationtests", |
| 1021 | "jemalloc5_unittests", |
| 1022 | "ld_config_test_helper", |
| 1023 | "ld_preload_test_helper", |
| 1024 | "libBionicCtsGtestMain", // depends on unconverted modules: libgtest_isolated |
| 1025 | "libBionicLoaderTests", // depends on unconverted modules: libmeminfo |
| 1026 | "libapexutil_tests", // depends on unconverted modules: apex-info-list-tinyxml, libapexutil |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 1027 | "libcutils_sockets_test", |
| 1028 | "libexpectedutils_test", |
| 1029 | "libhwbinder_latency", |
Jingwen Chen | f061600 | 2022-09-01 14:28:55 +0000 | [diff] [blame] | 1030 | "liblog-host-test", // failing tests |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 1031 | "libminijail_test", |
| 1032 | "libminijail_unittest_gtest", |
| 1033 | "libpackagelistparser_test", |
| 1034 | "libprotobuf_vendor_suffix_test", |
| 1035 | "libstagefright_amrnbdec_test", // depends on unconverted modules: libsndfile, libaudioutils |
| 1036 | "libstagefright_amrnbenc_test", |
| 1037 | "libstagefright_amrwbdec_test", // depends on unconverted modules: libsndfile, libaudioutils |
| 1038 | "libstagefright_m4vh263enc_test", |
| 1039 | "libstagefright_mp3dec_test", // depends on unconverted modules: libsndfile, libaudioutils |
| 1040 | "libstatssocket_test", |
| 1041 | "libvndksupport-tests", |
| 1042 | "libyuv_unittest", |
| 1043 | "linker-unit-tests", |
| 1044 | "malloc_debug_system_tests", |
| 1045 | "malloc_debug_unit_tests", |
| 1046 | "malloc_hooks_system_tests", |
| 1047 | "mat_test", |
| 1048 | "mathtest", |
| 1049 | "memunreachable_binder_test", // depends on unconverted modules: libbinder |
| 1050 | "memunreachable_test", |
| 1051 | "metadata_tests", |
| 1052 | "minijail0_cli_unittest_gtest", |
| 1053 | "mpeg2dec", |
| 1054 | "mvcdec", |
| 1055 | "ns_hidden_child_helper", |
| 1056 | "pngtest", |
| 1057 | "preinit_getauxval_test_helper", |
| 1058 | "preinit_syscall_test_helper", |
| 1059 | "psnr", |
| 1060 | "quat_test", |
| 1061 | "rappor-tests", // depends on unconverted modules: jsr305, guava |
| 1062 | "scudo_unit_tests", |
| 1063 | "stats-log-api-gen-test", // depends on unconverted modules: libstats_proto_host |
| 1064 | "syscall_filter_unittest_gtest", |
| 1065 | "sysprop_test", // depends on unconverted modules: libcom.android.sysprop.tests |
| 1066 | "thread_exit_cb_helper", |
| 1067 | "tls_properties_helper", |
| 1068 | "ulp", |
| 1069 | "vec_test", |
| 1070 | "yuvconstants", |
| 1071 | "yuvconvert", |
| 1072 | "zipalign_tests", |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 1073 | |
| 1074 | // cc_test_library |
| 1075 | "clang_diagnostic_tests", |
| 1076 | "exec_linker_helper_lib", |
| 1077 | "fortify_disabled_for_tidy", |
| 1078 | "ld_config_test_helper_lib1", |
| 1079 | "ld_config_test_helper_lib2", |
| 1080 | "ld_config_test_helper_lib3", |
| 1081 | "ld_preload_test_helper_lib1", |
| 1082 | "ld_preload_test_helper_lib2", |
| 1083 | "libBionicElfTlsLoaderTests", |
| 1084 | "libBionicElfTlsTests", |
| 1085 | "libBionicElfTlsTests", |
| 1086 | "libBionicFramePointerTests", |
| 1087 | "libBionicFramePointerTests", |
| 1088 | "libBionicStandardTests", |
| 1089 | "libBionicStandardTests", |
| 1090 | "libBionicTests", |
| 1091 | "libart-broken", |
| 1092 | "libatest_simple_zip", |
| 1093 | "libcfi-test", |
| 1094 | "libcfi-test-bad", |
| 1095 | "libcrash_test", |
Liz Kammer | f627509 | 2023-04-11 11:06:07 -0400 | [diff] [blame] | 1096 | "libcrypto_fuzz_unsafe", |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 1097 | "libdl_preempt_test_1", |
| 1098 | "libdl_preempt_test_2", |
| 1099 | "libdl_test_df_1_global", |
| 1100 | "libdlext_test", |
| 1101 | "libdlext_test_different_soname", |
| 1102 | "libdlext_test_fd", |
| 1103 | "libdlext_test_norelro", |
| 1104 | "libdlext_test_recursive", |
| 1105 | "libdlext_test_zip", |
Vinh Tran | 220fb8b | 2022-10-04 12:04:17 -0400 | [diff] [blame] | 1106 | "libdvrcommon_test", |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 1107 | "libfortify1-new-tests-clang", |
| 1108 | "libfortify1-new-tests-clang", |
| 1109 | "libfortify1-tests-clang", |
| 1110 | "libfortify1-tests-clang", |
| 1111 | "libfortify2-new-tests-clang", |
| 1112 | "libfortify2-new-tests-clang", |
| 1113 | "libfortify2-tests-clang", |
| 1114 | "libfortify2-tests-clang", |
| 1115 | "libgnu-hash-table-library", |
| 1116 | "libicutest_static", |
| 1117 | "liblinker_reloc_bench_000", |
| 1118 | "liblinker_reloc_bench_001", |
| 1119 | "liblinker_reloc_bench_002", |
| 1120 | "liblinker_reloc_bench_003", |
| 1121 | "liblinker_reloc_bench_004", |
| 1122 | "liblinker_reloc_bench_005", |
| 1123 | "liblinker_reloc_bench_006", |
| 1124 | "liblinker_reloc_bench_007", |
| 1125 | "liblinker_reloc_bench_008", |
| 1126 | "liblinker_reloc_bench_009", |
| 1127 | "liblinker_reloc_bench_010", |
| 1128 | "liblinker_reloc_bench_011", |
| 1129 | "liblinker_reloc_bench_012", |
| 1130 | "liblinker_reloc_bench_013", |
| 1131 | "liblinker_reloc_bench_014", |
| 1132 | "liblinker_reloc_bench_015", |
| 1133 | "liblinker_reloc_bench_016", |
| 1134 | "liblinker_reloc_bench_017", |
| 1135 | "liblinker_reloc_bench_018", |
| 1136 | "liblinker_reloc_bench_019", |
| 1137 | "liblinker_reloc_bench_020", |
| 1138 | "liblinker_reloc_bench_021", |
| 1139 | "liblinker_reloc_bench_022", |
| 1140 | "liblinker_reloc_bench_023", |
| 1141 | "liblinker_reloc_bench_024", |
| 1142 | "liblinker_reloc_bench_025", |
| 1143 | "liblinker_reloc_bench_026", |
| 1144 | "liblinker_reloc_bench_027", |
| 1145 | "liblinker_reloc_bench_028", |
| 1146 | "liblinker_reloc_bench_029", |
| 1147 | "liblinker_reloc_bench_030", |
| 1148 | "liblinker_reloc_bench_031", |
| 1149 | "liblinker_reloc_bench_032", |
| 1150 | "liblinker_reloc_bench_033", |
| 1151 | "liblinker_reloc_bench_034", |
| 1152 | "liblinker_reloc_bench_035", |
| 1153 | "liblinker_reloc_bench_036", |
| 1154 | "liblinker_reloc_bench_037", |
| 1155 | "liblinker_reloc_bench_038", |
| 1156 | "liblinker_reloc_bench_039", |
| 1157 | "liblinker_reloc_bench_040", |
| 1158 | "liblinker_reloc_bench_041", |
| 1159 | "liblinker_reloc_bench_042", |
| 1160 | "liblinker_reloc_bench_043", |
| 1161 | "liblinker_reloc_bench_044", |
| 1162 | "liblinker_reloc_bench_045", |
| 1163 | "liblinker_reloc_bench_046", |
| 1164 | "liblinker_reloc_bench_047", |
| 1165 | "liblinker_reloc_bench_048", |
| 1166 | "liblinker_reloc_bench_049", |
| 1167 | "liblinker_reloc_bench_050", |
| 1168 | "liblinker_reloc_bench_051", |
| 1169 | "liblinker_reloc_bench_052", |
| 1170 | "liblinker_reloc_bench_053", |
| 1171 | "liblinker_reloc_bench_054", |
| 1172 | "liblinker_reloc_bench_055", |
| 1173 | "liblinker_reloc_bench_056", |
| 1174 | "liblinker_reloc_bench_057", |
| 1175 | "liblinker_reloc_bench_058", |
| 1176 | "liblinker_reloc_bench_059", |
| 1177 | "liblinker_reloc_bench_060", |
| 1178 | "liblinker_reloc_bench_061", |
| 1179 | "liblinker_reloc_bench_062", |
| 1180 | "liblinker_reloc_bench_063", |
| 1181 | "liblinker_reloc_bench_064", |
| 1182 | "liblinker_reloc_bench_065", |
| 1183 | "liblinker_reloc_bench_066", |
| 1184 | "liblinker_reloc_bench_067", |
| 1185 | "liblinker_reloc_bench_068", |
| 1186 | "liblinker_reloc_bench_069", |
| 1187 | "liblinker_reloc_bench_070", |
| 1188 | "liblinker_reloc_bench_071", |
| 1189 | "liblinker_reloc_bench_072", |
| 1190 | "liblinker_reloc_bench_073", |
| 1191 | "liblinker_reloc_bench_074", |
| 1192 | "liblinker_reloc_bench_075", |
| 1193 | "liblinker_reloc_bench_076", |
| 1194 | "liblinker_reloc_bench_077", |
| 1195 | "liblinker_reloc_bench_078", |
| 1196 | "liblinker_reloc_bench_079", |
| 1197 | "liblinker_reloc_bench_080", |
| 1198 | "liblinker_reloc_bench_081", |
| 1199 | "liblinker_reloc_bench_082", |
| 1200 | "liblinker_reloc_bench_083", |
| 1201 | "liblinker_reloc_bench_084", |
| 1202 | "liblinker_reloc_bench_085", |
| 1203 | "liblinker_reloc_bench_086", |
| 1204 | "liblinker_reloc_bench_087", |
| 1205 | "liblinker_reloc_bench_088", |
| 1206 | "liblinker_reloc_bench_089", |
| 1207 | "liblinker_reloc_bench_090", |
| 1208 | "liblinker_reloc_bench_091", |
| 1209 | "liblinker_reloc_bench_092", |
| 1210 | "liblinker_reloc_bench_093", |
| 1211 | "liblinker_reloc_bench_094", |
| 1212 | "liblinker_reloc_bench_095", |
| 1213 | "liblinker_reloc_bench_096", |
| 1214 | "liblinker_reloc_bench_097", |
| 1215 | "liblinker_reloc_bench_098", |
| 1216 | "liblinker_reloc_bench_099", |
| 1217 | "liblinker_reloc_bench_100", |
| 1218 | "liblinker_reloc_bench_101", |
| 1219 | "liblinker_reloc_bench_102", |
| 1220 | "liblinker_reloc_bench_103", |
| 1221 | "liblinker_reloc_bench_104", |
| 1222 | "liblinker_reloc_bench_105", |
| 1223 | "liblinker_reloc_bench_106", |
| 1224 | "liblinker_reloc_bench_107", |
| 1225 | "liblinker_reloc_bench_108", |
| 1226 | "liblinker_reloc_bench_109", |
| 1227 | "liblinker_reloc_bench_110", |
| 1228 | "liblinker_reloc_bench_111", |
| 1229 | "liblinker_reloc_bench_112", |
| 1230 | "liblinker_reloc_bench_113", |
| 1231 | "liblinker_reloc_bench_114", |
| 1232 | "liblinker_reloc_bench_115", |
| 1233 | "liblinker_reloc_bench_116", |
| 1234 | "liblinker_reloc_bench_117", |
| 1235 | "liblinker_reloc_bench_118", |
| 1236 | "liblinker_reloc_bench_119", |
| 1237 | "liblinker_reloc_bench_120", |
| 1238 | "liblinker_reloc_bench_121", |
| 1239 | "liblinker_reloc_bench_122", |
| 1240 | "liblinker_reloc_bench_123", |
| 1241 | "liblinker_reloc_bench_124", |
| 1242 | "liblinker_reloc_bench_125", |
| 1243 | "liblinker_reloc_bench_126", |
| 1244 | "liblinker_reloc_bench_127", |
| 1245 | "liblinker_reloc_bench_128", |
| 1246 | "liblinker_reloc_bench_129", |
| 1247 | "liblinker_reloc_bench_130", |
| 1248 | "liblinker_reloc_bench_131", |
| 1249 | "liblinker_reloc_bench_132", |
| 1250 | "liblinker_reloc_bench_133", |
| 1251 | "liblinker_reloc_bench_134", |
| 1252 | "liblinker_reloc_bench_135", |
| 1253 | "liblinker_reloc_bench_136", |
| 1254 | "liblinker_reloc_bench_137", |
| 1255 | "liblinker_reloc_bench_138", |
| 1256 | "liblinker_reloc_bench_139", |
| 1257 | "liblinker_reloc_bench_140", |
| 1258 | "liblinker_reloc_bench_141", |
| 1259 | "liblinker_reloc_bench_142", |
| 1260 | "liblinker_reloc_bench_143", |
| 1261 | "liblinker_reloc_bench_144", |
| 1262 | "liblinker_reloc_bench_145", |
| 1263 | "liblinker_reloc_bench_146", |
| 1264 | "liblinker_reloc_bench_147", |
| 1265 | "liblinker_reloc_bench_148", |
| 1266 | "liblinker_reloc_bench_149", |
| 1267 | "liblinker_reloc_bench_150", |
| 1268 | "liblinker_reloc_bench_151", |
| 1269 | "liblinker_reloc_bench_152", |
| 1270 | "liblinker_reloc_bench_153", |
| 1271 | "liblinker_reloc_bench_154", |
| 1272 | "liblinker_reloc_bench_155", |
| 1273 | "liblinker_reloc_bench_156", |
| 1274 | "liblinker_reloc_bench_157", |
| 1275 | "liblinker_reloc_bench_158", |
| 1276 | "liblinker_reloc_bench_159", |
| 1277 | "liblinker_reloc_bench_160", |
| 1278 | "liblinker_reloc_bench_161", |
| 1279 | "liblinker_reloc_bench_162", |
| 1280 | "liblinker_reloc_bench_163", |
| 1281 | "liblinker_reloc_bench_164", |
| 1282 | "liblinker_reloc_bench_165", |
| 1283 | "liblinker_reloc_bench_166", |
| 1284 | "liblinker_reloc_bench_167", |
| 1285 | "liblinker_reloc_bench_168", |
| 1286 | "libns_hidden_child_app", |
| 1287 | "libns_hidden_child_global", |
| 1288 | "libns_hidden_child_internal", |
| 1289 | "libns_hidden_child_public", |
| 1290 | "libnstest_dlopened", |
| 1291 | "libnstest_ns_a_public1", |
| 1292 | "libnstest_ns_a_public1_internal", |
| 1293 | "libnstest_ns_b_public2", |
| 1294 | "libnstest_ns_b_public3", |
| 1295 | "libnstest_private", |
| 1296 | "libnstest_private_external", |
| 1297 | "libnstest_public", |
| 1298 | "libnstest_public_internal", |
| 1299 | "libnstest_root", |
| 1300 | "libnstest_root_not_isolated", |
| 1301 | "librelocations-ANDROID_REL", |
| 1302 | "librelocations-ANDROID_RELR", |
| 1303 | "librelocations-RELR", |
| 1304 | "librelocations-fat", |
| 1305 | "libsegment_gap_inner", |
| 1306 | "libsegment_gap_outer", |
Liz Kammer | f627509 | 2023-04-11 11:06:07 -0400 | [diff] [blame] | 1307 | "libssl_fuzz_unsafe", |
Jingwen Chen | 537242c | 2022-08-24 11:53:27 +0000 | [diff] [blame] | 1308 | "libstatssocket_private", |
| 1309 | "libsysv-hash-table-library", |
| 1310 | "libtest_atexit", |
| 1311 | "libtest_check_order_dlsym", |
| 1312 | "libtest_check_order_dlsym_1_left", |
| 1313 | "libtest_check_order_dlsym_2_right", |
| 1314 | "libtest_check_order_dlsym_3_c", |
| 1315 | "libtest_check_order_dlsym_a", |
| 1316 | "libtest_check_order_dlsym_b", |
| 1317 | "libtest_check_order_dlsym_d", |
| 1318 | "libtest_check_order_reloc_root", |
| 1319 | "libtest_check_order_reloc_root_1", |
| 1320 | "libtest_check_order_reloc_root_2", |
| 1321 | "libtest_check_order_reloc_siblings", |
| 1322 | "libtest_check_order_reloc_siblings_1", |
| 1323 | "libtest_check_order_reloc_siblings_2", |
| 1324 | "libtest_check_order_reloc_siblings_3", |
| 1325 | "libtest_check_order_reloc_siblings_a", |
| 1326 | "libtest_check_order_reloc_siblings_b", |
| 1327 | "libtest_check_order_reloc_siblings_c", |
| 1328 | "libtest_check_order_reloc_siblings_c_1", |
| 1329 | "libtest_check_order_reloc_siblings_c_2", |
| 1330 | "libtest_check_order_reloc_siblings_d", |
| 1331 | "libtest_check_order_reloc_siblings_e", |
| 1332 | "libtest_check_order_reloc_siblings_f", |
| 1333 | "libtest_check_rtld_next_from_library", |
| 1334 | "libtest_dlopen_df_1_global", |
| 1335 | "libtest_dlopen_from_ctor", |
| 1336 | "libtest_dlopen_from_ctor_main", |
| 1337 | "libtest_dlopen_weak_undefined_func", |
| 1338 | "libtest_dlsym_df_1_global", |
| 1339 | "libtest_dlsym_from_this", |
| 1340 | "libtest_dlsym_from_this_child", |
| 1341 | "libtest_dlsym_from_this_grandchild", |
| 1342 | "libtest_dlsym_weak_func", |
| 1343 | "libtest_dt_runpath_a", |
| 1344 | "libtest_dt_runpath_b", |
| 1345 | "libtest_dt_runpath_c", |
| 1346 | "libtest_dt_runpath_d", |
| 1347 | "libtest_dt_runpath_d_zip", |
| 1348 | "libtest_dt_runpath_x", |
| 1349 | "libtest_dt_runpath_y", |
| 1350 | "libtest_elftls_dynamic", |
| 1351 | "libtest_elftls_dynamic_filler_1", |
| 1352 | "libtest_elftls_dynamic_filler_2", |
| 1353 | "libtest_elftls_dynamic_filler_3", |
| 1354 | "libtest_elftls_shared_var", |
| 1355 | "libtest_elftls_shared_var_ie", |
| 1356 | "libtest_elftls_tprel", |
| 1357 | "libtest_empty", |
| 1358 | "libtest_ifunc", |
| 1359 | "libtest_ifunc_variable", |
| 1360 | "libtest_ifunc_variable_impl", |
| 1361 | "libtest_indirect_thread_local_dtor", |
| 1362 | "libtest_init_fini_order_child", |
| 1363 | "libtest_init_fini_order_grand_child", |
| 1364 | "libtest_init_fini_order_root", |
| 1365 | "libtest_init_fini_order_root2", |
| 1366 | "libtest_missing_symbol", |
| 1367 | "libtest_missing_symbol_child_private", |
| 1368 | "libtest_missing_symbol_child_public", |
| 1369 | "libtest_missing_symbol_root", |
| 1370 | "libtest_nodelete_1", |
| 1371 | "libtest_nodelete_2", |
| 1372 | "libtest_nodelete_dt_flags_1", |
| 1373 | "libtest_pthread_atfork", |
| 1374 | "libtest_relo_check_dt_needed_order", |
| 1375 | "libtest_relo_check_dt_needed_order_1", |
| 1376 | "libtest_relo_check_dt_needed_order_2", |
| 1377 | "libtest_simple", |
| 1378 | "libtest_thread_local_dtor", |
| 1379 | "libtest_thread_local_dtor2", |
| 1380 | "libtest_two_parents_child", |
| 1381 | "libtest_two_parents_parent1", |
| 1382 | "libtest_two_parents_parent2", |
| 1383 | "libtest_versioned_lib", |
| 1384 | "libtest_versioned_libv1", |
| 1385 | "libtest_versioned_libv2", |
| 1386 | "libtest_versioned_otherlib", |
| 1387 | "libtest_versioned_otherlib_empty", |
| 1388 | "libtest_versioned_uselibv1", |
| 1389 | "libtest_versioned_uselibv2", |
| 1390 | "libtest_versioned_uselibv2_other", |
| 1391 | "libtest_versioned_uselibv3_other", |
| 1392 | "libtest_with_dependency", |
| 1393 | "libtest_with_dependency_loop", |
| 1394 | "libtest_with_dependency_loop_a", |
| 1395 | "libtest_with_dependency_loop_b", |
| 1396 | "libtest_with_dependency_loop_b_tmp", |
| 1397 | "libtest_with_dependency_loop_c", |
| 1398 | "libtestshared", |
Vinh Tran | 583a07d | 2022-09-20 17:25:34 -0400 | [diff] [blame] | 1399 | |
| 1400 | // depends on unconverted libprotobuf-java-nano |
| 1401 | "dnsresolverprotosnano", |
| 1402 | "launcherprotosnano", |
| 1403 | "datastallprotosnano", |
| 1404 | "devicepolicyprotosnano", |
Wei Li | 7d8f618 | 2022-10-11 14:38:16 -0700 | [diff] [blame] | 1405 | "ota_metadata_proto_java", |
| 1406 | "merge_ota", |
| 1407 | |
| 1408 | // releasetools |
| 1409 | "releasetools_fsverity_metadata_generator", |
| 1410 | "verity_utils", |
| 1411 | "check_ota_package_signature", |
| 1412 | "check_target_files_vintf", |
| 1413 | "releasetools_check_target_files_vintf", |
| 1414 | "releasetools_verity_utils", |
| 1415 | "build_image", |
| 1416 | "ota_from_target_files", |
| 1417 | "releasetools_ota_from_target_files", |
| 1418 | "releasetools_build_image", |
| 1419 | "add_img_to_target_files", |
| 1420 | "releasetools_add_img_to_target_files", |
| 1421 | "fsverity_metadata_generator", |
| 1422 | "sign_target_files_apks", |
| 1423 | |
| 1424 | // depends on the support of yacc file |
| 1425 | "libapplypatch", |
| 1426 | "libapplypatch_modes", |
| 1427 | "applypatch", |
Yu Liu | 6c999ef | 2022-10-19 16:41:10 +0000 | [diff] [blame] | 1428 | |
| 1429 | // TODO(b/254476335): disable the following due to this bug |
| 1430 | "libapexinfo", |
| 1431 | "libapexinfo_tests", |
Colin Cross | 20c89f1 | 2022-12-05 16:47:44 -0800 | [diff] [blame] | 1432 | |
| 1433 | // uses glob in $(locations) |
| 1434 | "libc_musl_sysroot", |
Kevin Dagostino | 2c3be41 | 2023-02-07 04:10:27 +0000 | [diff] [blame] | 1435 | |
| 1436 | // TODO(b/266459895): depends on libunwindstack |
| 1437 | "libutils_test", |
Romain Jobredeaux | 2eef2e1 | 2023-02-24 12:07:08 -0500 | [diff] [blame] | 1438 | |
Cole Faust | d82f036 | 2023-04-12 17:32:19 -0700 | [diff] [blame] | 1439 | // Has dependencies on other tools like ziptool, bp2build'd data properties don't work with these tests atm |
| 1440 | "ziparchive_tests_large", |
| 1441 | "mkbootimg_test", |
| 1442 | "certify_bootimg_test", |
| 1443 | |
| 1444 | // Despite being _host module types, these require devices to run |
| 1445 | "logd_integration_test", |
| 1446 | "mobly-hello-world-test", |
| 1447 | "mobly-multidevice-test", |
| 1448 | |
Romain Jobredeaux | 2eef2e1 | 2023-02-24 12:07:08 -0500 | [diff] [blame] | 1449 | // TODO(b/274805756): Support core_platform and current java APIs |
| 1450 | "fake-framework", |
| 1451 | |
| 1452 | // TODO(b/277616982): These modules depend on private java APIs, but maybe they don't need to. |
| 1453 | "StreamingProtoTest", |
| 1454 | "textclassifierprotoslite", |
| 1455 | "styleprotoslite", |
| 1456 | "CtsPkgInstallerConstants", |
| 1457 | "guava-android-testlib", |
Sam Delmerico | befbf05 | 2023-04-28 11:23:58 -0400 | [diff] [blame] | 1458 | |
| 1459 | "MetaDataBaseUnitTest", // depends on libstagefright |
| 1460 | "AVCUtilsUnitTest", // depends on libstagefright |
| 1461 | "ColorUtilsTest", // depends on libmediandk |
Wei Li | 74e3e00 | 2023-04-26 12:15:55 -0700 | [diff] [blame] | 1462 | |
| 1463 | // python_test_host with test data |
| 1464 | "sbom_writers_test", |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 1465 | } |
| 1466 | |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 1467 | MixedBuildsDisabledList = []string{ |
Liz Kammer | 63367e1 | 2022-06-13 19:35:12 +0000 | [diff] [blame] | 1468 | "libruy_static", "libtflite_kernel_utils", // TODO(b/237315968); Depend on prebuilt stl, not from source |
| 1469 | |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 1470 | "art_libdexfile_dex_instruction_list_header", // breaks libart_mterp.armng, header not found |
| 1471 | |
| 1472 | "libbrotli", // http://b/198585397, ld.lld: error: bionic/libc/arch-arm64/generic/bionic/memmove.S:95:(.text+0x10): relocation R_AARCH64_CONDBR19 out of range: -1404176 is not in [-1048576, 1048575]; references __memcpy |
| 1473 | "minijail_constants_json", // http://b/200899432, bazel-built cc_genrule does not work in mixed build when it is a dependency of another soong module. |
| 1474 | |
| 1475 | "cap_names.h", // TODO(b/204913827) runfiles need to be handled in mixed builds |
| 1476 | "libcap", // TODO(b/204913827) runfiles need to be handled in mixed builds |
| 1477 | "libprotobuf-cpp-full", "libprotobuf-cpp-lite", // Unsupported product&vendor suffix. b/204811222 and b/204810610. |
| 1478 | |
| 1479 | // Depends on libprotobuf-cpp-* |
| 1480 | "libadb_pairing_connection", |
| 1481 | "libadb_pairing_connection_static", |
| 1482 | "libadb_pairing_server", "libadb_pairing_server_static", |
| 1483 | |
Alex Márquez Pérez Muñíz Díaz Púras Thaureaux | a56e970 | 2022-02-23 18:39:59 -0500 | [diff] [blame] | 1484 | // TODO(b/240563612) Needing `stem` selection support for cc_binary |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 1485 | "crasher", |
Sam Delmerico | 277795c | 2022-02-25 17:04:37 +0000 | [diff] [blame] | 1486 | |
| 1487 | // java_import[_host] issues |
| 1488 | // tradefed prebuilts depend on libprotobuf |
| 1489 | "prebuilt_tradefed", |
| 1490 | "prebuilt_tradefed-test-framework", |
| 1491 | // handcrafted BUILD.bazel files in //prebuilts/... |
| 1492 | "prebuilt_r8lib-prebuilt", |
| 1493 | "prebuilt_sdk-core-lambda-stubs", |
| 1494 | "prebuilt_android-support-collections-nodeps", |
| 1495 | "prebuilt_android-arch-core-common-nodeps", |
| 1496 | "prebuilt_android-arch-lifecycle-common-java8-nodeps", |
| 1497 | "prebuilt_android-arch-lifecycle-common-nodeps", |
| 1498 | "prebuilt_android-support-annotations-nodeps", |
| 1499 | "prebuilt_android-arch-paging-common-nodeps", |
| 1500 | "prebuilt_android-arch-room-common-nodeps", |
Sam Delmerico | 0b66fb2 | 2022-08-23 15:17:29 -0400 | [diff] [blame] | 1501 | // TODO(b/217750501) exclude_dirs property not supported |
| 1502 | "prebuilt_kotlin-reflect", |
| 1503 | "prebuilt_kotlin-stdlib", |
| 1504 | "prebuilt_kotlin-stdlib-jdk7", |
| 1505 | "prebuilt_kotlin-stdlib-jdk8", |
| 1506 | "prebuilt_kotlin-test", |
| 1507 | // TODO(b/217750501) exclude_files property not supported |
Sam Delmerico | 0b66fb2 | 2022-08-23 15:17:29 -0400 | [diff] [blame] | 1508 | "prebuilt_currysrc_org.eclipse", |
Yu Liu | 828c406 | 2023-01-23 20:56:46 +0000 | [diff] [blame] | 1509 | |
| 1510 | // TODO(b/266459895): re-enable libunwindstack |
| 1511 | "libunwindstack", |
| 1512 | "libunwindstack_stdout_log", |
| 1513 | "libunwindstack_no_dex", |
| 1514 | "libunwindstack_utils", |
| 1515 | "unwind_reg_info", |
| 1516 | "libunwindstack_local", |
| 1517 | "unwind_for_offline", |
| 1518 | "unwind", |
| 1519 | "unwind_info", |
| 1520 | "unwind_symbols", |
Yu Liu | 828c406 | 2023-01-23 20:56:46 +0000 | [diff] [blame] | 1521 | "libEGL", |
Yu Liu | 828c406 | 2023-01-23 20:56:46 +0000 | [diff] [blame] | 1522 | "libGLESv2", |
Liz Kammer | f235505 | 2023-03-22 11:14:34 -0400 | [diff] [blame] | 1523 | "libc_malloc_debug", |
| 1524 | "libcodec2_hidl@1.0", |
Yu Liu | 828c406 | 2023-01-23 20:56:46 +0000 | [diff] [blame] | 1525 | "libcodec2_hidl@1.1", |
Yu Liu | 828c406 | 2023-01-23 20:56:46 +0000 | [diff] [blame] | 1526 | "libcodec2_hidl@1.2", |
Liz Kammer | f235505 | 2023-03-22 11:14:34 -0400 | [diff] [blame] | 1527 | "libfdtrack", |
| 1528 | "libgui", |
| 1529 | "libgui_bufferqueue_static", |
| 1530 | "libmedia_codecserviceregistrant", |
| 1531 | "libstagefright_bufferqueue_helper_novndk", |
Yu Liu | 828c406 | 2023-01-23 20:56:46 +0000 | [diff] [blame] | 1532 | "libutils_test", |
| 1533 | "libutilscallstack", |
Liz Kammer | f235505 | 2023-03-22 11:14:34 -0400 | [diff] [blame] | 1534 | "mediaswcodec", |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 1535 | } |
Chris Parsons | ef615e5 | 2022-08-18 22:04:11 -0400 | [diff] [blame] | 1536 | |
Chris Parsons | 66fc745 | 2022-11-04 13:26:17 -0400 | [diff] [blame] | 1537 | // Bazel prod-mode allowlist. Modules in this list are built by Bazel |
| 1538 | // in either prod mode or staging mode. |
Jingwen Chen | 889f2f2 | 2022-12-16 08:16:01 +0000 | [diff] [blame] | 1539 | ProdMixedBuildsEnabledList = []string{ |
Jingwen Chen | 01addfc | 2023-03-13 12:49:52 +0000 | [diff] [blame] | 1540 | // M5: tzdata launch |
Jingwen Chen | 889f2f2 | 2022-12-16 08:16:01 +0000 | [diff] [blame] | 1541 | "com.android.tzdata", |
| 1542 | "test1_com.android.tzdata", |
Jingwen Chen | 6134211 | 2023-04-11 08:49:01 +0000 | [diff] [blame] | 1543 | "test3_com.android.tzdata", |
Jingwen Chen | 01addfc | 2023-03-13 12:49:52 +0000 | [diff] [blame] | 1544 | // M7: adbd launch |
Jingwen Chen | 98bf5cc | 2022-12-14 13:27:25 +0000 | [diff] [blame] | 1545 | "com.android.adbd", |
| 1546 | "test_com.android.adbd", |
| 1547 | "adbd_test", |
| 1548 | "adb_crypto_test", |
| 1549 | "adb_pairing_auth_test", |
| 1550 | "adb_pairing_connection_test", |
| 1551 | "adb_tls_connection_test", |
Jingwen Chen | 01addfc | 2023-03-13 12:49:52 +0000 | [diff] [blame] | 1552 | // M9: mixed builds for mainline trains launch |
| 1553 | "api_fingerprint", |
Sam Delmerico | 96e5370 | 2023-04-07 15:09:37 -0400 | [diff] [blame] | 1554 | // M11: neuralnetworks launch |
| 1555 | "com.android.neuralnetworks", |
| 1556 | "test_com.android.neuralnetworks", |
| 1557 | "libneuralnetworks", |
| 1558 | "libneuralnetworks_static", |
Jingwen Chen | 889f2f2 | 2022-12-16 08:16:01 +0000 | [diff] [blame] | 1559 | } |
MarkDacek | b78465d | 2022-10-18 20:10:16 +0000 | [diff] [blame] | 1560 | |
Chris Parsons | 66fc745 | 2022-11-04 13:26:17 -0400 | [diff] [blame] | 1561 | // Staging-mode allowlist. Modules in this list are only built |
| 1562 | // by Bazel with --bazel-mode-staging. This list should contain modules |
| 1563 | // which will soon be added to the prod allowlist. |
MarkDacek | 421a4d6 | 2022-12-13 21:17:08 +0000 | [diff] [blame] | 1564 | // It is implicit that all modules in ProdMixedBuildsEnabledList will |
| 1565 | // also be built - do not add them to this list. |
Sam Delmerico | befbf05 | 2023-04-28 11:23:58 -0400 | [diff] [blame] | 1566 | StagingMixedBuildsEnabledList = []string{ |
| 1567 | // M13: media.swcodec launch |
Liz Kammer | 3c226ff | 2023-05-12 08:49:54 -0400 | [diff] [blame] | 1568 | // TODO(b/282042844): reenable |
| 1569 | // "com.android.media.swcodec", |
| 1570 | // "test_com.android.media.swcodec", |
| 1571 | // "libstagefright_foundation", |
Sam Delmerico | befbf05 | 2023-04-28 11:23:58 -0400 | [diff] [blame] | 1572 | } |
Yu Liu | e431240 | 2023-01-18 09:15:31 -0800 | [diff] [blame] | 1573 | |
| 1574 | // These should be the libs that are included by the apexes in the ProdMixedBuildsEnabledList |
Jingwen Chen | 01addfc | 2023-03-13 12:49:52 +0000 | [diff] [blame] | 1575 | ProdDclaMixedBuildsEnabledList = []string{ |
Yu Liu | e431240 | 2023-01-18 09:15:31 -0800 | [diff] [blame] | 1576 | "libbase", |
| 1577 | "libc++", |
| 1578 | "libcrypto", |
| 1579 | "libcutils", |
| 1580 | } |
| 1581 | |
Jingwen Chen | 01addfc | 2023-03-13 12:49:52 +0000 | [diff] [blame] | 1582 | // These should be the libs that are included by the apexes in the StagingMixedBuildsEnabledList |
| 1583 | StagingDclaMixedBuildsEnabledList = []string{} |
| 1584 | |
Yu Liu | e431240 | 2023-01-18 09:15:31 -0800 | [diff] [blame] | 1585 | // TODO(b/269342245): Enable the rest of the DCLA libs |
| 1586 | // "libssl", |
| 1587 | // "libstagefright_flacdec", |
| 1588 | // "libutils", |
Jeongik Cha | e114e60 | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 1589 | |
Jeongik Cha | b745e2e | 2023-04-11 14:28:43 +0900 | [diff] [blame] | 1590 | // The list of module types which are expected to spend lots of build time. |
| 1591 | // With `--ninja_weight_source=soong`, ninja builds these module types and deps first. |
| 1592 | HugeModuleTypePrefixMap = map[string]int{ |
| 1593 | "rust_": HIGH_PRIORITIZED_WEIGHT, |
| 1594 | "droidstubs": DEFAULT_PRIORITIZED_WEIGHT, |
| 1595 | "art_": DEFAULT_PRIORITIZED_WEIGHT, |
| 1596 | "ndk_library": DEFAULT_PRIORITIZED_WEIGHT, |
Jeongik Cha | e114e60 | 2023-03-19 00:12:39 +0900 | [diff] [blame] | 1597 | } |
Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame] | 1598 | ) |