blob: aca4b208446bc39097ea69626d2147f4b3425742 [file] [log] [blame]
Sam Delmerico24c56032022-03-28 19:53:03 +00001// 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
15package allowlists
16
17// Configuration to decide if modules in a directory should default to true/false for bp2build_available
18type Bp2BuildConfig map[string]BazelConversionConfigEntry
19type BazelConversionConfigEntry int
20
21const (
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
MarkDacek756b2962022-10-13 17:50:17 +000036
37 // all modules in this package and subpackages default to bp2build_available: false.
38 // allows modules to opt-in.
39 Bp2BuildDefaultFalseRecursively
Jeongik Chae114e602023-03-19 00:12:39 +090040
41 DEFAULT_NINJA_WEIGHT = 1000
Sam Delmerico24c56032022-03-28 19:53:03 +000042)
43
44var (
45 Bp2buildDefaultConfig = Bp2BuildConfig{
Sasha Smundak8bea2672022-08-04 13:31:14 -070046 "art": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040047 "art/libartbase": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +000048 "art/libartpalette": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040049 "art/libdexfile": Bp2BuildDefaultTrueRecursively,
50 "art/libnativebridge": Bp2BuildDefaultTrueRecursively,
51 "art/runtime": Bp2BuildDefaultTrueRecursively,
52 "art/tools": Bp2BuildDefaultTrue,
53 "bionic": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux77488af2022-11-07 16:53:19 +000054 "bootable/recovery/applypatch": Bp2BuildDefaultTrue,
Jingwen Chena0519422022-09-28 08:01:57 +000055 "bootable/recovery/minadbd": Bp2BuildDefaultTrue,
56 "bootable/recovery/minui": Bp2BuildDefaultTrue,
57 "bootable/recovery/recovery_utils": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040058 "bootable/recovery/tools/recovery_l10n": Bp2BuildDefaultTrue,
59
Cole Faust324a92e2022-08-23 15:29:05 -070060 "build/bazel": Bp2BuildDefaultTrueRecursively,
61 "build/make/target/product/security": Bp2BuildDefaultTrue,
Wei Li7d8f6182022-10-11 14:38:16 -070062 "build/make/tools/releasetools": Bp2BuildDefaultTrue,
Cole Faust324a92e2022-08-23 15:29:05 -070063 "build/make/tools/signapk": Bp2BuildDefaultTrue,
64 "build/make/tools/zipalign": Bp2BuildDefaultTrueRecursively,
65 "build/soong": Bp2BuildDefaultTrue,
66 "build/soong/cc/libbuildversion": Bp2BuildDefaultTrue, // Skip tests subdir
67 "build/soong/cc/ndkstubgen": Bp2BuildDefaultTrue,
68 "build/soong/cc/symbolfile": Bp2BuildDefaultTrue,
Sasha Smundak8bea2672022-08-04 13:31:14 -070069 "build/soong/licenses": Bp2BuildDefaultTrue,
Cole Faust324a92e2022-08-23 15:29:05 -070070 "build/soong/linkerconfig": Bp2BuildDefaultTrueRecursively,
71 "build/soong/scripts": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040072
73 "cts/common/device-side/nativetesthelper/jni": Bp2BuildDefaultTrueRecursively,
Jingwen Chen1ec77852022-11-07 14:36:12 +000074
75 "dalvik/tools/dexdeps": Bp2BuildDefaultTrueRecursively,
76
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040077 "development/apps/DevelopmentSettings": Bp2BuildDefaultTrue,
78 "development/apps/Fallback": Bp2BuildDefaultTrue,
79 "development/apps/WidgetPreview": Bp2BuildDefaultTrue,
80 "development/samples/BasicGLSurfaceView": Bp2BuildDefaultTrue,
81 "development/samples/BluetoothChat": Bp2BuildDefaultTrue,
82 "development/samples/BrokenKeyDerivation": Bp2BuildDefaultTrue,
83 "development/samples/Compass": Bp2BuildDefaultTrue,
84 "development/samples/ContactManager": Bp2BuildDefaultTrue,
85 "development/samples/FixedGridLayout": Bp2BuildDefaultTrue,
86 "development/samples/HelloEffects": Bp2BuildDefaultTrue,
87 "development/samples/Home": Bp2BuildDefaultTrue,
88 "development/samples/HoneycombGallery": Bp2BuildDefaultTrue,
89 "development/samples/JetBoy": Bp2BuildDefaultTrue,
90 "development/samples/KeyChainDemo": Bp2BuildDefaultTrue,
91 "development/samples/LceDemo": Bp2BuildDefaultTrue,
92 "development/samples/LunarLander": Bp2BuildDefaultTrue,
93 "development/samples/MultiResolution": Bp2BuildDefaultTrue,
94 "development/samples/MultiWindow": Bp2BuildDefaultTrue,
95 "development/samples/NotePad": Bp2BuildDefaultTrue,
96 "development/samples/Obb": Bp2BuildDefaultTrue,
97 "development/samples/RSSReader": Bp2BuildDefaultTrue,
98 "development/samples/ReceiveShareDemo": Bp2BuildDefaultTrue,
99 "development/samples/SearchableDictionary": Bp2BuildDefaultTrue,
100 "development/samples/SipDemo": Bp2BuildDefaultTrue,
101 "development/samples/SkeletonApp": Bp2BuildDefaultTrue,
102 "development/samples/Snake": Bp2BuildDefaultTrue,
103 "development/samples/SpellChecker/": Bp2BuildDefaultTrueRecursively,
104 "development/samples/ThemedNavBarKeyboard": Bp2BuildDefaultTrue,
105 "development/samples/ToyVpn": Bp2BuildDefaultTrue,
106 "development/samples/TtsEngine": Bp2BuildDefaultTrue,
107 "development/samples/USB/AdbTest": Bp2BuildDefaultTrue,
108 "development/samples/USB/MissileLauncher": Bp2BuildDefaultTrue,
109 "development/samples/VoiceRecognitionService": Bp2BuildDefaultTrue,
110 "development/samples/VoicemailProviderDemo": Bp2BuildDefaultTrue,
111 "development/samples/WiFiDirectDemo": Bp2BuildDefaultTrue,
112 "development/sdk": Bp2BuildDefaultTrueRecursively,
113
114 "external/aac": Bp2BuildDefaultTrueRecursively,
115 "external/arm-optimized-routines": Bp2BuildDefaultTrueRecursively,
Sasha Smundak8bea2672022-08-04 13:31:14 -0700116 "external/auto": Bp2BuildDefaultTrue,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000117 "external/auto/android-annotation-stubs": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400118 "external/auto/common": Bp2BuildDefaultTrueRecursively,
119 "external/auto/service": Bp2BuildDefaultTrueRecursively,
120 "external/boringssl": Bp2BuildDefaultTrueRecursively,
121 "external/bouncycastle": Bp2BuildDefaultTrue,
122 "external/brotli": Bp2BuildDefaultTrue,
Wei Li7d8f6182022-10-11 14:38:16 -0700123 "external/bsdiff": Bp2BuildDefaultTrueRecursively,
124 "external/bzip2": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400125 "external/conscrypt": Bp2BuildDefaultTrue,
126 "external/e2fsprogs": Bp2BuildDefaultTrueRecursively,
127 "external/eigen": Bp2BuildDefaultTrueRecursively,
128 "external/erofs-utils": Bp2BuildDefaultTrueRecursively,
129 "external/error_prone": Bp2BuildDefaultTrueRecursively,
Usta Shresthad66f2ce2023-03-15 15:01:59 -0400130 "external/escapevelocity": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400131 "external/expat": Bp2BuildDefaultTrueRecursively,
132 "external/f2fs-tools": Bp2BuildDefaultTrue,
133 "external/flac": Bp2BuildDefaultTrueRecursively,
134 "external/fmtlib": Bp2BuildDefaultTrueRecursively,
Romain Jobredeauxe7370ea2023-04-04 10:30:14 -0400135 "external/guava": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400136 "external/google-benchmark": Bp2BuildDefaultTrueRecursively,
137 "external/googletest": Bp2BuildDefaultTrueRecursively,
138 "external/gwp_asan": Bp2BuildDefaultTrueRecursively,
139 "external/hamcrest": Bp2BuildDefaultTrueRecursively,
140 "external/icu": Bp2BuildDefaultTrueRecursively,
141 "external/icu/android_icu4j": Bp2BuildDefaultFalse, // java rules incomplete
142 "external/icu/icu4j": Bp2BuildDefaultFalse, // java rules incomplete
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400143 "external/jacoco": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400144 "external/jarjar": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400145 "external/javaparser": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400146 "external/javapoet": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000147 "external/javassist": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400148 "external/jemalloc_new": Bp2BuildDefaultTrueRecursively,
149 "external/jsoncpp": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux0bffcb82023-02-03 10:15:47 -0500150 "external/jsr305": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux47773342023-01-11 16:27:34 -0500151 "external/jsr330": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400152 "external/junit": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux47773342023-01-11 16:27:34 -0500153 "external/kotlinc": Bp2BuildDefaultTrueRecursively,
Vinh Tran1b6a4612022-09-30 16:36:59 -0400154 "external/libaom": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400155 "external/libavc": Bp2BuildDefaultTrueRecursively,
156 "external/libcap": Bp2BuildDefaultTrueRecursively,
157 "external/libcxx": Bp2BuildDefaultTrueRecursively,
158 "external/libcxxabi": Bp2BuildDefaultTrueRecursively,
Wei Li7d8f6182022-10-11 14:38:16 -0700159 "external/libdivsufsort": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000160 "external/libdrm": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400161 "external/libevent": Bp2BuildDefaultTrueRecursively,
162 "external/libgav1": Bp2BuildDefaultTrueRecursively,
163 "external/libhevc": Bp2BuildDefaultTrueRecursively,
164 "external/libjpeg-turbo": Bp2BuildDefaultTrueRecursively,
165 "external/libmpeg2": Bp2BuildDefaultTrueRecursively,
166 "external/libpng": Bp2BuildDefaultTrueRecursively,
Cole Faustc843b992022-08-02 18:06:50 -0700167 "external/libvpx": Bp2BuildDefaultTrueRecursively,
Cole Faust92e92e42022-08-26 16:12:42 -0700168 "external/libyuv": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400169 "external/lz4/lib": Bp2BuildDefaultTrue,
Wei Li7d8f6182022-10-11 14:38:16 -0700170 "external/lz4/programs": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400171 "external/lzma/C": Bp2BuildDefaultTrueRecursively,
172 "external/mdnsresponder": Bp2BuildDefaultTrueRecursively,
173 "external/minijail": Bp2BuildDefaultTrueRecursively,
Colin Cross20c89f12022-12-05 16:47:44 -0800174 "external/musl": Bp2BuildDefaultTrueRecursively,
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000175 "external/objenesis": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000176 "external/openscreen": Bp2BuildDefaultTrueRecursively,
Spandan Das6960ac12022-11-22 04:45:05 +0000177 "external/ow2-asm": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400178 "external/pcre": Bp2BuildDefaultTrueRecursively,
179 "external/protobuf": Bp2BuildDefaultTrueRecursively,
180 "external/python/six": Bp2BuildDefaultTrueRecursively,
181 "external/rappor": Bp2BuildDefaultTrueRecursively,
182 "external/scudo": Bp2BuildDefaultTrueRecursively,
183 "external/selinux/libselinux": Bp2BuildDefaultTrueRecursively,
184 "external/selinux/libsepol": Bp2BuildDefaultTrueRecursively,
Cole Faustfe2ab362022-08-26 16:55:11 -0700185 "external/speex": Bp2BuildDefaultTrueRecursively,
Jingwen Chen263d4002023-03-29 07:15:10 +0000186 "external/tinyalsa": Bp2BuildDefaultTrueRecursively,
187 "external/tinyalsa_new": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400188 "external/toybox": Bp2BuildDefaultTrueRecursively,
189 "external/zlib": Bp2BuildDefaultTrueRecursively,
190 "external/zopfli": Bp2BuildDefaultTrueRecursively,
191 "external/zstd": Bp2BuildDefaultTrueRecursively,
192
Jingwen Chen1ec77852022-11-07 14:36:12 +0000193 "frameworks/av": Bp2BuildDefaultTrue,
Vinh Tran1b6a4612022-09-30 16:36:59 -0400194 "frameworks/av/media/codec2/components/aom": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000195 "frameworks/av/media/codecs": Bp2BuildDefaultTrueRecursively,
Sam Delmericobefbf052023-04-28 11:23:58 -0400196 "frameworks/av/media/module/codecs": Bp2BuildDefaultTrueRecursively,
197 "frameworks/av/media/module/foundation": Bp2BuildDefaultTrueRecursively,
Jingwen Chenb2f584b2022-08-17 10:31:21 +0000198 "frameworks/av/media/liberror": Bp2BuildDefaultTrueRecursively,
Chris Parsons52b842a2022-12-19 11:45:23 -0500199 "frameworks/av/media/libshmem": Bp2BuildDefaultTrueRecursively,
200 "frameworks/av/media/audioaidlconversion": Bp2BuildDefaultTrueRecursively,
Jingwen Chen8ebc6202022-09-14 11:48:21 +0000201 "frameworks/av/media/module/minijail": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000202 "frameworks/av/services/minijail": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400203 "frameworks/base/libs/androidfw": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400204 "frameworks/base/media/tests/MediaDump": Bp2BuildDefaultTrue,
Sam Delmerico97bd1272022-08-25 14:45:31 -0400205 "frameworks/base/services/tests/servicestests/aidl": Bp2BuildDefaultTrue,
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400206 "frameworks/base/proto": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400207 "frameworks/base/startop/apps/test": Bp2BuildDefaultTrue,
208 "frameworks/base/tests/appwidgets/AppWidgetHostTest": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400209 "frameworks/base/tools/aapt2": Bp2BuildDefaultTrue,
Alix9d562792023-03-02 17:12:30 +0000210 "frameworks/base/tools/codegen": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000211 "frameworks/base/tools/streaming_proto": Bp2BuildDefaultTrueRecursively,
Vinh Tran9b09bc52023-02-21 09:56:25 -0500212 "frameworks/hardware/interfaces/stats/aidl": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400213 "frameworks/native/libs/adbd_auth": Bp2BuildDefaultTrueRecursively,
214 "frameworks/native/libs/arect": Bp2BuildDefaultTrueRecursively,
Vinh Tran220fb8b2022-10-04 12:04:17 -0400215 "frameworks/native/libs/gui": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400216 "frameworks/native/libs/math": Bp2BuildDefaultTrueRecursively,
217 "frameworks/native/libs/nativebase": Bp2BuildDefaultTrueRecursively,
Vinh Tran220fb8b2022-10-04 12:04:17 -0400218 "frameworks/native/libs/vr": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400219 "frameworks/native/opengl/tests/gl2_cameraeye": Bp2BuildDefaultTrue,
220 "frameworks/native/opengl/tests/gl2_java": Bp2BuildDefaultTrue,
221 "frameworks/native/opengl/tests/testLatency": Bp2BuildDefaultTrue,
222 "frameworks/native/opengl/tests/testPauseResume": Bp2BuildDefaultTrue,
223 "frameworks/native/opengl/tests/testViewport": Bp2BuildDefaultTrue,
Chris Parsons52b842a2022-12-19 11:45:23 -0500224 "frameworks/native/libs/permission": Bp2BuildDefaultTrue,
Jingwen Chena0519422022-09-28 08:01:57 +0000225 "frameworks/native/services/batteryservice": Bp2BuildDefaultTrue,
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxb12ff592022-09-01 15:04:04 +0000226 "frameworks/proto_logging/stats": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400227
Liz Kammere76510b2023-03-20 17:30:51 -0400228 "hardware/interfaces": Bp2BuildDefaultTrue,
229 "hardware/interfaces/audio/aidl": Bp2BuildDefaultTrue,
230 "hardware/interfaces/audio/aidl/common": Bp2BuildDefaultTrue,
Jingwen Chen263d4002023-03-29 07:15:10 +0000231 "hardware/interfaces/audio/aidl/default": Bp2BuildDefaultTrue,
232 "hardware/interfaces/audio/aidl/sounddose": Bp2BuildDefaultTrue,
Liz Kammere76510b2023-03-20 17:30:51 -0400233 "hardware/interfaces/common/aidl": Bp2BuildDefaultTrue,
234 "hardware/interfaces/common/fmq/aidl": Bp2BuildDefaultTrue,
235 "hardware/interfaces/common/support": Bp2BuildDefaultTrue,
236 "hardware/interfaces/configstore/1.0": Bp2BuildDefaultTrue,
237 "hardware/interfaces/configstore/1.1": Bp2BuildDefaultTrue,
238 "hardware/interfaces/configstore/utils": Bp2BuildDefaultTrue,
239 "hardware/interfaces/graphics/allocator/2.0": Bp2BuildDefaultTrue,
240 "hardware/interfaces/graphics/allocator/3.0": Bp2BuildDefaultTrue,
241 "hardware/interfaces/graphics/allocator/4.0": Bp2BuildDefaultTrue,
242 "hardware/interfaces/graphics/allocator/aidl": Bp2BuildDefaultTrue,
243 "hardware/interfaces/graphics/bufferqueue/1.0": Bp2BuildDefaultTrue,
244 "hardware/interfaces/graphics/bufferqueue/2.0": Bp2BuildDefaultTrue,
245 "hardware/interfaces/graphics/common/1.0": Bp2BuildDefaultTrue,
246 "hardware/interfaces/graphics/common/1.1": Bp2BuildDefaultTrue,
247 "hardware/interfaces/graphics/common/1.2": Bp2BuildDefaultTrue,
248 "hardware/interfaces/graphics/common/aidl": Bp2BuildDefaultTrue,
249 "hardware/interfaces/graphics/mapper/2.0": Bp2BuildDefaultTrue,
250 "hardware/interfaces/graphics/mapper/2.1": Bp2BuildDefaultTrue,
251 "hardware/interfaces/graphics/mapper/3.0": Bp2BuildDefaultTrue,
252 "hardware/interfaces/graphics/mapper/4.0": Bp2BuildDefaultTrue,
253 "hardware/interfaces/health/1.0": Bp2BuildDefaultTrue,
254 "hardware/interfaces/health/1.0/default": Bp2BuildDefaultTrue,
255 "hardware/interfaces/health/2.0": Bp2BuildDefaultTrue,
256 "hardware/interfaces/health/2.0/default": Bp2BuildDefaultTrue,
257 "hardware/interfaces/health/2.0/utils": Bp2BuildDefaultTrueRecursively,
258 "hardware/interfaces/health/2.1": Bp2BuildDefaultTrue,
259 "hardware/interfaces/health/aidl": Bp2BuildDefaultTrue,
260 "hardware/interfaces/health/utils": Bp2BuildDefaultTrueRecursively,
261 "hardware/interfaces/media/1.0": Bp2BuildDefaultTrue,
262 "hardware/interfaces/media/bufferpool": Bp2BuildDefaultTrueRecursively,
263 "hardware/interfaces/media/bufferpool/aidl/default/tests": Bp2BuildDefaultFalseRecursively,
264 "hardware/interfaces/media/c2/1.0": Bp2BuildDefaultTrue,
265 "hardware/interfaces/media/c2/1.1": Bp2BuildDefaultTrue,
266 "hardware/interfaces/media/c2/1.2": Bp2BuildDefaultTrue,
267 "hardware/interfaces/media/omx/1.0": Bp2BuildDefaultTrue,
268 "hardware/interfaces/neuralnetworks": Bp2BuildDefaultTrueRecursively,
269 "hardware/interfaces/neuralnetworks/aidl/vts": Bp2BuildDefaultFalseRecursively,
270 "hardware/interfaces/neuralnetworks/1.0/vts": Bp2BuildDefaultFalseRecursively,
271 "hardware/interfaces/neuralnetworks/1.1/vts": Bp2BuildDefaultFalseRecursively,
272 "hardware/interfaces/neuralnetworks/1.2/vts": Bp2BuildDefaultFalseRecursively,
273 "hardware/interfaces/neuralnetworks/1.3/vts": Bp2BuildDefaultFalseRecursively,
274 "hardware/interfaces/neuralnetworks/1.4/vts": Bp2BuildDefaultFalseRecursively,
Liz Kammer1c921162022-08-17 16:58:32 -0400275
276 "libnativehelper": Bp2BuildDefaultTrueRecursively,
277
Alix79f853d2023-02-10 15:57:01 +0000278 "packages/apps/DevCamera": Bp2BuildDefaultTrue,
279 "packages/apps/HTMLViewer": Bp2BuildDefaultTrue,
280 "packages/apps/Protips": Bp2BuildDefaultTrue,
281 "packages/apps/SafetyRegulatoryInfo": Bp2BuildDefaultTrue,
282 "packages/apps/WallpaperPicker": Bp2BuildDefaultTrue,
283 "packages/modules/NeuralNetworks/driver/cache": Bp2BuildDefaultTrueRecursively,
284 "packages/modules/StatsD/lib/libstatssocket": Bp2BuildDefaultTrueRecursively,
285 "packages/modules/adb": Bp2BuildDefaultTrue,
286 "packages/modules/adb/apex": Bp2BuildDefaultTrue,
287 "packages/modules/adb/crypto": Bp2BuildDefaultTrueRecursively,
288 "packages/modules/adb/libs": Bp2BuildDefaultTrueRecursively,
289 "packages/modules/adb/pairing_auth": Bp2BuildDefaultTrueRecursively,
290 "packages/modules/adb/pairing_connection": Bp2BuildDefaultTrueRecursively,
291 "packages/modules/adb/proto": Bp2BuildDefaultTrueRecursively,
292 "packages/modules/adb/tls": Bp2BuildDefaultTrueRecursively,
Jingwen Chen263d4002023-03-29 07:15:10 +0000293 "packages/modules/Gki/libkver": Bp2BuildDefaultTrue,
Alix79f853d2023-02-10 15:57:01 +0000294 "packages/modules/NetworkStack/common/captiveportal": Bp2BuildDefaultTrue,
Yu Liue1ab66d2023-03-24 10:53:02 -0700295 "packages/modules/NeuralNetworks/apex": Bp2BuildDefaultTrue,
MarkDacekb9e11c52023-04-26 21:28:16 +0000296 "packages/modules/NeuralNetworks/apex/testing": Bp2BuildDefaultTrue,
Alix79f853d2023-02-10 15:57:01 +0000297 "packages/providers/MediaProvider/tools/dialogs": Bp2BuildDefaultFalse, // TODO(b/242834374)
298 "packages/screensavers/Basic": Bp2BuildDefaultTrue,
299 "packages/services/Car/tests/SampleRearViewCamera": Bp2BuildDefaultFalse, // TODO(b/242834321)
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400300
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +0000301 "platform_testing/tests/example": Bp2BuildDefaultTrueRecursively,
302
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400303 "prebuilts/clang/host/linux-x86": Bp2BuildDefaultTrueRecursively,
304 "prebuilts/gradle-plugin": Bp2BuildDefaultTrueRecursively,
305 "prebuilts/runtime/mainline/platform/sdk": Bp2BuildDefaultTrueRecursively,
306 "prebuilts/sdk/current/androidx": Bp2BuildDefaultTrue,
307 "prebuilts/sdk/current/androidx-legacy": Bp2BuildDefaultTrue,
308 "prebuilts/sdk/current/extras/constraint-layout-x": Bp2BuildDefaultTrue,
309 "prebuilts/sdk/current/extras/material-design-x": Bp2BuildDefaultTrue,
310 "prebuilts/sdk/current/extras/app-toolkit": Bp2BuildDefaultTrue,
311 "prebuilts/sdk/current/support": Bp2BuildDefaultTrue,
312 "prebuilts/tools": Bp2BuildDefaultTrue,
313 "prebuilts/tools/common/m2": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400314
Alixb4e09a02022-09-27 15:36:01 +0000315 "sdk/dumpeventlog": Bp2BuildDefaultTrue,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000316 "sdk/eventanalyzer": Bp2BuildDefaultTrue,
Alixb4e09a02022-09-27 15:36:01 +0000317
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000318 "system/apex": Bp2BuildDefaultFalse, // TODO(b/207466993): flaky failures
319 "system/apex/apexer": Bp2BuildDefaultTrue,
320 "system/apex/libs": Bp2BuildDefaultTrueRecursively,
321 "system/apex/proto": Bp2BuildDefaultTrueRecursively,
322 "system/apex/tools": Bp2BuildDefaultTrueRecursively,
323 "system/core/debuggerd": Bp2BuildDefaultTrueRecursively,
324 "system/core/diagnose_usb": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000325 "system/core/healthd": Bp2BuildDefaultTrue,
326 "system/core/healthd/testdata": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000327 "system/core/libasyncio": Bp2BuildDefaultTrue,
328 "system/core/libcrypto_utils": Bp2BuildDefaultTrueRecursively,
329 "system/core/libcutils": Bp2BuildDefaultTrueRecursively,
330 "system/core/libpackagelistparser": Bp2BuildDefaultTrueRecursively,
331 "system/core/libprocessgroup": Bp2BuildDefaultTrue,
332 "system/core/libprocessgroup/cgrouprc": Bp2BuildDefaultTrue,
333 "system/core/libprocessgroup/cgrouprc_format": Bp2BuildDefaultTrue,
Jingwen Chena0519422022-09-28 08:01:57 +0000334 "system/core/libsuspend": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000335 "system/core/libsystem": Bp2BuildDefaultTrueRecursively,
Jingwen Chenf0616002022-09-01 14:28:55 +0000336 "system/core/libsysutils": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000337 "system/core/libutils": Bp2BuildDefaultTrueRecursively,
338 "system/core/libvndksupport": Bp2BuildDefaultTrueRecursively,
Wei Li7d8f6182022-10-11 14:38:16 -0700339 "system/core/mkbootfs": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000340 "system/core/property_service/libpropertyinfoparser": Bp2BuildDefaultTrueRecursively,
341 "system/core/property_service/libpropertyinfoserializer": Bp2BuildDefaultTrueRecursively,
Yu Liuf27bb3b2022-10-03 14:15:01 -0700342 "system/extras/toolchain-extras": Bp2BuildDefaultTrue,
Chris Parsons52b842a2022-12-19 11:45:23 -0500343 "system/hardware/interfaces/media": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400344 "system/incremental_delivery/incfs": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000345 "system/libartpalette": Bp2BuildDefaultTrueRecursively,
346 "system/libbase": Bp2BuildDefaultTrueRecursively,
347 "system/libfmq": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400348 "system/libhidl/libhidlmemory": Bp2BuildDefaultTrue,
349 "system/libhidl/transport": Bp2BuildDefaultTrue,
350 "system/libhidl/transport/allocator/1.0": Bp2BuildDefaultTrue,
Yu Liudf4413a2022-07-23 21:24:30 -0700351 "system/libhidl/transport/base/1.0": Bp2BuildDefaultTrue,
352 "system/libhidl/transport/manager/1.0": Bp2BuildDefaultTrue,
353 "system/libhidl/transport/manager/1.1": Bp2BuildDefaultTrue,
354 "system/libhidl/transport/manager/1.2": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400355 "system/libhidl/transport/memory/1.0": Bp2BuildDefaultTrue,
356 "system/libhidl/transport/memory/token/1.0": Bp2BuildDefaultTrue,
357 "system/libhidl/transport/safe_union/1.0": Bp2BuildDefaultTrue,
358 "system/libhidl/transport/token/1.0": Bp2BuildDefaultTrue,
359 "system/libhidl/transport/token/1.0/utils": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000360 "system/libhwbinder": Bp2BuildDefaultTrueRecursively,
361 "system/libprocinfo": Bp2BuildDefaultTrue,
Jingwen Chen263d4002023-03-29 07:15:10 +0000362 "system/libvintf": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000363 "system/libziparchive": Bp2BuildDefaultTrueRecursively,
Jingwen Chenf0616002022-09-01 14:28:55 +0000364 "system/logging": Bp2BuildDefaultTrueRecursively,
Sasha Smundak8bea2672022-08-04 13:31:14 -0700365 "system/media": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000366 "system/media/audio": Bp2BuildDefaultTrueRecursively,
Jingwen Chen263d4002023-03-29 07:15:10 +0000367 "system/media/alsa_utils": Bp2BuildDefaultTrueRecursively,
Cole Faustfe2ab362022-08-26 16:55:11 -0700368 "system/media/audio_utils": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000369 "system/memory/libion": Bp2BuildDefaultTrueRecursively,
370 "system/memory/libmemunreachable": Bp2BuildDefaultTrueRecursively,
371 "system/sepolicy/apex": Bp2BuildDefaultTrueRecursively,
Jingwen Chen537242c2022-08-24 11:53:27 +0000372 "system/testing/gtest_extras": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000373 "system/timezone/apex": Bp2BuildDefaultTrueRecursively,
374 "system/timezone/output_data": Bp2BuildDefaultTrueRecursively,
Jingwen Chen61342112023-04-11 08:49:01 +0000375 "system/timezone/testdata": Bp2BuildDefaultTrueRecursively,
376 "system/timezone/testing": Bp2BuildDefaultTrueRecursively,
Sam Delmerico8dfa46a2022-08-30 15:09:36 -0400377 "system/tools/aidl/build/tests_bp2build": Bp2BuildDefaultTrue,
Jingwen Chen263d4002023-03-29 07:15:10 +0000378 "system/tools/aidl/metadata": Bp2BuildDefaultTrue,
379 "system/tools/hidl/metadata": Bp2BuildDefaultTrue,
Wei Li7d8f6182022-10-11 14:38:16 -0700380 "system/tools/mkbootimg": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400381 "system/tools/sysprop": Bp2BuildDefaultTrue,
Jingwen Chen263d4002023-03-29 07:15:10 +0000382 "system/tools/xsdc/utils": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000383 "system/unwinding/libunwindstack": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400384
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400385 "tools/apifinder": Bp2BuildDefaultTrue,
Dan Albertf1235a82023-04-13 16:39:28 +0000386 "tools/apksig": Bp2BuildDefaultTrue,
387 "tools/external_updater": Bp2BuildDefaultTrueRecursively,
388 "tools/metalava": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400389 "tools/platform-compat/java/android/compat": Bp2BuildDefaultTrueRecursively,
390 "tools/tradefederation/prebuilts/filegroups": Bp2BuildDefaultTrueRecursively,
Sam Delmerico24c56032022-03-28 19:53:03 +0000391 }
392
393 Bp2buildKeepExistingBuildFile = map[string]bool{
394 // This is actually build/bazel/build.BAZEL symlinked to ./BUILD
395 ".":/*recursive = */ false,
396
Cole Faust324a92e2022-08-23 15:29:05 -0700397 "build/bazel":/* recursive = */ true,
Kevin Dagostino92f33d92022-11-02 20:29:07 +0000398 "build/make/core":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000399 "build/bazel_common_rules":/* recursive = */ true,
Cole Faust10b94de2023-03-31 17:38:33 -0700400 "build/make/target/product/security":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000401 // build/make/tools/signapk BUILD file is generated, so build/make/tools is not recursive.
402 "build/make/tools":/* recursive = */ false,
403 "build/pesto":/* recursive = */ true,
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000404 "build/soong":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000405
406 // external/bazelbuild-rules_android/... is needed by mixed builds, otherwise mixed builds analysis fails
407 // e.g. ERROR: Analysis of target '@soong_injection//mixed_builds:buildroot' failed
408 "external/bazelbuild-rules_android":/* recursive = */ true,
Sasha Smundak9d2f1742022-08-04 13:28:38 -0700409 "external/bazelbuild-rules_license":/* recursive = */ true,
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400410 "external/bazelbuild-kotlin-rules":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000411 "external/bazel-skylib":/* recursive = */ true,
Cole Faustea602c52022-08-31 14:48:26 -0700412 "external/protobuf":/* recursive = */ false,
Cole Faustde12be32022-11-19 15:14:48 -0800413 "external/python/absl-py":/* recursive = */ true,
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000414
Trevor Radcliffe391a25d2023-03-22 20:22:27 +0000415 "external/compiler-rt/lib/cfi":/* recursive = */ false,
416
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000417 // this BUILD file is globbed by //external/icu/icu4c/source:icu4c_test_data's "data/**/*".
418 "external/icu/icu4c/source/data/unidata/norm2":/* recursive = */ false,
419
Romain Jobredeaux0bffcb82023-02-03 10:15:47 -0500420 // Building manually due to b/179889880: resource files cross package boundary
Sam Delmerico24c56032022-03-28 19:53:03 +0000421 "packages/apps/Music":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000422
Yu Liu56ccb1a2022-11-12 10:47:07 -0800423 "prebuilts/abi-dumps/platform":/* recursive = */ true,
424 "prebuilts/abi-dumps/ndk":/* recursive = */ true,
Romain Jobredeaux29197972022-05-30 22:02:31 -0400425 "prebuilts/bazel":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000426 "prebuilts/bundletool":/* recursive = */ true,
Cole Faustea602c52022-08-31 14:48:26 -0700427 "prebuilts/clang/host/linux-x86":/* recursive = */ false,
Yu Liu56ccb1a2022-11-12 10:47:07 -0800428 "prebuilts/clang-tools":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000429 "prebuilts/gcc":/* recursive = */ true,
Jingwen Chen23ca2d22022-05-19 09:53:56 +0000430 "prebuilts/build-tools":/* recursive = */ true,
Romain Jobredeauxd4e1a152023-03-17 11:02:01 -0400431 "prebuilts/jdk/jdk17":/* recursive = */ true,
Cole Faust7071a052022-07-29 15:58:33 -0700432 "prebuilts/misc":/* recursive = */ false, // not recursive because we need bp2build converted build files in prebuilts/misc/common/asm
Sam Delmerico24c56032022-03-28 19:53:03 +0000433 "prebuilts/sdk":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000434 "prebuilts/sdk/tools":/* recursive = */ false,
435 "prebuilts/r8":/* recursive = */ false,
Kevin Dagostino3e2da942022-11-20 07:16:47 +0000436 "prebuilts/runtime":/* recursive = */ false,
Kevin Dagostino92f33d92022-11-02 20:29:07 +0000437
Kevin Dagostino3e2da942022-11-20 07:16:47 +0000438 // not recursive due to conflicting workspace paths in tools/atest/bazel/rules
439 "tools/asuite/atest":/* recursive = */ false,
440 "tools/asuite/atest/bazel/reporter":/* recursive = */ true,
Yu Liu828c4062023-01-23 20:56:46 +0000441
442 // TODO(b/266459895): remove this and the placeholder BUILD file after re-enabling libunwindstack
443 "external/rust/crates/rustc-demangle-capi":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000444 }
445
446 Bp2buildModuleAlwaysConvertList = []string{
Liz Kammer09d831e2022-09-16 09:02:26 -0400447 "libidmap2_policies",
448 "libSurfaceFlingerProp",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400449 // cc mainline modules
Liz Kammerbe1315e2022-05-10 09:15:31 -0400450 "code_coverage.policy",
451 "code_coverage.policy.other",
452 "codec2_soft_exports",
Vinh Tran2dbc7452022-09-29 10:49:07 -0400453 "com.android.media.swcodec",
Liz Kammer5068eae2022-05-11 17:24:29 -0400454 "com.android.media.swcodec-androidManifest",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400455 "com.android.media.swcodec-ld.config.txt",
Vinh Tran2dbc7452022-09-29 10:49:07 -0400456 "com.android.media.swcodec-mediaswcodec.32rc",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400457 "com.android.media.swcodec-mediaswcodec.rc",
Liz Kammer5068eae2022-05-11 17:24:29 -0400458 "com.android.media.swcodec.certificate",
459 "com.android.media.swcodec.key",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400460 "flatbuffer_headers",
Vinh Tran3cb9ade2022-10-20 12:17:42 -0400461 "framework-connectivity-protos",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400462 "gemmlowp_headers",
463 "gl_headers",
Liz Kammer63367e12022-06-13 19:35:12 +0000464 "libandroid_runtime_lazy",
Liz Kammer5068eae2022-05-11 17:24:29 -0400465 "libandroid_runtime_vm_headers",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400466 "libaudioclient_aidl_conversion_util",
Vinh Tran9f6796a2022-08-16 13:10:31 -0400467 "libbinder",
468 "libbinder_device_interface_sources",
Vinh Tran444154d2022-08-16 13:10:31 -0400469 "libbinder_aidl",
Liz Kammer63367e12022-06-13 19:35:12 +0000470 "libbinder_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400471 "libbinder_headers_platform_shared",
Vinh Tran99fd6502022-09-09 18:36:24 -0400472 "libbinderthreadstateutils",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400473 "libbluetooth-types-header",
Liz Kammer63367e12022-06-13 19:35:12 +0000474 "libcodec2",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400475 "libcodec2_headers",
476 "libcodec2_internal",
477 "libdmabufheap",
Liz Kammer5068eae2022-05-11 17:24:29 -0400478 "libgsm",
Vinh Tran99fd6502022-09-09 18:36:24 -0400479 "libgrallocusage",
480 "libgralloctypes",
481 "libnativewindow",
Vinh Tranfd446d62022-09-21 17:30:20 -0400482 "libneuralnetworks",
Sam Delmerico646dcfa2023-04-07 14:38:32 -0400483 "libneuralnetworks_static",
Vinh Tran99fd6502022-09-09 18:36:24 -0400484 "libgraphicsenv",
Liz Kammer63367e12022-06-13 19:35:12 +0000485 "libhardware",
Liz Kammer5068eae2022-05-11 17:24:29 -0400486 "libhardware_headers",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400487 "libnativeloader-headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400488 "libnativewindow_headers",
489 "libneuralnetworks_headers",
Vinh Tran583a07d2022-09-20 17:25:34 -0400490 "libneuralnetworks_packageinfo",
Liz Kammer5068eae2022-05-11 17:24:29 -0400491 "libopus",
492 "libprocpartition",
Liz Kammer63367e12022-06-13 19:35:12 +0000493 "libruy_static",
Cole Faust6b29f592022-08-09 09:50:56 -0700494 "libandroidio",
495 "libandroidio_srcs",
Liz Kammer5068eae2022-05-11 17:24:29 -0400496 "libserviceutils",
Liz Kammer63367e12022-06-13 19:35:12 +0000497 "libsurfaceflinger_headers",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400498 "libsync",
Liz Kammer5068eae2022-05-11 17:24:29 -0400499 "libtextclassifier_hash_headers",
500 "libtextclassifier_hash_static",
Liz Kammer63367e12022-06-13 19:35:12 +0000501 "libtflite_kernel_utils",
502 "libtinyxml2",
Vinh Tran99fd6502022-09-09 18:36:24 -0400503 "libui",
Liz Kammer5068eae2022-05-11 17:24:29 -0400504 "libui-types",
Liz Kammer63367e12022-06-13 19:35:12 +0000505 "libui_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400506 "libvorbisidec",
507 "media_ndk_headers",
Liz Kammer63367e12022-06-13 19:35:12 +0000508 "media_plugin_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400509 "mediaswcodec.policy",
510 "mediaswcodec.xml",
Vinh Tran99fd6502022-09-09 18:36:24 -0400511 "neuralnetworks_types",
Vinh Tran99fd6502022-09-09 18:36:24 -0400512 "libneuralnetworks_common",
Vinh Tran583a07d2022-09-20 17:25:34 -0400513 // packagemanager_aidl_interface is created implicitly in packagemanager_aidl module
514 "packagemanager_aidl_interface",
Liz Kammer63367e12022-06-13 19:35:12 +0000515 "philox_random",
Liz Kammer5068eae2022-05-11 17:24:29 -0400516 "philox_random_headers",
517 "server_configurable_flags",
Vinh Tran3cb9ade2022-10-20 12:17:42 -0400518 "service-permission-streaming-proto-sources",
Vinh Tranf19b6582022-09-21 17:01:49 -0400519 "statslog_neuralnetworks.cpp",
520 "statslog_neuralnetworks.h",
Liz Kammer5068eae2022-05-11 17:24:29 -0400521 "tensorflow_headers",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400522
Vinh Tran99fd6502022-09-09 18:36:24 -0400523 "libstagefright_bufferpool@2.0",
524 "libstagefright_bufferpool@2.0.1",
Vinh Tranc169c542022-09-13 13:13:06 -0400525 "libSurfaceFlingerProp",
Vinh Tran99fd6502022-09-09 18:36:24 -0400526
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxb12ff592022-09-01 15:04:04 +0000527 // prebuilts
528 "prebuilt_stats-log-api-gen",
529
Jingwen Chen9009dc22022-08-04 15:26:46 +0000530 // fastboot
Jingwen Chen9009dc22022-08-04 15:26:46 +0000531 "fastboot",
532 "libfastboot",
533 "liblp",
534 "libstorage_literals_headers",
535
Sam Delmerico24c56032022-03-28 19:53:03 +0000536 //external/avb
537 "avbtool",
538 "libavb",
539 "avb_headers",
540
Alix5918d642022-06-27 20:57:44 +0000541 //external/libxml2
542 "xmllint",
543 "libxml2",
544
Sam Delmerico24c56032022-03-28 19:53:03 +0000545 //external/fec
546 "libfec_rs",
547
548 //system/core/libsparse
549 "libsparse",
550
551 //system/extras/ext4_utils
552 "libext4_utils",
Cole Faust01243362022-06-02 12:11:12 -0700553 "mke2fs_conf",
Sam Delmerico24c56032022-03-28 19:53:03 +0000554
555 //system/extras/libfec
556 "libfec",
557
558 //system/extras/squashfs_utils
559 "libsquashfs_utils",
560
561 //system/extras/verity/fec
562 "fec",
Wei Li7d8f6182022-10-11 14:38:16 -0700563 "boot_signer",
Sam Delmerico24c56032022-03-28 19:53:03 +0000564
565 //packages/apps/Car/libs/car-ui-lib/car-ui-androidx
566 // genrule dependencies for java_imports
567 "car-ui-androidx-annotation-nodeps",
568 "car-ui-androidx-collection-nodeps",
569 "car-ui-androidx-core-common-nodeps",
570 "car-ui-androidx-lifecycle-common-nodeps",
571 "car-ui-androidx-constraintlayout-solver-nodeps",
Yu Liudf4413a2022-07-23 21:24:30 -0700572
573 //system/libhidl
Jingwen Chen263d4002023-03-29 07:15:10 +0000574 "libhidlbase", // needed by cc_hidl_library
575 "libhidl_gtest_helper",
Vinh Tran444154d2022-08-16 13:10:31 -0400576
577 //frameworks/native
578 "framework_native_aidl_binder",
579 "framework_native_aidl_gui",
580
581 //frameworks/native/libs/input
582 "inputconstants_aidl",
Vinh Tranc3873e82022-08-23 20:33:25 -0400583
584 // needed for aidl_interface's ndk backend
585 "libbinder_ndk",
Jingwen Chen537242c2022-08-24 11:53:27 +0000586
587 "libusb",
Jingwen Chenf0616002022-09-01 14:28:55 +0000588
589 // needed by liblogd
590 "ILogcatManagerService_aidl",
591 "libincremental_aidl-cpp",
592 "incremental_aidl",
Jingwen Chen2247aca2022-09-09 10:47:43 +0000593
594 //frameworks/native/cmds/cmd
595 "libcmd",
Jingwen Chenadc07fa2022-09-21 13:13:48 +0000596
597 //system/core/fs_mgr/libdm
598 "libdm",
599
600 //system/core/fs_mgr/libfiemap
601 "libfiemap_headers",
602 "libfiemap_passthrough_srcs",
603 "libfiemap_srcs",
604
605 //system/gsid
606 "libgsi",
607 "libgsi_headers",
608
609 //system/core/libkeyutils
610 "libkeyutils",
611
Jingwen Chenadc07fa2022-09-21 13:13:48 +0000612 //bootable/recovery/otautil
613 "libotautil",
614
615 //system/vold
616 "libvold_headers",
617
618 //system/extras/libfscrypt
619 "libfscrypt",
620
621 //system/core/fs_mgr
622 "libfstab",
623
624 //bootable/recovery/fuse_sideload
625 "libfusesideload",
626
627 //system/core/fs_mgr/libfs_avb
628 "libfs_avb",
629
630 //system/core/fs_mgr
631 "libfs_mgr",
Yu Liubf7c03e2022-09-22 12:12:26 -0700632
633 "libcodec2_hidl@1.0",
634 "libcodec2_hidl@1.1",
635 "libcodec2_hidl@1.2",
636 "libcodec2_hidl_plugin_stub",
637 "libcodec2_hidl_plugin",
638 "libstagefright_bufferqueue_helper_novndk",
Yu Liubf7c03e2022-09-22 12:12:26 -0700639 "libGLESv2",
640 "libEGL",
641 "libcodec2_vndk",
642 "libnativeloader_lazy",
643 "libnativeloader",
644 "libEGL_getProcAddress",
645 "libEGL_blobCache",
Vinh Tran32a98a52022-09-23 13:08:34 -0400646
Yu Liu8c981532022-09-27 12:47:26 -0700647 "mediaswcodec",
648 "libmedia_headers",
649 "libmedia_codecserviceregistrant",
650 "libsfplugin_ccodec_utils",
651 "libcodec2_soft_aacenc",
652 "libcodec2_soft_amrnbdec",
653 "libcodec2_soft_amrnbenc",
654 "libcodec2_soft_amrwbdec",
655 "libcodec2_soft_amrwbenc",
656 "libcodec2_soft_hevcdec",
657 "libcodec2_soft_hevcenc",
658 "libcodec2_soft_g711alawdec",
659 "libcodec2_soft_g711mlawdec",
660 "libcodec2_soft_mpeg2dec",
661 "libcodec2_soft_h263dec",
662 "libcodec2_soft_h263enc",
663 "libcodec2_soft_mpeg4dec",
664 "libcodec2_soft_mpeg4enc",
665 "libcodec2_soft_mp3dec",
666 "libcodec2_soft_vorbisdec",
667 "libcodec2_soft_opusdec",
668 "libcodec2_soft_opusenc",
669 "libcodec2_soft_vp8dec",
670 "libcodec2_soft_vp9dec",
671 "libcodec2_soft_av1dec_gav1",
672 "libcodec2_soft_vp8enc",
673 "libcodec2_soft_vp9enc",
674 "libcodec2_soft_rawdec",
675 "libcodec2_soft_flacdec",
676 "libcodec2_soft_flacenc",
677 "libcodec2_soft_gsmdec",
678 "libcodec2_soft_avcdec",
679 "libcodec2_soft_avcenc",
680 "libcodec2_soft_aacdec",
681 "libcodec2_soft_common",
Alix8062f4d2022-11-14 21:38:07 +0000682
683 // kotlin srcs in java libs
Alix8062f4d2022-11-14 21:38:07 +0000684 "kotlinx_atomicfu",
Alix7c8eaeb2022-11-16 15:44:55 +0000685
686 // kotlin srcs in java binary
687 "AnalyzerKt",
688 "trebuchet-core",
Alix36795a72023-01-20 16:10:52 +0000689
690 // kotlin srcs in android_library
691 "renderscript_toolkit",
Romain Jobredeaux0bffcb82023-02-03 10:15:47 -0500692
693 //kotlin srcs in android_binary
694 "MusicKotlin",
Zi Wang75a38e72023-02-15 22:52:47 -0800695
Romain Jobredeaux2eef2e12023-02-24 12:07:08 -0500696 // java_library with prebuilt sdk_version
697 "android-common",
698
Zi Wang75a38e72023-02-15 22:52:47 -0800699 // checked in current.txt for merged_txts
700 "non-updatable-current.txt",
701 "non-updatable-system-current.txt",
702 "non-updatable-module-lib-current.txt",
703 "non-updatable-system-server-current.txt",
Zi Wangb31a8332023-03-06 15:21:35 -0800704
705 // for api_fingerprint.txt generation
706 "api_fingerprint",
Alixf848bf82023-03-06 19:43:55 +0000707
708 // allowlisting for kotlinx_coroutines
709 "kotlinx_coroutines",
Romain Jobredeauxe7370ea2023-04-04 10:30:14 -0400710 "kotlinx_coroutines-device",
711 "kotlinx_coroutines-host",
Alixf848bf82023-03-06 19:43:55 +0000712 "annotations",
713 "kotlinx-coroutines-android-annotation-stubs",
Sam Delmerico9d71a842023-03-16 16:24:54 -0400714
715 // for building com.android.neuralnetworks
716 "libimapper_stablec",
717 "libimapper_providerutils",
Alixe5085eb2023-01-31 19:38:41 +0000718
719 // min_sdk_version in android_app
720 "CtsShimUpgrade",
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400721
722 // Mainline Module Apps
723 "CaptivePortalLogin",
Sam Delmericobefbf052023-04-28 11:23:58 -0400724
725 "libstagefright_headers",
Sam Delmerico24c56032022-03-28 19:53:03 +0000726 }
727
728 Bp2buildModuleTypeAlwaysConvertList = []string{
Spandan Dasd58630f2022-09-08 01:04:22 +0000729 "aidl_interface_headers",
Zi Wangb2179e32023-01-31 15:53:30 -0800730 "bpf",
Zi Wang75a38e72023-02-15 22:52:47 -0800731 "combined_apis",
Sasha Smundak8bea2672022-08-04 13:31:14 -0700732 "license",
Liz Kammer45faf8f2022-06-02 16:00:54 -0400733 "linker_config",
Sam Delmerico24c56032022-03-28 19:53:03 +0000734 "java_import",
735 "java_import_host",
Zi Wangb2179e32023-01-31 15:53:30 -0800736 "java_sdk_library",
Trevor Radcliffead3d1232022-09-01 16:25:10 +0000737 "sysprop_library",
Sam Delmerico24c56032022-03-28 19:53:03 +0000738 }
739
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000740 // Add the names of modules that bp2build should never convert, if it is
741 // in the package allowlist. An error will be thrown if a module must
742 // not be here and in the alwaysConvert lists.
743 //
744 // For prebuilt modules (e.g. android_library_import), remember to add
745 // the "prebuilt_" prefix to the name, so that it's differentiable from
746 // the source versions within Soong's module graph.
Sam Delmerico24c56032022-03-28 19:53:03 +0000747 Bp2buildModuleDoNotConvertList = []string{
Vinh Tran220fb8b2022-10-04 12:04:17 -0400748 // Depends on unconverted libandroid, libgui
749 "dvr_buffer_queue-test",
750 "dvr_display-test",
751 // Depends on unconverted libchrome
752 "pdx_benchmarks",
753 "buffer_hub_queue-test",
754 "buffer_hub_queue_producer-test",
755
Sam Delmerico24c56032022-03-28 19:53:03 +0000756 // cc bugs
Jingwen Chenf0616002022-09-01 14:28:55 +0000757 "libactivitymanager_aidl", // TODO(b/207426160): Unsupported use of aidl sources (via Dactivity_manager_procstate_aidl) in a cc_library
758
759 // TODO(b/198619163) module has same name as source
Jingwen Chenf0616002022-09-01 14:28:55 +0000760 "logtagd.rc",
761
Sam Delmerico24c56032022-03-28 19:53:03 +0000762 "libgtest_ndk_c++", "libgtest_main_ndk_c++", // TODO(b/201816222): Requires sdk_version support.
Jingwen Chen537242c2022-08-24 11:53:27 +0000763
764 // TODO(b/202876379): has arch-variant static_executable
765 "linkerconfig",
766 "mdnsd",
767 "libcutils_test_static",
768 "KernelLibcutilsTest",
769
Cole Faust7071a052022-07-29 15:58:33 -0700770 "linker", // TODO(b/228316882): cc_binary uses link_crt
Cole Faust7071a052022-07-29 15:58:33 -0700771 "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
Liz Kammer63367e12022-06-13 19:35:12 +0000772 "art_libartbase_headers", // TODO(b/236268577): Header libraries do not support export_shared_libs_headers
773 "apexer_test", // Requires aapt2
Cole Faust91a2e102022-05-31 14:56:48 -0700774 "apexer_test_host_tools",
775 "host_apex_verifier",
Cole Faust7071a052022-07-29 15:58:33 -0700776 "tjbench", // TODO(b/240563612): Stem property
Sam Delmerico24c56032022-03-28 19:53:03 +0000777
778 // java bugs
Romain Jobredeaux2eef2e12023-02-24 12:07:08 -0500779 "libbase_ndk", // TODO(b/186826477): fails to link libctscamera2_jni for device (required for CtsCameraTestCases)
780 "bouncycastle", // TODO(b/274474005): Need support for custom system_modules.
Sam Delmerico24c56032022-03-28 19:53:03 +0000781
782 // python protos
Cole Faust53b62092022-05-12 15:37:02 -0700783 "libprotobuf-python", // Has a handcrafted alternative
Sam Delmerico24c56032022-03-28 19:53:03 +0000784
785 // genrule incompatibilities
786 "brotli-fuzzer-corpus", // TODO(b/202015218): outputs are in location incompatible with bazel genrule handling.
787 "platform_tools_properties", "build_tools_source_properties", // TODO(b/203369847): multiple genrules in the same package creating the same file
788
789 // aar support
Chris Parsons9f0e5522022-12-08 14:12:54 -0500790 "prebuilt_car-ui-androidx-core-common", // TODO(b/224773339), genrule dependency creates an .aar, not a .jar
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000791 // ERROR: The dependencies for the following 1 jar(s) are not complete.
792 // 1.bazel-out/android_target-fastbuild/bin/prebuilts/tools/common/m2/_aar/robolectric-monitor-1.0.2-alpha1/classes_and_libs_merged.jar
793 "prebuilt_robolectric-monitor-1.0.2-alpha1",
Sam Delmerico24c56032022-03-28 19:53:03 +0000794
795 // path property for filegroups
796 "conscrypt", // TODO(b/210751803), we don't handle path property for filegroups
797 "conscrypt-for-host", // TODO(b/210751803), we don't handle path property for filegroups
798 "host-libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups
Sam Delmerico24c56032022-03-28 19:53:03 +0000799 "libprotobuf-internal-python-srcs", // TODO(b/210751803), we don't handle path property for filegroups
800 "libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups
801 "libprotobuf-java-util-full", // TODO(b/210751803), we don't handle path property for filegroups
Sam Delmerico79985812022-03-23 20:20:42 +0000802 "auto_value_plugin_resources", // TODO(b/210751803), we don't handle path property for filegroups
Sam Delmerico24c56032022-03-28 19:53:03 +0000803
804 // go deps:
Jingwen Chenf50817d2022-09-21 06:46:08 +0000805 "analyze_bcpf", // depends on bpmodify a blueprint_go_binary.
Cole Faustd82f0362023-04-12 17:32:19 -0700806 "analyze_bcpf_test", // depends on bpmodify a blueprint_go_binary.
Jingwen Chenf50817d2022-09-21 06:46:08 +0000807 "host_bionic_linker_asm", // depends on extract_linker, a go binary.
808 "host_bionic_linker_script", // depends on extract_linker, a go binary.
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000809
810 // 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
811 "robolectric_tzdata",
Sam Delmerico24c56032022-03-28 19:53:03 +0000812
813 // rust support
814 "libtombstoned_client_rust_bridge_code", "libtombstoned_client_wrapper", // rust conversions are not supported
815
816 // unconverted deps
Cole Faustd82f0362023-04-12 17:32:19 -0700817 "apexer_with_DCLA_preprocessing_test", // depends on unconverted modules: apexer_test_host_tools, com.android.example.apex
Trevor Radcliffeef9c9002022-05-13 20:55:35 +0000818 "adb", // depends on unconverted modules: AdbWinApi, libandroidfw, libopenscreen-discovery, libopenscreen-platform-impl, libusb, bin2c_fastdeployagent, AdbWinUsbApi
819 "android_icu4j_srcgen", // depends on unconverted modules: currysrc
820 "android_icu4j_srcgen_binary", // depends on unconverted modules: android_icu4j_srcgen, currysrc
Cole Faustd82f0362023-04-12 17:32:19 -0700821 "apex_compression_test", // depends on unconverted modules: soong_zip, com.android.example.apex
Trevor Radcliffeef9c9002022-05-13 20:55:35 +0000822 "apex_manifest_proto_java", // b/210751803, depends on libprotobuf-java-full
823 "art-script", // depends on unconverted modules: dalvikvm, dex2oat
824 "bin2c_fastdeployagent", // depends on unconverted modules: deployagent
Cole Faustd82f0362023-04-12 17:32:19 -0700825 "CarHTMLViewer", // depends on unconverted modules android.car-stubs, car-ui-lib
Sam Delmerico24c56032022-03-28 19:53:03 +0000826 "com.android.runtime", // depends on unconverted modules: bionic-linker-config, linkerconfig
Sam Delmerico24c56032022-03-28 19:53:03 +0000827 "currysrc", // depends on unconverted modules: currysrc_org.eclipse, guavalib, jopt-simple-4.9
828 "dex2oat-script", // depends on unconverted modules: dex2oat
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000829 "generated_android_icu4j_resources", // depends on unconverted modules: android_icu4j_srcgen_binary
830 "generated_android_icu4j_test_resources", // depends on unconverted modules: android_icu4j_srcgen_binary
Sam Delmerico24c56032022-03-28 19:53:03 +0000831 "host-libprotobuf-java-nano", // b/220869005, depends on libprotobuf-java-nano
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400832 "jacoco-stubs", // b/245767077, depends on droidstubs
Liz Kammer6a824f62022-08-09 13:23:01 -0400833 "libapexutil", // depends on unconverted modules: apex-info-list-tinyxml
Sam Delmerico24c56032022-03-28 19:53:03 +0000834 "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
835 "libart-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libart-compiler, libdexfile, libprofile, libartbase, libartbase-art-gtest
836 "libart_headers", // depends on unconverted modules: art_libartbase_headers
Liz Kammer3d13adc2022-08-09 09:26:54 -0400837 "libartbase-art-gtest", // depends on unconverted modules: libgtest_isolated, libart, libart-compiler, libdexfile, libprofile
838 "libartbased-art-gtest", // depends on unconverted modules: libgtest_isolated, libartd, libartd-compiler, libdexfiled, libprofiled
Sam Delmerico24c56032022-03-28 19:53:03 +0000839 "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
840 "libartd-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libartd-compiler, libdexfiled, libprofiled, libartbased, libartbased-art-gtest
Zi Wang0a8a1292022-08-30 06:27:01 +0000841 "libdebuggerd", // depends on unconverted module: libdexfile
Sam Delmerico24c56032022-03-28 19:53:03 +0000842 "libdebuggerd_handler", // depends on unconverted module libdebuggerd_handler_core
843 "libdebuggerd_handler_core", "libdebuggerd_handler_fallback", // depends on unconverted module libdebuggerd
Sam Delmerico24c56032022-03-28 19:53:03 +0000844 "libdexfiled", // depends on unconverted modules: dexfile_operator_srcs, libartbased, libartpalette
845 "libfastdeploy_host", // depends on unconverted modules: libandroidfw, libusb, AdbWinApi
846 "libgmock_main_ndk", // depends on unconverted modules: libgtest_ndk_c++
847 "libgmock_ndk", // depends on unconverted modules: libgtest_ndk_c++
848 "libnativehelper_lazy_mts_jni", "libnativehelper_mts_jni", // depends on unconverted modules: libnativetesthelper_jni, libgmock_ndk
849 "libnativetesthelper_jni", // depends on unconverted modules: libgtest_ndk_c++
Vinh Tranc3873e82022-08-23 20:33:25 -0400850 "libstatslog", // depends on unconverted modules: libstatspull, statsd-aidl-ndk
Sam Delmerico24c56032022-03-28 19:53:03 +0000851 "libstatslog_art", // depends on unconverted modules: statslog_art.cpp, statslog_art.h
852 "linker_reloc_bench_main", // depends on unconverted modules: liblinker_reloc_bench_*
Sam Delmerico847178f2022-12-15 09:36:35 -0500853 "malloc-rss-benchmark", // depends on unconverted modules: libmeminfo
Sam Delmerico24c56032022-03-28 19:53:03 +0000854 "pbtombstone", "crash_dump", // depends on libdebuggerd, libunwindstack
Cole Faustd82f0362023-04-12 17:32:19 -0700855 "releasetools_test", // depends on unconverted modules: com.android.apex.compressed.v1
Vinh Tranf19b6582022-09-21 17:01:49 -0400856 "robolectric-sqlite4java-0.282", // depends on unconverted modules: robolectric-sqlite4java-import, robolectric-sqlite4java-native
857 "static_crasher", // depends on unconverted modules: libdebuggerd_handler
858 "test_fips", // depends on unconverted modules: adb
859 "timezone-host", // depends on unconverted modules: art.module.api.annotations
860 "truth-host-prebuilt", // depends on unconverted modules: truth-prebuilt
861 "truth-prebuilt", // depends on unconverted modules: asm-7.0, guava
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxbff2e882022-04-20 18:44:54 +0000862
Jingwen Chen5012e072022-08-04 15:04:43 +0000863 // '//bionic/libc:libc_bp2build_cc_library_static' is duplicated in the 'deps' attribute of rule
864 "toybox-static",
Wei Li81852ca2022-07-27 00:22:06 -0700865
Liz Kammer09d831e2022-09-16 09:02:26 -0400866 // aidl files not created
867 "overlayable_policy_aidl_interface",
868
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000869 //prebuilts/tools/common/m2
870 // depends on //external/okio:okio-lib, which uses kotlin
871 "wire-runtime",
872
Jingwen Chena0519422022-09-28 08:01:57 +0000873 // depends on adbd_system_api_recovery, which is a unconverted `phony` module type
874 "minadbd",
875
876 // depends on android.hardware.health-V2.0-java
877 "android.hardware.health-translate-java",
878
Jingwen Chen263d4002023-03-29 07:15:10 +0000879 //system/libvintf
880 // depends on apex-info-list-tinyxml, unconverted xsd_config Soong module type.
881 "libvintf",
882 "vintf",
883 "libassemblevintf",
884 "assemble_vintf",
885 "libvintffm",
886 "vintffm",
887 "checkvintf",
888
889 // depends on audio_policy_configuration_aidl_default, xsd_config module.
890 "libaudioserviceexampleimpl",
891 "android.hardware.audio.service-aidl.example",
892
893 // depends on //system/tools/aidl/build:aidl_metadata_json, which is an aidl_interfaces_metadata custom Soong type.
894 "aidl_metadata_in_cpp",
895 "libaidlmetadata",
Jingwen Chen29c45612023-03-30 05:17:01 +0000896 "libaidlmetadata_test",
Jingwen Chen263d4002023-03-29 07:15:10 +0000897
898 // depends on //system/tools/hidl/build:hidl_metadata_json, which is an hidl_interfaces_metadata custom Soong type.
899 "hidl_metadata_in_cpp",
900 "libhidlmetadata",
Jingwen Chen29c45612023-03-30 05:17:01 +0000901 "hidl_metadata_test",
Jingwen Chen263d4002023-03-29 07:15:10 +0000902
Jingwen Chen537242c2022-08-24 11:53:27 +0000903 // cc_test related.
Jingwen Chenb5edbf92023-03-20 13:17:49 +0000904 // b/274164834 "Could not open Configuration file test.cfg"
905 "svcenc", "svcdec",
906
Jingwen Chen537242c2022-08-24 11:53:27 +0000907 // Failing host cc_tests
908 "memunreachable_unit_test",
909 "libprocinfo_test",
910 "ziparchive-tests",
911 "gtest_isolated_tests",
912 "libunwindstack_unit_test",
913 "task_profiles_test",
914 "power_tests", // failing test on server, but not on host
915
916 // reflect: call of reflect.Value.NumField on interface Value
917 // affects all cc_tests that depend on art_defaults
918 "libnativebridge-tests",
919 "libnativeloader_test",
920 "art_libnativebridge_cts_tests",
921 "art_standalone_libdexfile_external_tests",
922 "art_standalone_libdexfile_support_tests",
923 "libnativebridge-lazy-tests",
924 "libnativebridge-test-case",
925 "libnativebridge2-test-case",
926 "libnativebridge3-test-case",
927 "libnativebridge6-test-case",
928 "libnativebridge6prezygotefork",
929
Liz Kammer09d831e2022-09-16 09:02:26 -0400930 "libandroidfw_tests", "aapt2_tests", // failing due to data path issues
931
Jingwen Chena485d092023-04-20 12:34:08 +0000932 // error: overriding commands for target
933 // `out/host/linux-x86/nativetest64/gmock_tests/gmock_tests__cc_runner_test',
934 // previously defined at out/soong/installs-aosp_arm.mk:64919`
935 "gmock_tests",
936
Jingwen Chen537242c2022-08-24 11:53:27 +0000937 // cc_test with unconverted deps, or are device-only (and not verified to pass yet)
938 "AMRWBEncTest",
Sam Delmericobefbf052023-04-28 11:23:58 -0400939 "AmrnbDecoderTest", // depends on unconverted modules: libaudioutils, libsndfile
940 "AmrnbEncoderTest", // depends on unconverted modules: libaudioutils, libsndfile
941 "AmrwbDecoderTest", // depends on unconverted modules: libsndfile, libaudioutils
942 "AmrwbEncoderTest", // depends on unconverted modules: libaudioutils, libsndfile
943 "Mp3DecoderTest", // depends on unconverted modules: libsndfile, libaudioutils
Jingwen Chen537242c2022-08-24 11:53:27 +0000944 "avcdec",
945 "avcenc",
946 "bionic-benchmarks-tests",
947 "bionic-fortify-runtime-asan-test",
948 "bionic-stress-tests",
949 "bionic-unit-tests",
950 "bionic-unit-tests-glibc",
951 "bionic-unit-tests-static",
952 "boringssl_crypto_test",
953 "boringssl_ssl_test",
954 "cfi_test_helper",
955 "cfi_test_helper2",
956 "cintltst32",
957 "cintltst64",
958 "compare",
959 "cpuid",
960 "debuggerd_test", // depends on unconverted modules: libdebuggerd
961 "elftls_dlopen_ie_error_helper",
962 "exec_linker_helper",
963 "fastdeploy_test", // depends on unconverted modules: AdbWinApi, libadb_host, libandroidfw, libfastdeploy_host, libopenscreen-discovery, libopenscreen-platform-impl, libusb
964 "fdtrack_test",
965 "google-benchmark-test",
966 "googletest-param-test-test_ndk", // depends on unconverted modules: libgtest_ndk_c++
967 "gtest-typed-test_test",
968 "gtest-typed-test_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
969 "gtest_ndk_tests", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
970 "gtest_ndk_tests_no_main", // depends on unconverted modules: libgtest_ndk_c++
971 "gtest_prod_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
972 "gtest_tests",
973 "gtest_tests_no_main",
974 "gwp_asan_unittest",
975 "half_test",
976 "hashcombine_test",
977 "hevcdec",
978 "hevcenc",
979 "hwbinderThroughputTest", // depends on unconverted modules: android.hardware.tests.libhwbinder@1.0-impl.test, android.hardware.tests.libhwbinder@1.0
980 "i444tonv12_eg",
981 "icu4c_sample_break",
982 "intltest32",
983 "intltest64",
984 "ion-unit-tests",
985 "jemalloc5_integrationtests",
986 "jemalloc5_unittests",
987 "ld_config_test_helper",
988 "ld_preload_test_helper",
989 "libBionicCtsGtestMain", // depends on unconverted modules: libgtest_isolated
990 "libBionicLoaderTests", // depends on unconverted modules: libmeminfo
991 "libapexutil_tests", // depends on unconverted modules: apex-info-list-tinyxml, libapexutil
Jingwen Chen537242c2022-08-24 11:53:27 +0000992 "libcutils_sockets_test",
993 "libexpectedutils_test",
994 "libhwbinder_latency",
Jingwen Chenf0616002022-09-01 14:28:55 +0000995 "liblog-host-test", // failing tests
Jingwen Chen537242c2022-08-24 11:53:27 +0000996 "libminijail_test",
997 "libminijail_unittest_gtest",
998 "libpackagelistparser_test",
999 "libprotobuf_vendor_suffix_test",
1000 "libstagefright_amrnbdec_test", // depends on unconverted modules: libsndfile, libaudioutils
1001 "libstagefright_amrnbenc_test",
1002 "libstagefright_amrwbdec_test", // depends on unconverted modules: libsndfile, libaudioutils
1003 "libstagefright_m4vh263enc_test",
1004 "libstagefright_mp3dec_test", // depends on unconverted modules: libsndfile, libaudioutils
1005 "libstatssocket_test",
1006 "libvndksupport-tests",
1007 "libyuv_unittest",
1008 "linker-unit-tests",
1009 "malloc_debug_system_tests",
1010 "malloc_debug_unit_tests",
1011 "malloc_hooks_system_tests",
1012 "mat_test",
1013 "mathtest",
1014 "memunreachable_binder_test", // depends on unconverted modules: libbinder
1015 "memunreachable_test",
1016 "metadata_tests",
1017 "minijail0_cli_unittest_gtest",
1018 "mpeg2dec",
1019 "mvcdec",
1020 "ns_hidden_child_helper",
1021 "pngtest",
1022 "preinit_getauxval_test_helper",
1023 "preinit_syscall_test_helper",
1024 "psnr",
1025 "quat_test",
1026 "rappor-tests", // depends on unconverted modules: jsr305, guava
1027 "scudo_unit_tests",
1028 "stats-log-api-gen-test", // depends on unconverted modules: libstats_proto_host
1029 "syscall_filter_unittest_gtest",
1030 "sysprop_test", // depends on unconverted modules: libcom.android.sysprop.tests
1031 "thread_exit_cb_helper",
1032 "tls_properties_helper",
1033 "ulp",
1034 "vec_test",
1035 "yuvconstants",
1036 "yuvconvert",
1037 "zipalign_tests",
Jingwen Chen537242c2022-08-24 11:53:27 +00001038
1039 // cc_test_library
1040 "clang_diagnostic_tests",
1041 "exec_linker_helper_lib",
1042 "fortify_disabled_for_tidy",
1043 "ld_config_test_helper_lib1",
1044 "ld_config_test_helper_lib2",
1045 "ld_config_test_helper_lib3",
1046 "ld_preload_test_helper_lib1",
1047 "ld_preload_test_helper_lib2",
1048 "libBionicElfTlsLoaderTests",
1049 "libBionicElfTlsTests",
1050 "libBionicElfTlsTests",
1051 "libBionicFramePointerTests",
1052 "libBionicFramePointerTests",
1053 "libBionicStandardTests",
1054 "libBionicStandardTests",
1055 "libBionicTests",
1056 "libart-broken",
1057 "libatest_simple_zip",
1058 "libcfi-test",
1059 "libcfi-test-bad",
1060 "libcrash_test",
Liz Kammerf6275092023-04-11 11:06:07 -04001061 "libcrypto_fuzz_unsafe",
Jingwen Chen537242c2022-08-24 11:53:27 +00001062 "libdl_preempt_test_1",
1063 "libdl_preempt_test_2",
1064 "libdl_test_df_1_global",
1065 "libdlext_test",
1066 "libdlext_test_different_soname",
1067 "libdlext_test_fd",
1068 "libdlext_test_norelro",
1069 "libdlext_test_recursive",
1070 "libdlext_test_zip",
Vinh Tran220fb8b2022-10-04 12:04:17 -04001071 "libdvrcommon_test",
Jingwen Chen537242c2022-08-24 11:53:27 +00001072 "libfortify1-new-tests-clang",
1073 "libfortify1-new-tests-clang",
1074 "libfortify1-tests-clang",
1075 "libfortify1-tests-clang",
1076 "libfortify2-new-tests-clang",
1077 "libfortify2-new-tests-clang",
1078 "libfortify2-tests-clang",
1079 "libfortify2-tests-clang",
1080 "libgnu-hash-table-library",
1081 "libicutest_static",
1082 "liblinker_reloc_bench_000",
1083 "liblinker_reloc_bench_001",
1084 "liblinker_reloc_bench_002",
1085 "liblinker_reloc_bench_003",
1086 "liblinker_reloc_bench_004",
1087 "liblinker_reloc_bench_005",
1088 "liblinker_reloc_bench_006",
1089 "liblinker_reloc_bench_007",
1090 "liblinker_reloc_bench_008",
1091 "liblinker_reloc_bench_009",
1092 "liblinker_reloc_bench_010",
1093 "liblinker_reloc_bench_011",
1094 "liblinker_reloc_bench_012",
1095 "liblinker_reloc_bench_013",
1096 "liblinker_reloc_bench_014",
1097 "liblinker_reloc_bench_015",
1098 "liblinker_reloc_bench_016",
1099 "liblinker_reloc_bench_017",
1100 "liblinker_reloc_bench_018",
1101 "liblinker_reloc_bench_019",
1102 "liblinker_reloc_bench_020",
1103 "liblinker_reloc_bench_021",
1104 "liblinker_reloc_bench_022",
1105 "liblinker_reloc_bench_023",
1106 "liblinker_reloc_bench_024",
1107 "liblinker_reloc_bench_025",
1108 "liblinker_reloc_bench_026",
1109 "liblinker_reloc_bench_027",
1110 "liblinker_reloc_bench_028",
1111 "liblinker_reloc_bench_029",
1112 "liblinker_reloc_bench_030",
1113 "liblinker_reloc_bench_031",
1114 "liblinker_reloc_bench_032",
1115 "liblinker_reloc_bench_033",
1116 "liblinker_reloc_bench_034",
1117 "liblinker_reloc_bench_035",
1118 "liblinker_reloc_bench_036",
1119 "liblinker_reloc_bench_037",
1120 "liblinker_reloc_bench_038",
1121 "liblinker_reloc_bench_039",
1122 "liblinker_reloc_bench_040",
1123 "liblinker_reloc_bench_041",
1124 "liblinker_reloc_bench_042",
1125 "liblinker_reloc_bench_043",
1126 "liblinker_reloc_bench_044",
1127 "liblinker_reloc_bench_045",
1128 "liblinker_reloc_bench_046",
1129 "liblinker_reloc_bench_047",
1130 "liblinker_reloc_bench_048",
1131 "liblinker_reloc_bench_049",
1132 "liblinker_reloc_bench_050",
1133 "liblinker_reloc_bench_051",
1134 "liblinker_reloc_bench_052",
1135 "liblinker_reloc_bench_053",
1136 "liblinker_reloc_bench_054",
1137 "liblinker_reloc_bench_055",
1138 "liblinker_reloc_bench_056",
1139 "liblinker_reloc_bench_057",
1140 "liblinker_reloc_bench_058",
1141 "liblinker_reloc_bench_059",
1142 "liblinker_reloc_bench_060",
1143 "liblinker_reloc_bench_061",
1144 "liblinker_reloc_bench_062",
1145 "liblinker_reloc_bench_063",
1146 "liblinker_reloc_bench_064",
1147 "liblinker_reloc_bench_065",
1148 "liblinker_reloc_bench_066",
1149 "liblinker_reloc_bench_067",
1150 "liblinker_reloc_bench_068",
1151 "liblinker_reloc_bench_069",
1152 "liblinker_reloc_bench_070",
1153 "liblinker_reloc_bench_071",
1154 "liblinker_reloc_bench_072",
1155 "liblinker_reloc_bench_073",
1156 "liblinker_reloc_bench_074",
1157 "liblinker_reloc_bench_075",
1158 "liblinker_reloc_bench_076",
1159 "liblinker_reloc_bench_077",
1160 "liblinker_reloc_bench_078",
1161 "liblinker_reloc_bench_079",
1162 "liblinker_reloc_bench_080",
1163 "liblinker_reloc_bench_081",
1164 "liblinker_reloc_bench_082",
1165 "liblinker_reloc_bench_083",
1166 "liblinker_reloc_bench_084",
1167 "liblinker_reloc_bench_085",
1168 "liblinker_reloc_bench_086",
1169 "liblinker_reloc_bench_087",
1170 "liblinker_reloc_bench_088",
1171 "liblinker_reloc_bench_089",
1172 "liblinker_reloc_bench_090",
1173 "liblinker_reloc_bench_091",
1174 "liblinker_reloc_bench_092",
1175 "liblinker_reloc_bench_093",
1176 "liblinker_reloc_bench_094",
1177 "liblinker_reloc_bench_095",
1178 "liblinker_reloc_bench_096",
1179 "liblinker_reloc_bench_097",
1180 "liblinker_reloc_bench_098",
1181 "liblinker_reloc_bench_099",
1182 "liblinker_reloc_bench_100",
1183 "liblinker_reloc_bench_101",
1184 "liblinker_reloc_bench_102",
1185 "liblinker_reloc_bench_103",
1186 "liblinker_reloc_bench_104",
1187 "liblinker_reloc_bench_105",
1188 "liblinker_reloc_bench_106",
1189 "liblinker_reloc_bench_107",
1190 "liblinker_reloc_bench_108",
1191 "liblinker_reloc_bench_109",
1192 "liblinker_reloc_bench_110",
1193 "liblinker_reloc_bench_111",
1194 "liblinker_reloc_bench_112",
1195 "liblinker_reloc_bench_113",
1196 "liblinker_reloc_bench_114",
1197 "liblinker_reloc_bench_115",
1198 "liblinker_reloc_bench_116",
1199 "liblinker_reloc_bench_117",
1200 "liblinker_reloc_bench_118",
1201 "liblinker_reloc_bench_119",
1202 "liblinker_reloc_bench_120",
1203 "liblinker_reloc_bench_121",
1204 "liblinker_reloc_bench_122",
1205 "liblinker_reloc_bench_123",
1206 "liblinker_reloc_bench_124",
1207 "liblinker_reloc_bench_125",
1208 "liblinker_reloc_bench_126",
1209 "liblinker_reloc_bench_127",
1210 "liblinker_reloc_bench_128",
1211 "liblinker_reloc_bench_129",
1212 "liblinker_reloc_bench_130",
1213 "liblinker_reloc_bench_131",
1214 "liblinker_reloc_bench_132",
1215 "liblinker_reloc_bench_133",
1216 "liblinker_reloc_bench_134",
1217 "liblinker_reloc_bench_135",
1218 "liblinker_reloc_bench_136",
1219 "liblinker_reloc_bench_137",
1220 "liblinker_reloc_bench_138",
1221 "liblinker_reloc_bench_139",
1222 "liblinker_reloc_bench_140",
1223 "liblinker_reloc_bench_141",
1224 "liblinker_reloc_bench_142",
1225 "liblinker_reloc_bench_143",
1226 "liblinker_reloc_bench_144",
1227 "liblinker_reloc_bench_145",
1228 "liblinker_reloc_bench_146",
1229 "liblinker_reloc_bench_147",
1230 "liblinker_reloc_bench_148",
1231 "liblinker_reloc_bench_149",
1232 "liblinker_reloc_bench_150",
1233 "liblinker_reloc_bench_151",
1234 "liblinker_reloc_bench_152",
1235 "liblinker_reloc_bench_153",
1236 "liblinker_reloc_bench_154",
1237 "liblinker_reloc_bench_155",
1238 "liblinker_reloc_bench_156",
1239 "liblinker_reloc_bench_157",
1240 "liblinker_reloc_bench_158",
1241 "liblinker_reloc_bench_159",
1242 "liblinker_reloc_bench_160",
1243 "liblinker_reloc_bench_161",
1244 "liblinker_reloc_bench_162",
1245 "liblinker_reloc_bench_163",
1246 "liblinker_reloc_bench_164",
1247 "liblinker_reloc_bench_165",
1248 "liblinker_reloc_bench_166",
1249 "liblinker_reloc_bench_167",
1250 "liblinker_reloc_bench_168",
1251 "libns_hidden_child_app",
1252 "libns_hidden_child_global",
1253 "libns_hidden_child_internal",
1254 "libns_hidden_child_public",
1255 "libnstest_dlopened",
1256 "libnstest_ns_a_public1",
1257 "libnstest_ns_a_public1_internal",
1258 "libnstest_ns_b_public2",
1259 "libnstest_ns_b_public3",
1260 "libnstest_private",
1261 "libnstest_private_external",
1262 "libnstest_public",
1263 "libnstest_public_internal",
1264 "libnstest_root",
1265 "libnstest_root_not_isolated",
1266 "librelocations-ANDROID_REL",
1267 "librelocations-ANDROID_RELR",
1268 "librelocations-RELR",
1269 "librelocations-fat",
1270 "libsegment_gap_inner",
1271 "libsegment_gap_outer",
Liz Kammerf6275092023-04-11 11:06:07 -04001272 "libssl_fuzz_unsafe",
Jingwen Chen537242c2022-08-24 11:53:27 +00001273 "libstatssocket_private",
1274 "libsysv-hash-table-library",
1275 "libtest_atexit",
1276 "libtest_check_order_dlsym",
1277 "libtest_check_order_dlsym_1_left",
1278 "libtest_check_order_dlsym_2_right",
1279 "libtest_check_order_dlsym_3_c",
1280 "libtest_check_order_dlsym_a",
1281 "libtest_check_order_dlsym_b",
1282 "libtest_check_order_dlsym_d",
1283 "libtest_check_order_reloc_root",
1284 "libtest_check_order_reloc_root_1",
1285 "libtest_check_order_reloc_root_2",
1286 "libtest_check_order_reloc_siblings",
1287 "libtest_check_order_reloc_siblings_1",
1288 "libtest_check_order_reloc_siblings_2",
1289 "libtest_check_order_reloc_siblings_3",
1290 "libtest_check_order_reloc_siblings_a",
1291 "libtest_check_order_reloc_siblings_b",
1292 "libtest_check_order_reloc_siblings_c",
1293 "libtest_check_order_reloc_siblings_c_1",
1294 "libtest_check_order_reloc_siblings_c_2",
1295 "libtest_check_order_reloc_siblings_d",
1296 "libtest_check_order_reloc_siblings_e",
1297 "libtest_check_order_reloc_siblings_f",
1298 "libtest_check_rtld_next_from_library",
1299 "libtest_dlopen_df_1_global",
1300 "libtest_dlopen_from_ctor",
1301 "libtest_dlopen_from_ctor_main",
1302 "libtest_dlopen_weak_undefined_func",
1303 "libtest_dlsym_df_1_global",
1304 "libtest_dlsym_from_this",
1305 "libtest_dlsym_from_this_child",
1306 "libtest_dlsym_from_this_grandchild",
1307 "libtest_dlsym_weak_func",
1308 "libtest_dt_runpath_a",
1309 "libtest_dt_runpath_b",
1310 "libtest_dt_runpath_c",
1311 "libtest_dt_runpath_d",
1312 "libtest_dt_runpath_d_zip",
1313 "libtest_dt_runpath_x",
1314 "libtest_dt_runpath_y",
1315 "libtest_elftls_dynamic",
1316 "libtest_elftls_dynamic_filler_1",
1317 "libtest_elftls_dynamic_filler_2",
1318 "libtest_elftls_dynamic_filler_3",
1319 "libtest_elftls_shared_var",
1320 "libtest_elftls_shared_var_ie",
1321 "libtest_elftls_tprel",
1322 "libtest_empty",
1323 "libtest_ifunc",
1324 "libtest_ifunc_variable",
1325 "libtest_ifunc_variable_impl",
1326 "libtest_indirect_thread_local_dtor",
1327 "libtest_init_fini_order_child",
1328 "libtest_init_fini_order_grand_child",
1329 "libtest_init_fini_order_root",
1330 "libtest_init_fini_order_root2",
1331 "libtest_missing_symbol",
1332 "libtest_missing_symbol_child_private",
1333 "libtest_missing_symbol_child_public",
1334 "libtest_missing_symbol_root",
1335 "libtest_nodelete_1",
1336 "libtest_nodelete_2",
1337 "libtest_nodelete_dt_flags_1",
1338 "libtest_pthread_atfork",
1339 "libtest_relo_check_dt_needed_order",
1340 "libtest_relo_check_dt_needed_order_1",
1341 "libtest_relo_check_dt_needed_order_2",
1342 "libtest_simple",
1343 "libtest_thread_local_dtor",
1344 "libtest_thread_local_dtor2",
1345 "libtest_two_parents_child",
1346 "libtest_two_parents_parent1",
1347 "libtest_two_parents_parent2",
1348 "libtest_versioned_lib",
1349 "libtest_versioned_libv1",
1350 "libtest_versioned_libv2",
1351 "libtest_versioned_otherlib",
1352 "libtest_versioned_otherlib_empty",
1353 "libtest_versioned_uselibv1",
1354 "libtest_versioned_uselibv2",
1355 "libtest_versioned_uselibv2_other",
1356 "libtest_versioned_uselibv3_other",
1357 "libtest_with_dependency",
1358 "libtest_with_dependency_loop",
1359 "libtest_with_dependency_loop_a",
1360 "libtest_with_dependency_loop_b",
1361 "libtest_with_dependency_loop_b_tmp",
1362 "libtest_with_dependency_loop_c",
1363 "libtestshared",
Vinh Tran583a07d2022-09-20 17:25:34 -04001364
1365 // depends on unconverted libprotobuf-java-nano
1366 "dnsresolverprotosnano",
1367 "launcherprotosnano",
1368 "datastallprotosnano",
1369 "devicepolicyprotosnano",
Wei Li7d8f6182022-10-11 14:38:16 -07001370 "ota_metadata_proto_java",
1371 "merge_ota",
1372
1373 // releasetools
1374 "releasetools_fsverity_metadata_generator",
1375 "verity_utils",
1376 "check_ota_package_signature",
1377 "check_target_files_vintf",
1378 "releasetools_check_target_files_vintf",
1379 "releasetools_verity_utils",
1380 "build_image",
1381 "ota_from_target_files",
1382 "releasetools_ota_from_target_files",
1383 "releasetools_build_image",
1384 "add_img_to_target_files",
1385 "releasetools_add_img_to_target_files",
1386 "fsverity_metadata_generator",
1387 "sign_target_files_apks",
1388
1389 // depends on the support of yacc file
1390 "libapplypatch",
1391 "libapplypatch_modes",
1392 "applypatch",
Yu Liu6c999ef2022-10-19 16:41:10 +00001393
1394 // TODO(b/254476335): disable the following due to this bug
1395 "libapexinfo",
1396 "libapexinfo_tests",
Colin Cross20c89f12022-12-05 16:47:44 -08001397
1398 // uses glob in $(locations)
1399 "libc_musl_sysroot",
Kevin Dagostino2c3be412023-02-07 04:10:27 +00001400
1401 // TODO(b/266459895): depends on libunwindstack
1402 "libutils_test",
Romain Jobredeaux2eef2e12023-02-24 12:07:08 -05001403
Cole Faustd82f0362023-04-12 17:32:19 -07001404 // Has dependencies on other tools like ziptool, bp2build'd data properties don't work with these tests atm
1405 "ziparchive_tests_large",
1406 "mkbootimg_test",
1407 "certify_bootimg_test",
1408
1409 // Despite being _host module types, these require devices to run
1410 "logd_integration_test",
1411 "mobly-hello-world-test",
1412 "mobly-multidevice-test",
1413
Romain Jobredeaux2eef2e12023-02-24 12:07:08 -05001414 // TODO(b/274805756): Support core_platform and current java APIs
1415 "fake-framework",
1416
1417 // TODO(b/277616982): These modules depend on private java APIs, but maybe they don't need to.
1418 "StreamingProtoTest",
1419 "textclassifierprotoslite",
1420 "styleprotoslite",
1421 "CtsPkgInstallerConstants",
1422 "guava-android-testlib",
Sam Delmericobefbf052023-04-28 11:23:58 -04001423
1424 "MetaDataBaseUnitTest", // depends on libstagefright
1425 "AVCUtilsUnitTest", // depends on libstagefright
1426 "ColorUtilsTest", // depends on libmediandk
Sam Delmerico24c56032022-03-28 19:53:03 +00001427 }
1428
Sam Delmerico24c56032022-03-28 19:53:03 +00001429 MixedBuildsDisabledList = []string{
Liz Kammer63367e12022-06-13 19:35:12 +00001430 "libruy_static", "libtflite_kernel_utils", // TODO(b/237315968); Depend on prebuilt stl, not from source
1431
Sam Delmerico24c56032022-03-28 19:53:03 +00001432 "art_libdexfile_dex_instruction_list_header", // breaks libart_mterp.armng, header not found
1433
1434 "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
1435 "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.
1436
1437 "cap_names.h", // TODO(b/204913827) runfiles need to be handled in mixed builds
1438 "libcap", // TODO(b/204913827) runfiles need to be handled in mixed builds
1439 "libprotobuf-cpp-full", "libprotobuf-cpp-lite", // Unsupported product&vendor suffix. b/204811222 and b/204810610.
1440
1441 // Depends on libprotobuf-cpp-*
1442 "libadb_pairing_connection",
1443 "libadb_pairing_connection_static",
1444 "libadb_pairing_server", "libadb_pairing_server_static",
1445
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxa56e9702022-02-23 18:39:59 -05001446 // TODO(b/240563612) Needing `stem` selection support for cc_binary
Sam Delmerico24c56032022-03-28 19:53:03 +00001447 "crasher",
Sam Delmerico277795c2022-02-25 17:04:37 +00001448
1449 // java_import[_host] issues
1450 // tradefed prebuilts depend on libprotobuf
1451 "prebuilt_tradefed",
1452 "prebuilt_tradefed-test-framework",
1453 // handcrafted BUILD.bazel files in //prebuilts/...
1454 "prebuilt_r8lib-prebuilt",
1455 "prebuilt_sdk-core-lambda-stubs",
1456 "prebuilt_android-support-collections-nodeps",
1457 "prebuilt_android-arch-core-common-nodeps",
1458 "prebuilt_android-arch-lifecycle-common-java8-nodeps",
1459 "prebuilt_android-arch-lifecycle-common-nodeps",
1460 "prebuilt_android-support-annotations-nodeps",
1461 "prebuilt_android-arch-paging-common-nodeps",
1462 "prebuilt_android-arch-room-common-nodeps",
Sam Delmerico0b66fb22022-08-23 15:17:29 -04001463 // TODO(b/217750501) exclude_dirs property not supported
1464 "prebuilt_kotlin-reflect",
1465 "prebuilt_kotlin-stdlib",
1466 "prebuilt_kotlin-stdlib-jdk7",
1467 "prebuilt_kotlin-stdlib-jdk8",
1468 "prebuilt_kotlin-test",
1469 // TODO(b/217750501) exclude_files property not supported
Sam Delmerico0b66fb22022-08-23 15:17:29 -04001470 "prebuilt_currysrc_org.eclipse",
Yu Liu828c4062023-01-23 20:56:46 +00001471
1472 // TODO(b/266459895): re-enable libunwindstack
1473 "libunwindstack",
1474 "libunwindstack_stdout_log",
1475 "libunwindstack_no_dex",
1476 "libunwindstack_utils",
1477 "unwind_reg_info",
1478 "libunwindstack_local",
1479 "unwind_for_offline",
1480 "unwind",
1481 "unwind_info",
1482 "unwind_symbols",
Yu Liu828c4062023-01-23 20:56:46 +00001483 "libEGL",
Yu Liu828c4062023-01-23 20:56:46 +00001484 "libGLESv2",
Liz Kammerf2355052023-03-22 11:14:34 -04001485 "libc_malloc_debug",
1486 "libcodec2_hidl@1.0",
Yu Liu828c4062023-01-23 20:56:46 +00001487 "libcodec2_hidl@1.1",
Yu Liu828c4062023-01-23 20:56:46 +00001488 "libcodec2_hidl@1.2",
Liz Kammerf2355052023-03-22 11:14:34 -04001489 "libfdtrack",
1490 "libgui",
1491 "libgui_bufferqueue_static",
1492 "libmedia_codecserviceregistrant",
1493 "libstagefright_bufferqueue_helper_novndk",
Yu Liu828c4062023-01-23 20:56:46 +00001494 "libutils_test",
1495 "libutilscallstack",
Liz Kammerf2355052023-03-22 11:14:34 -04001496 "mediaswcodec",
Sam Delmerico24c56032022-03-28 19:53:03 +00001497 }
Chris Parsonsef615e52022-08-18 22:04:11 -04001498
Chris Parsons66fc7452022-11-04 13:26:17 -04001499 // Bazel prod-mode allowlist. Modules in this list are built by Bazel
1500 // in either prod mode or staging mode.
Jingwen Chen889f2f22022-12-16 08:16:01 +00001501 ProdMixedBuildsEnabledList = []string{
Jingwen Chen01addfc2023-03-13 12:49:52 +00001502 // M5: tzdata launch
Jingwen Chen889f2f22022-12-16 08:16:01 +00001503 "com.android.tzdata",
1504 "test1_com.android.tzdata",
Jingwen Chen61342112023-04-11 08:49:01 +00001505 "test3_com.android.tzdata",
Jingwen Chen01addfc2023-03-13 12:49:52 +00001506 // M7: adbd launch
Jingwen Chen98bf5cc2022-12-14 13:27:25 +00001507 "com.android.adbd",
1508 "test_com.android.adbd",
1509 "adbd_test",
1510 "adb_crypto_test",
1511 "adb_pairing_auth_test",
1512 "adb_pairing_connection_test",
1513 "adb_tls_connection_test",
Jingwen Chen01addfc2023-03-13 12:49:52 +00001514 // M9: mixed builds for mainline trains launch
1515 "api_fingerprint",
Sam Delmerico96e53702023-04-07 15:09:37 -04001516 // M11: neuralnetworks launch
1517 "com.android.neuralnetworks",
1518 "test_com.android.neuralnetworks",
1519 "libneuralnetworks",
1520 "libneuralnetworks_static",
Jingwen Chen889f2f22022-12-16 08:16:01 +00001521 }
MarkDacekb78465d2022-10-18 20:10:16 +00001522
Chris Parsons66fc7452022-11-04 13:26:17 -04001523 // Staging-mode allowlist. Modules in this list are only built
1524 // by Bazel with --bazel-mode-staging. This list should contain modules
1525 // which will soon be added to the prod allowlist.
MarkDacek421a4d62022-12-13 21:17:08 +00001526 // It is implicit that all modules in ProdMixedBuildsEnabledList will
1527 // also be built - do not add them to this list.
Sam Delmericobefbf052023-04-28 11:23:58 -04001528 StagingMixedBuildsEnabledList = []string{
1529 // M13: media.swcodec launch
1530 "com.android.media.swcodec",
1531 "test_com.android.media.swcodec",
1532 "libstagefright_foundation",
1533 "libcodec2_hidl@1.0",
1534 "libcodec2_hidl@1.1",
1535 "libcodec2_hidl@1.2",
1536 }
Yu Liue4312402023-01-18 09:15:31 -08001537
1538 // These should be the libs that are included by the apexes in the ProdMixedBuildsEnabledList
Jingwen Chen01addfc2023-03-13 12:49:52 +00001539 ProdDclaMixedBuildsEnabledList = []string{
Yu Liue4312402023-01-18 09:15:31 -08001540 "libbase",
1541 "libc++",
1542 "libcrypto",
1543 "libcutils",
1544 }
1545
Jingwen Chen01addfc2023-03-13 12:49:52 +00001546 // These should be the libs that are included by the apexes in the StagingMixedBuildsEnabledList
1547 StagingDclaMixedBuildsEnabledList = []string{}
1548
Yu Liue4312402023-01-18 09:15:31 -08001549 // TODO(b/269342245): Enable the rest of the DCLA libs
1550 // "libssl",
1551 // "libstagefright_flacdec",
1552 // "libutils",
Jeongik Chae114e602023-03-19 00:12:39 +09001553
1554 // TODO(b/273282046): Make this list customizable to support various targets.
1555 // The list of modules which are expected to spend lots of build time.
1556 // With `--ninja_weight_source=soong`, ninja builds these modules and deps first.
1557 HugeModulesMap = map[string]int{
Jeongik Cha2ece11e2023-03-29 23:25:40 +09001558 "AccountManagementApp": DEFAULT_NINJA_WEIGHT,
1559 "ActivityManagerPerfTestsStubApp1": DEFAULT_NINJA_WEIGHT,
1560 "ActivityManagerPerfTestsStubApp2": DEFAULT_NINJA_WEIGHT,
1561 "ActivityManagerPerfTestsStubApp3": DEFAULT_NINJA_WEIGHT,
1562 "api-stubs-docs-non-updatable": DEFAULT_NINJA_WEIGHT,
1563 "AppCompatibilityTest": DEFAULT_NINJA_WEIGHT,
1564 "AppTransitionTests": DEFAULT_NINJA_WEIGHT,
1565 "art_compiler_tests": DEFAULT_NINJA_WEIGHT,
1566 "art.module.intra.core.api.stubs.source": DEFAULT_NINJA_WEIGHT,
1567 "art.module.public.api.stubs.source": DEFAULT_NINJA_WEIGHT,
1568 "AttestationVerificationTest": DEFAULT_NINJA_WEIGHT,
1569 "BatteryUsageStatsProtoTests": DEFAULT_NINJA_WEIGHT,
1570 "bluetooth_test_gd_unit": DEFAULT_NINJA_WEIGHT,
1571 "Bluetooth": DEFAULT_NINJA_WEIGHT,
1572 "BluetoothInstrumentationTests": DEFAULT_NINJA_WEIGHT,
1573 "Calendar": DEFAULT_NINJA_WEIGHT,
1574 "CalendarProvider": DEFAULT_NINJA_WEIGHT,
1575 "Camera2": DEFAULT_NINJA_WEIGHT,
1576 "CarRotaryControllerUnitTests": DEFAULT_NINJA_WEIGHT,
1577 "CarSettingsForUnitTesting": DEFAULT_NINJA_WEIGHT,
1578 "CarSettingsUnitTests": DEFAULT_NINJA_WEIGHT,
1579 "CarSystemUI-tests": DEFAULT_NINJA_WEIGHT,
1580 "CellBroadcastApp": DEFAULT_NINJA_WEIGHT,
1581 "CellBroadcastLegacyApp": DEFAULT_NINJA_WEIGHT,
1582 "CellBroadcastReceiverOemUnitTests": DEFAULT_NINJA_WEIGHT,
1583 "CellBroadcastServiceModule": DEFAULT_NINJA_WEIGHT,
1584 "CompanionDeviceManager": DEFAULT_NINJA_WEIGHT,
1585 "ConnectivityChecker": DEFAULT_NINJA_WEIGHT,
1586 "Contacts": DEFAULT_NINJA_WEIGHT,
1587 "ContactsProvider": DEFAULT_NINJA_WEIGHT,
1588 "ContentCapturePerfTests": DEFAULT_NINJA_WEIGHT,
1589 "CorePerfTests": DEFAULT_NINJA_WEIGHT,
1590 "crosvm": DEFAULT_NINJA_WEIGHT,
1591 "CtsDomainVerificationDeviceMultiUserTestCases": DEFAULT_NINJA_WEIGHT,
1592 "CtsLogdTestCases": DEFAULT_NINJA_WEIGHT,
1593 "CtsMediaProviderTranscodeTests": DEFAULT_NINJA_WEIGHT,
1594 "CtsRollbackManagerHostTestHelperApp": DEFAULT_NINJA_WEIGHT,
1595 "CtsRollbackManagerHostTestHelperApp2": DEFAULT_NINJA_WEIGHT,
1596 "CtsRootPackageInstallerTestCases": DEFAULT_NINJA_WEIGHT,
1597 "CtsRootRollbackManagerHostTestHelperApp": DEFAULT_NINJA_WEIGHT,
1598 "CtsTranscodeTestAppSupportsHevc": DEFAULT_NINJA_WEIGHT,
1599 "CtsTranscodeTestAppSupportsSlowMotion": DEFAULT_NINJA_WEIGHT,
1600 "CuttlefishDisplayHotplugHelperApp": DEFAULT_NINJA_WEIGHT,
1601 "cvd-host_package": DEFAULT_NINJA_WEIGHT,
1602 "DelegateTestApp": DEFAULT_NINJA_WEIGHT,
1603 "DeskClock": DEFAULT_NINJA_WEIGHT,
1604 "Development": DEFAULT_NINJA_WEIGHT,
1605 "DeviceAdminTestApp": DEFAULT_NINJA_WEIGHT,
1606 "DevicePolicyManagementRoleHolderTestApp": DEFAULT_NINJA_WEIGHT,
1607 "dex2oatd": DEFAULT_NINJA_WEIGHT,
1608 "DocumentsUI": DEFAULT_NINJA_WEIGHT,
1609 "EasterEgg": DEFAULT_NINJA_WEIGHT,
1610 "EffectProxyTest": DEFAULT_NINJA_WEIGHT,
1611 "EmergencyInfo": DEFAULT_NINJA_WEIGHT,
1612 "EmptyTestApp": DEFAULT_NINJA_WEIGHT,
1613 "ExtServices": DEFAULT_NINJA_WEIGHT,
1614 "FacebookAppsScenarioTests": DEFAULT_NINJA_WEIGHT,
1615 "flickerlib-core": DEFAULT_NINJA_WEIGHT,
1616 "flickerlib": DEFAULT_NINJA_WEIGHT,
1617 "FlickerLibTest": DEFAULT_NINJA_WEIGHT,
1618 "FlickerTests": DEFAULT_NINJA_WEIGHT,
1619 "framework-minus-apex": DEFAULT_NINJA_WEIGHT,
1620 "framework-res": DEFAULT_NINJA_WEIGHT,
1621 "FrameworksCoreTests": DEFAULT_NINJA_WEIGHT,
1622 "FrameworksMockingCoreTests": DEFAULT_NINJA_WEIGHT,
1623 "FrameworksMockingServicesTests": DEFAULT_NINJA_WEIGHT,
1624 "FrameworksNetSmokeTests": DEFAULT_NINJA_WEIGHT,
1625 "FrameworksNetTests": DEFAULT_NINJA_WEIGHT,
1626 "FrameworksServicesTests": DEFAULT_NINJA_WEIGHT,
1627 "FrameworksTelephonyTests": DEFAULT_NINJA_WEIGHT,
1628 "FrameworksUiServicesTests": DEFAULT_NINJA_WEIGHT,
1629 "FrameworksVcnTests": DEFAULT_NINJA_WEIGHT,
1630 "Gallery2": DEFAULT_NINJA_WEIGHT,
1631 "GameCoreDevice": DEFAULT_NINJA_WEIGHT,
1632 "GoogleBluetoothInstrumentationTests": DEFAULT_NINJA_WEIGHT,
1633 "guice_munged_srcs": DEFAULT_NINJA_WEIGHT,
1634 "HalfSheetUX": DEFAULT_NINJA_WEIGHT,
1635 "ImePerfTests": DEFAULT_NINJA_WEIGHT,
1636 "imgdiag": DEFAULT_NINJA_WEIGHT,
1637 "ImsServiceEntitlement": DEFAULT_NINJA_WEIGHT,
1638 "ImsServiceEntitlementUnitTests": DEFAULT_NINJA_WEIGHT,
1639 "InputTests": DEFAULT_NINJA_WEIGHT,
1640 "InstallTest": DEFAULT_NINJA_WEIGHT,
1641 "IntentResolver": DEFAULT_NINJA_WEIGHT,
1642 "JankBench": DEFAULT_NINJA_WEIGHT,
1643 "jsilver": DEFAULT_NINJA_WEIGHT,
1644 "KeyChain": DEFAULT_NINJA_WEIGHT,
1645 "KeyChainTests": DEFAULT_NINJA_WEIGHT,
1646 "keystore2": DEFAULT_NINJA_WEIGHT,
1647 "LargeResourcesCompressed": DEFAULT_NINJA_WEIGHT,
1648 "LatinIME": DEFAULT_NINJA_WEIGHT,
1649 "Launcher3QuickStepLib": DEFAULT_NINJA_WEIGHT,
1650 "libaom": DEFAULT_NINJA_WEIGHT,
1651 "libart-broken": DEFAULT_NINJA_WEIGHT,
1652 "libart-compiler": DEFAULT_NINJA_WEIGHT,
1653 "libart-disassembler": DEFAULT_NINJA_WEIGHT,
1654 "libart": DEFAULT_NINJA_WEIGHT,
1655 "libartd": DEFAULT_NINJA_WEIGHT,
1656 "libaudiohal@7.1": DEFAULT_NINJA_WEIGHT,
1657 "libbluetooth_core_rs": DEFAULT_NINJA_WEIGHT,
1658 "libbluetooth_gd_unit_tests": DEFAULT_NINJA_WEIGHT,
1659 "libbluetooth_gd": DEFAULT_NINJA_WEIGHT,
1660 "libbluetooth_rs": DEFAULT_NINJA_WEIGHT,
1661 "libbluetooth-for-tests": DEFAULT_NINJA_WEIGHT,
1662 "libbt_common": DEFAULT_NINJA_WEIGHT,
1663 "libbt_packets_nonapex": DEFAULT_NINJA_WEIGHT,
1664 "libbt_packets": DEFAULT_NINJA_WEIGHT,
1665 "libbt_shim_ffi": DEFAULT_NINJA_WEIGHT,
1666 "libbt_shim": DEFAULT_NINJA_WEIGHT,
1667 "libbt-audio-hal-interface": DEFAULT_NINJA_WEIGHT,
1668 "libbt-bta-core": DEFAULT_NINJA_WEIGHT,
1669 "libbt-bta": DEFAULT_NINJA_WEIGHT,
1670 "libbt-common": DEFAULT_NINJA_WEIGHT,
1671 "libbt-hci": DEFAULT_NINJA_WEIGHT,
1672 "libbt-platform-protos-lite": DEFAULT_NINJA_WEIGHT,
1673 "libbt-protos-lite": DEFAULT_NINJA_WEIGHT,
1674 "libbt-sbc-decoder": DEFAULT_NINJA_WEIGHT,
1675 "libc": DEFAULT_NINJA_WEIGHT,
1676 "libclap": DEFAULT_NINJA_WEIGHT,
1677 "libcodec2_soft_av1dec_gav1": DEFAULT_NINJA_WEIGHT,
1678 "libcompositionengine_test": DEFAULT_NINJA_WEIGHT,
1679 "libdevices": DEFAULT_NINJA_WEIGHT,
1680 "libfrontend_proto": DEFAULT_NINJA_WEIGHT,
1681 "libhwtrust": DEFAULT_NINJA_WEIGHT,
1682 "libjni": DEFAULT_NINJA_WEIGHT,
1683 "libkeystore2": DEFAULT_NINJA_WEIGHT,
1684 "libkmr_ta": DEFAULT_NINJA_WEIGHT,
1685 "liblmp": DEFAULT_NINJA_WEIGHT,
1686 "libopenjdkjvmtid": DEFAULT_NINJA_WEIGHT,
1687 "libprotobuf_deprecated": DEFAULT_NINJA_WEIGHT,
1688 "libprotobuf": DEFAULT_NINJA_WEIGHT,
1689 "libregex": DEFAULT_NINJA_WEIGHT,
1690 "LibStatsPullTests": DEFAULT_NINJA_WEIGHT,
1691 "libstd": DEFAULT_NINJA_WEIGHT,
1692 "libsurfaceflinger_unittest": DEFAULT_NINJA_WEIGHT,
1693 "libsyn": DEFAULT_NINJA_WEIGHT,
1694 "libtokio": DEFAULT_NINJA_WEIGHT,
1695 "libuwb_core": DEFAULT_NINJA_WEIGHT,
1696 "libuwb_uci_jni_rust": DEFAULT_NINJA_WEIGHT,
1697 "libuwb_uci_packets": DEFAULT_NINJA_WEIGHT,
1698 "libvpx": DEFAULT_NINJA_WEIGHT,
1699 "libvulkan_enc": DEFAULT_NINJA_WEIGHT,
1700 "libwebrtc": DEFAULT_NINJA_WEIGHT,
1701 "LiveWallpapersPicker": DEFAULT_NINJA_WEIGHT,
1702 "LockTaskApp": DEFAULT_NINJA_WEIGHT,
1703 "LongevityPlatformLibTests": DEFAULT_NINJA_WEIGHT,
1704 "ManagedProvisioning": DEFAULT_NINJA_WEIGHT,
1705 "ManagedProvisioningTests": DEFAULT_NINJA_WEIGHT,
1706 "MediaProvider": DEFAULT_NINJA_WEIGHT,
1707 "MediaProviderClientTests": DEFAULT_NINJA_WEIGHT,
1708 "MediaProviderLegacy": DEFAULT_NINJA_WEIGHT,
1709 "messaging": DEFAULT_NINJA_WEIGHT,
1710 "metalava": DEFAULT_NINJA_WEIGHT,
1711 "MicrobenchmarkRunnerTests": DEFAULT_NINJA_WEIGHT,
1712 "microdroid_manager": DEFAULT_NINJA_WEIGHT,
1713 "minikin_tests": DEFAULT_NINJA_WEIGHT,
1714 "MLCTestApp": DEFAULT_NINJA_WEIGHT,
1715 "MmsService": DEFAULT_NINJA_WEIGHT,
1716 "MmsServiceTests": DEFAULT_NINJA_WEIGHT,
1717 "module-lib-api-stubs-docs-non-updatable": DEFAULT_NINJA_WEIGHT,
1718 "motion_tool_lib_tests": DEFAULT_NINJA_WEIGHT,
1719 "MtpService": DEFAULT_NINJA_WEIGHT,
1720 "MultiUserTests": DEFAULT_NINJA_WEIGHT,
1721 "NearbyIntegrationUiTests": DEFAULT_NINJA_WEIGHT,
1722 "net_test_bluetooth": DEFAULT_NINJA_WEIGHT,
1723 "net_test_btif": DEFAULT_NINJA_WEIGHT,
1724 "net_test_main_shim": DEFAULT_NINJA_WEIGHT,
1725 "net_test_stack": DEFAULT_NINJA_WEIGHT,
1726 "net-tests-utils": DEFAULT_NINJA_WEIGHT,
1727 "NetworkStackCoverageTests": DEFAULT_NINJA_WEIGHT,
1728 "NetworkStackIntegrationTests": DEFAULT_NINJA_WEIGHT,
1729 "NetworkStackNext": DEFAULT_NINJA_WEIGHT,
1730 "NfcNci": DEFAULT_NINJA_WEIGHT,
1731 "NfcNciUnitTests": DEFAULT_NINJA_WEIGHT,
1732 "NotEmptyTestApp": DEFAULT_NINJA_WEIGHT,
1733 "NotificationFunctionalTests": DEFAULT_NINJA_WEIGHT,
1734 "oatdumpd": DEFAULT_NINJA_WEIGHT,
1735 "OsuLogin": DEFAULT_NINJA_WEIGHT,
1736 "PackageInstaller": DEFAULT_NINJA_WEIGHT,
1737 "PackageManagerComponentOverrideTests": DEFAULT_NINJA_WEIGHT,
1738 "PackageManagerPerfTests": DEFAULT_NINJA_WEIGHT,
1739 "PackageManagerServiceServerTests": DEFAULT_NINJA_WEIGHT,
1740 "PackageManagerServiceUnitTests": DEFAULT_NINJA_WEIGHT,
1741 "PackageWatchdogTest": DEFAULT_NINJA_WEIGHT,
1742 "PandoraServerLib": DEFAULT_NINJA_WEIGHT,
1743 "pdl": DEFAULT_NINJA_WEIGHT,
1744 "perfetto_trace_java_protos": DEFAULT_NINJA_WEIGHT,
1745 "perfetto_trace-full": DEFAULT_NINJA_WEIGHT,
1746 "PermissionController": DEFAULT_NINJA_WEIGHT,
1747 "PermissionControllerMockingTests": DEFAULT_NINJA_WEIGHT,
1748 "PixelAppCompTests": DEFAULT_NINJA_WEIGHT,
1749 "platform-bootclasspath": DEFAULT_NINJA_WEIGHT,
1750 "PlatformCommonScenarioTests": DEFAULT_NINJA_WEIGHT,
1751 "PlatformComposeCoreTests": DEFAULT_NINJA_WEIGHT,
1752 "platformprotoslite": DEFAULT_NINJA_WEIGHT,
1753 "PlatformRuleTests": DEFAULT_NINJA_WEIGHT,
1754 "precompiled_sepolicy-without_apex": DEFAULT_NINJA_WEIGHT,
1755 "PresencePolling": DEFAULT_NINJA_WEIGHT,
1756 "PrintSpooler": DEFAULT_NINJA_WEIGHT,
1757 "QuickSearchBox": DEFAULT_NINJA_WEIGHT,
1758 "RemoteDPCTestApp": DEFAULT_NINJA_WEIGHT,
1759 "RemoteProvisioningServiceTests": DEFAULT_NINJA_WEIGHT,
1760 "RkpdAppUnitTests": DEFAULT_NINJA_WEIGHT,
1761 "Robolectric_shadows_framework": DEFAULT_NINJA_WEIGHT,
1762 "RoleHolderApp": DEFAULT_NINJA_WEIGHT,
1763 "SdkSandbox": DEFAULT_NINJA_WEIGHT,
1764 "service-appsearch": DEFAULT_NINJA_WEIGHT,
1765 "service-connectivity": DEFAULT_NINJA_WEIGHT,
1766 "service-uwb": DEFAULT_NINJA_WEIGHT,
1767 "service-wifi": DEFAULT_NINJA_WEIGHT,
1768 "services-non-updatable-stubs": DEFAULT_NINJA_WEIGHT,
1769 "services": DEFAULT_NINJA_WEIGHT,
1770 "Settings-core": DEFAULT_NINJA_WEIGHT,
1771 "Settings": DEFAULT_NINJA_WEIGHT,
1772 "SettingsIntelligence": DEFAULT_NINJA_WEIGHT,
1773 "SettingsLibTests": DEFAULT_NINJA_WEIGHT,
1774 "SettingsProvider": DEFAULT_NINJA_WEIGHT,
1775 "Shell": DEFAULT_NINJA_WEIGHT,
1776 "SimAppDialog": DEFAULT_NINJA_WEIGHT,
1777 "sl4a": DEFAULT_NINJA_WEIGHT,
1778 "SmsApp": DEFAULT_NINJA_WEIGHT,
1779 "SoundPicker": DEFAULT_NINJA_WEIGHT,
1780 "StagedInstallTest": DEFAULT_NINJA_WEIGHT,
1781 "StatementService": DEFAULT_NINJA_WEIGHT,
1782 "StatsdFrameworkTestApp": DEFAULT_NINJA_WEIGHT,
1783 "StatsdFrameworkTestAppNoPermission": DEFAULT_NINJA_WEIGHT,
1784 "statsdprotolite": DEFAULT_NINJA_WEIGHT,
1785 "Stk": DEFAULT_NINJA_WEIGHT,
1786 "StorageManager": DEFAULT_NINJA_WEIGHT,
1787 "system-api-stubs-docs-non-updatable": DEFAULT_NINJA_WEIGHT,
1788 "SystemUI-core": DEFAULT_NINJA_WEIGHT,
1789 "SystemUI-tests-base": DEFAULT_NINJA_WEIGHT,
1790 "SystemUI-tests": DEFAULT_NINJA_WEIGHT,
1791 "SystemUI": DEFAULT_NINJA_WEIGHT,
1792 "SystemUIComposeFeatures": DEFAULT_NINJA_WEIGHT,
1793 "SystemUIComposeFeaturesTests": DEFAULT_NINJA_WEIGHT,
1794 "SystemUITests": DEFAULT_NINJA_WEIGHT,
1795 "Tag": DEFAULT_NINJA_WEIGHT,
1796 "Telecom": DEFAULT_NINJA_WEIGHT,
1797 "TelecomUnitTests": DEFAULT_NINJA_WEIGHT,
1798 "telephony-common": DEFAULT_NINJA_WEIGHT,
1799 "TelephonyProvider": DEFAULT_NINJA_WEIGHT,
1800 "TeleService": DEFAULT_NINJA_WEIGHT,
1801 "test-api-stubs-docs-non-updatable": DEFAULT_NINJA_WEIGHT,
1802 "TetheringIntegrationTests": DEFAULT_NINJA_WEIGHT,
1803 "TetheringNext": DEFAULT_NINJA_WEIGHT,
1804 "ThemePickerTests": DEFAULT_NINJA_WEIGHT,
1805 "Traceur": DEFAULT_NINJA_WEIGHT,
1806 "UsbManagerTests": DEFAULT_NINJA_WEIGHT,
1807 "UsbTests": DEFAULT_NINJA_WEIGHT,
1808 "virtmgr": DEFAULT_NINJA_WEIGHT,
1809 "WallpaperPicker2TestLib": DEFAULT_NINJA_WEIGHT,
1810 "WallpaperPicker2Tests": DEFAULT_NINJA_WEIGHT,
1811 "WifiDialog": DEFAULT_NINJA_WEIGHT,
1812 "wm-proto-parsers": DEFAULT_NINJA_WEIGHT,
1813 "WMShellFlickerTests": DEFAULT_NINJA_WEIGHT,
1814 "WmTests": DEFAULT_NINJA_WEIGHT,
1815 "wpa_supplicant": DEFAULT_NINJA_WEIGHT,
Jeongik Chae114e602023-03-19 00:12:39 +09001816 }
Sam Delmerico24c56032022-03-28 19:53:03 +00001817)