• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2022 Google Inc. All rights reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
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
36
37	// all modules in this package and subpackages default to bp2build_available: false.
38	// allows modules to opt-in.
39	Bp2BuildDefaultFalseRecursively
40
41	DEFAULT_NINJA_WEIGHT = 1000
42)
43
44var (
45	Bp2buildDefaultConfig = Bp2BuildConfig{
46		"art":                                   Bp2BuildDefaultTrue,
47		"art/libartbase":                        Bp2BuildDefaultTrueRecursively,
48		"art/libartpalette":                     Bp2BuildDefaultTrueRecursively,
49		"art/libdexfile":                        Bp2BuildDefaultTrueRecursively,
50		"art/libnativebridge":                   Bp2BuildDefaultTrueRecursively,
51		"art/runtime":                           Bp2BuildDefaultTrueRecursively,
52		"art/tools":                             Bp2BuildDefaultTrue,
53		"bionic":                                Bp2BuildDefaultTrueRecursively,
54		"bootable/recovery/applypatch":          Bp2BuildDefaultTrue,
55		"bootable/recovery/minadbd":             Bp2BuildDefaultTrue,
56		"bootable/recovery/minui":               Bp2BuildDefaultTrue,
57		"bootable/recovery/recovery_utils":      Bp2BuildDefaultTrue,
58		"bootable/recovery/tools/recovery_l10n": Bp2BuildDefaultTrue,
59
60		"build/bazel":                        Bp2BuildDefaultTrueRecursively,
61		"build/make/target/product/security": Bp2BuildDefaultTrue,
62		"build/make/tools/protos":            Bp2BuildDefaultTrue,
63		"build/make/tools/releasetools":      Bp2BuildDefaultTrue,
64		"build/make/tools/sbom":              Bp2BuildDefaultTrue,
65		"build/make/tools/signapk":           Bp2BuildDefaultTrue,
66		"build/make/tools/zipalign":          Bp2BuildDefaultTrueRecursively,
67		"build/soong":                        Bp2BuildDefaultTrue,
68		"build/soong/cc/libbuildversion":     Bp2BuildDefaultTrue, // Skip tests subdir
69		"build/soong/cc/ndkstubgen":          Bp2BuildDefaultTrue,
70		"build/soong/cc/symbolfile":          Bp2BuildDefaultTrue,
71		"build/soong/licenses":               Bp2BuildDefaultTrue,
72		"build/soong/linkerconfig":           Bp2BuildDefaultTrueRecursively,
73		"build/soong/scripts":                Bp2BuildDefaultTrueRecursively,
74
75		"cts/common/device-side/nativetesthelper/jni": Bp2BuildDefaultTrueRecursively,
76
77		"dalvik/tools/dexdeps": Bp2BuildDefaultTrueRecursively,
78
79		"development/apps/DevelopmentSettings":        Bp2BuildDefaultTrue,
80		"development/apps/Fallback":                   Bp2BuildDefaultTrue,
81		"development/apps/WidgetPreview":              Bp2BuildDefaultTrue,
82		"development/samples/BasicGLSurfaceView":      Bp2BuildDefaultTrue,
83		"development/samples/BluetoothChat":           Bp2BuildDefaultTrue,
84		"development/samples/BrokenKeyDerivation":     Bp2BuildDefaultTrue,
85		"development/samples/Compass":                 Bp2BuildDefaultTrue,
86		"development/samples/ContactManager":          Bp2BuildDefaultTrue,
87		"development/samples/FixedGridLayout":         Bp2BuildDefaultTrue,
88		"development/samples/HelloEffects":            Bp2BuildDefaultTrue,
89		"development/samples/Home":                    Bp2BuildDefaultTrue,
90		"development/samples/HoneycombGallery":        Bp2BuildDefaultTrue,
91		"development/samples/JetBoy":                  Bp2BuildDefaultTrue,
92		"development/samples/KeyChainDemo":            Bp2BuildDefaultTrue,
93		"development/samples/LceDemo":                 Bp2BuildDefaultTrue,
94		"development/samples/LunarLander":             Bp2BuildDefaultTrue,
95		"development/samples/MultiResolution":         Bp2BuildDefaultTrue,
96		"development/samples/MultiWindow":             Bp2BuildDefaultTrue,
97		"development/samples/NotePad":                 Bp2BuildDefaultTrue,
98		"development/samples/Obb":                     Bp2BuildDefaultTrue,
99		"development/samples/RSSReader":               Bp2BuildDefaultTrue,
100		"development/samples/ReceiveShareDemo":        Bp2BuildDefaultTrue,
101		"development/samples/SearchableDictionary":    Bp2BuildDefaultTrue,
102		"development/samples/SipDemo":                 Bp2BuildDefaultTrue,
103		"development/samples/SkeletonApp":             Bp2BuildDefaultTrue,
104		"development/samples/Snake":                   Bp2BuildDefaultTrue,
105		"development/samples/SpellChecker/":           Bp2BuildDefaultTrueRecursively,
106		"development/samples/ThemedNavBarKeyboard":    Bp2BuildDefaultTrue,
107		"development/samples/ToyVpn":                  Bp2BuildDefaultTrue,
108		"development/samples/TtsEngine":               Bp2BuildDefaultTrue,
109		"development/samples/USB/AdbTest":             Bp2BuildDefaultTrue,
110		"development/samples/USB/MissileLauncher":     Bp2BuildDefaultTrue,
111		"development/samples/VoiceRecognitionService": Bp2BuildDefaultTrue,
112		"development/samples/VoicemailProviderDemo":   Bp2BuildDefaultTrue,
113		"development/samples/WiFiDirectDemo":          Bp2BuildDefaultTrue,
114		"development/sdk":                             Bp2BuildDefaultTrueRecursively,
115
116		"external/aac":                           Bp2BuildDefaultTrueRecursively,
117		"external/arm-optimized-routines":        Bp2BuildDefaultTrueRecursively,
118		"external/auto":                          Bp2BuildDefaultTrue,
119		"external/auto/android-annotation-stubs": Bp2BuildDefaultTrueRecursively,
120		"external/auto/common":                   Bp2BuildDefaultTrueRecursively,
121		"external/auto/service":                  Bp2BuildDefaultTrueRecursively,
122		"external/boringssl":                     Bp2BuildDefaultTrueRecursively,
123		"external/bouncycastle":                  Bp2BuildDefaultTrue,
124		"external/brotli":                        Bp2BuildDefaultTrue,
125		"external/bsdiff":                        Bp2BuildDefaultTrueRecursively,
126		"external/bzip2":                         Bp2BuildDefaultTrueRecursively,
127		"external/conscrypt":                     Bp2BuildDefaultTrue,
128		"external/e2fsprogs":                     Bp2BuildDefaultTrueRecursively,
129		"external/eigen":                         Bp2BuildDefaultTrueRecursively,
130		"external/erofs-utils":                   Bp2BuildDefaultTrueRecursively,
131		"external/error_prone":                   Bp2BuildDefaultTrueRecursively,
132		"external/escapevelocity":                Bp2BuildDefaultTrueRecursively,
133		"external/expat":                         Bp2BuildDefaultTrueRecursively,
134		"external/f2fs-tools":                    Bp2BuildDefaultTrue,
135		"external/flac":                          Bp2BuildDefaultTrueRecursively,
136		"external/fmtlib":                        Bp2BuildDefaultTrueRecursively,
137		"external/guava":                         Bp2BuildDefaultTrueRecursively,
138		"external/google-benchmark":              Bp2BuildDefaultTrueRecursively,
139		"external/googletest":                    Bp2BuildDefaultTrueRecursively,
140		"external/gwp_asan":                      Bp2BuildDefaultTrueRecursively,
141		"external/hamcrest":                      Bp2BuildDefaultTrueRecursively,
142		"external/icu":                           Bp2BuildDefaultTrueRecursively,
143		"external/icu/android_icu4j":             Bp2BuildDefaultFalse, // java rules incomplete
144		"external/icu/icu4j":                     Bp2BuildDefaultFalse, // java rules incomplete
145		"external/jacoco":                        Bp2BuildDefaultTrueRecursively,
146		"external/jarjar":                        Bp2BuildDefaultTrueRecursively,
147		"external/javaparser":                    Bp2BuildDefaultTrueRecursively,
148		"external/javapoet":                      Bp2BuildDefaultTrueRecursively,
149		"external/javassist":                     Bp2BuildDefaultTrueRecursively,
150		"external/jemalloc_new":                  Bp2BuildDefaultTrueRecursively,
151		"external/jsoncpp":                       Bp2BuildDefaultTrueRecursively,
152		"external/jsr305":                        Bp2BuildDefaultTrueRecursively,
153		"external/jsr330":                        Bp2BuildDefaultTrueRecursively,
154		"external/junit":                         Bp2BuildDefaultTrueRecursively,
155		"external/kotlinc":                       Bp2BuildDefaultTrueRecursively,
156		"external/libaom":                        Bp2BuildDefaultTrueRecursively,
157		"external/libavc":                        Bp2BuildDefaultTrueRecursively,
158		"external/libcap":                        Bp2BuildDefaultTrueRecursively,
159		"external/libcxx":                        Bp2BuildDefaultTrueRecursively,
160		"external/libcxxabi":                     Bp2BuildDefaultTrueRecursively,
161		"external/libdivsufsort":                 Bp2BuildDefaultTrueRecursively,
162		"external/libdrm":                        Bp2BuildDefaultTrue,
163		"external/libevent":                      Bp2BuildDefaultTrueRecursively,
164		"external/libgav1":                       Bp2BuildDefaultTrueRecursively,
165		"external/libhevc":                       Bp2BuildDefaultTrueRecursively,
166		"external/libjpeg-turbo":                 Bp2BuildDefaultTrueRecursively,
167		"external/libmpeg2":                      Bp2BuildDefaultTrueRecursively,
168		"external/libpng":                        Bp2BuildDefaultTrueRecursively,
169		"external/libvpx":                        Bp2BuildDefaultTrueRecursively,
170		"external/libyuv":                        Bp2BuildDefaultTrueRecursively,
171		"external/lz4/lib":                       Bp2BuildDefaultTrue,
172		"external/lz4/programs":                  Bp2BuildDefaultTrue,
173		"external/lzma/C":                        Bp2BuildDefaultTrueRecursively,
174		"external/mdnsresponder":                 Bp2BuildDefaultTrueRecursively,
175		"external/minijail":                      Bp2BuildDefaultTrueRecursively,
176		"external/musl":                          Bp2BuildDefaultTrueRecursively,
177		"external/objenesis":                     Bp2BuildDefaultTrueRecursively,
178		"external/openscreen":                    Bp2BuildDefaultTrueRecursively,
179		"external/ow2-asm":                       Bp2BuildDefaultTrueRecursively,
180		"external/pcre":                          Bp2BuildDefaultTrueRecursively,
181		"external/protobuf":                      Bp2BuildDefaultTrueRecursively,
182		"external/python/six":                    Bp2BuildDefaultTrueRecursively,
183		"external/rappor":                        Bp2BuildDefaultTrueRecursively,
184		"external/scudo":                         Bp2BuildDefaultTrueRecursively,
185		"external/selinux/libselinux":            Bp2BuildDefaultTrueRecursively,
186		"external/selinux/libsepol":              Bp2BuildDefaultTrueRecursively,
187		"external/speex":                         Bp2BuildDefaultTrueRecursively,
188		"external/tinyalsa":                      Bp2BuildDefaultTrueRecursively,
189		"external/tinyalsa_new":                  Bp2BuildDefaultTrueRecursively,
190		"external/toybox":                        Bp2BuildDefaultTrueRecursively,
191		"external/zlib":                          Bp2BuildDefaultTrueRecursively,
192		"external/zopfli":                        Bp2BuildDefaultTrueRecursively,
193		"external/zstd":                          Bp2BuildDefaultTrueRecursively,
194
195		"frameworks/av": Bp2BuildDefaultTrue,
196		"frameworks/av/media/codec2/components/aom":          Bp2BuildDefaultTrueRecursively,
197		"frameworks/av/media/codecs":                         Bp2BuildDefaultTrueRecursively,
198		"frameworks/av/media/liberror":                       Bp2BuildDefaultTrueRecursively,
199		"frameworks/av/media/libshmem":                       Bp2BuildDefaultTrueRecursively,
200		"frameworks/av/media/audioaidlconversion":            Bp2BuildDefaultTrueRecursively,
201		"frameworks/av/media/module/minijail":                Bp2BuildDefaultTrueRecursively,
202		"frameworks/av/services/minijail":                    Bp2BuildDefaultTrueRecursively,
203		"frameworks/base/libs/androidfw":                     Bp2BuildDefaultTrue,
204		"frameworks/base/media/tests/MediaDump":              Bp2BuildDefaultTrue,
205		"frameworks/base/services/tests/servicestests/aidl":  Bp2BuildDefaultTrue,
206		"frameworks/base/proto":                              Bp2BuildDefaultTrue,
207		"frameworks/base/startop/apps/test":                  Bp2BuildDefaultTrue,
208		"frameworks/base/tests/appwidgets/AppWidgetHostTest": Bp2BuildDefaultTrueRecursively,
209		"frameworks/base/tools/aapt2":                        Bp2BuildDefaultTrue,
210		"frameworks/base/tools/codegen":                      Bp2BuildDefaultTrueRecursively,
211		"frameworks/base/tools/streaming_proto":              Bp2BuildDefaultTrueRecursively,
212		"frameworks/hardware/interfaces/stats/aidl":          Bp2BuildDefaultTrue,
213		"frameworks/native/libs/adbd_auth":                   Bp2BuildDefaultTrueRecursively,
214		"frameworks/native/libs/arect":                       Bp2BuildDefaultTrueRecursively,
215		"frameworks/native/libs/gui":                         Bp2BuildDefaultTrue,
216		"frameworks/native/libs/math":                        Bp2BuildDefaultTrueRecursively,
217		"frameworks/native/libs/nativebase":                  Bp2BuildDefaultTrueRecursively,
218		"frameworks/native/libs/vr":                          Bp2BuildDefaultTrueRecursively,
219		"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,
224		"frameworks/native/libs/permission":                  Bp2BuildDefaultTrue,
225		"frameworks/native/services/batteryservice":          Bp2BuildDefaultTrue,
226		"frameworks/proto_logging/stats":                     Bp2BuildDefaultTrueRecursively,
227
228		"hardware/interfaces":                                     Bp2BuildDefaultTrue,
229		"hardware/interfaces/audio/aidl":                          Bp2BuildDefaultTrue,
230		"hardware/interfaces/audio/aidl/common":                   Bp2BuildDefaultTrue,
231		"hardware/interfaces/audio/aidl/default":                  Bp2BuildDefaultTrue,
232		"hardware/interfaces/audio/aidl/sounddose":                Bp2BuildDefaultTrue,
233		"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,
275
276		"libnativehelper": Bp2BuildDefaultTrueRecursively,
277
278		"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,
293		"packages/modules/Gki/libkver":                       Bp2BuildDefaultTrue,
294		"packages/modules/NetworkStack/common/captiveportal": Bp2BuildDefaultTrue,
295		"packages/modules/NeuralNetworks/apex":               Bp2BuildDefaultTrue,
296		"packages/providers/MediaProvider/tools/dialogs":     Bp2BuildDefaultFalse, // TODO(b/242834374)
297		"packages/screensavers/Basic":                        Bp2BuildDefaultTrue,
298		"packages/services/Car/tests/SampleRearViewCamera":   Bp2BuildDefaultFalse, // TODO(b/242834321)
299
300		"platform_testing/tests/example": Bp2BuildDefaultTrueRecursively,
301
302		"prebuilts/clang/host/linux-x86":                   Bp2BuildDefaultTrueRecursively,
303		"prebuilts/gradle-plugin":                          Bp2BuildDefaultTrueRecursively,
304		"prebuilts/runtime/mainline/platform/sdk":          Bp2BuildDefaultTrueRecursively,
305		"prebuilts/sdk/current/androidx":                   Bp2BuildDefaultTrue,
306		"prebuilts/sdk/current/androidx-legacy":            Bp2BuildDefaultTrue,
307		"prebuilts/sdk/current/extras/constraint-layout-x": Bp2BuildDefaultTrue,
308		"prebuilts/sdk/current/extras/material-design-x":   Bp2BuildDefaultTrue,
309		"prebuilts/sdk/current/extras/app-toolkit":         Bp2BuildDefaultTrue,
310		"prebuilts/sdk/current/support":                    Bp2BuildDefaultTrue,
311		"prebuilts/tools":                                  Bp2BuildDefaultTrue,
312		"prebuilts/tools/common/m2":                        Bp2BuildDefaultTrue,
313
314		"sdk/dumpeventlog":  Bp2BuildDefaultTrue,
315		"sdk/eventanalyzer": Bp2BuildDefaultTrue,
316
317		"system/apex":                                            Bp2BuildDefaultFalse, // TODO(b/207466993): flaky failures
318		"system/apex/apexer":                                     Bp2BuildDefaultTrue,
319		"system/apex/libs":                                       Bp2BuildDefaultTrueRecursively,
320		"system/apex/proto":                                      Bp2BuildDefaultTrueRecursively,
321		"system/apex/tools":                                      Bp2BuildDefaultTrueRecursively,
322		"system/core/debuggerd":                                  Bp2BuildDefaultTrueRecursively,
323		"system/core/diagnose_usb":                               Bp2BuildDefaultTrueRecursively,
324		"system/core/healthd":                                    Bp2BuildDefaultTrue,
325		"system/core/healthd/testdata":                           Bp2BuildDefaultTrue,
326		"system/core/libasyncio":                                 Bp2BuildDefaultTrue,
327		"system/core/libcrypto_utils":                            Bp2BuildDefaultTrueRecursively,
328		"system/core/libcutils":                                  Bp2BuildDefaultTrueRecursively,
329		"system/core/libpackagelistparser":                       Bp2BuildDefaultTrueRecursively,
330		"system/core/libprocessgroup":                            Bp2BuildDefaultTrue,
331		"system/core/libprocessgroup/cgrouprc":                   Bp2BuildDefaultTrue,
332		"system/core/libprocessgroup/cgrouprc_format":            Bp2BuildDefaultTrue,
333		"system/core/libsuspend":                                 Bp2BuildDefaultTrue,
334		"system/core/libsystem":                                  Bp2BuildDefaultTrueRecursively,
335		"system/core/libsysutils":                                Bp2BuildDefaultTrueRecursively,
336		"system/core/libutils":                                   Bp2BuildDefaultTrueRecursively,
337		"system/core/libvndksupport":                             Bp2BuildDefaultTrueRecursively,
338		"system/core/mkbootfs":                                   Bp2BuildDefaultTrueRecursively,
339		"system/core/property_service/libpropertyinfoparser":     Bp2BuildDefaultTrueRecursively,
340		"system/core/property_service/libpropertyinfoserializer": Bp2BuildDefaultTrueRecursively,
341		"system/extras/toolchain-extras":                         Bp2BuildDefaultTrue,
342		"system/hardware/interfaces/media":                       Bp2BuildDefaultTrueRecursively,
343		"system/incremental_delivery/incfs":                      Bp2BuildDefaultTrue,
344		"system/libartpalette":                                   Bp2BuildDefaultTrueRecursively,
345		"system/libbase":                                         Bp2BuildDefaultTrueRecursively,
346		"system/libfmq":                                          Bp2BuildDefaultTrue,
347		"system/libhidl/libhidlmemory":                           Bp2BuildDefaultTrue,
348		"system/libhidl/transport":                               Bp2BuildDefaultTrue,
349		"system/libhidl/transport/allocator/1.0":                 Bp2BuildDefaultTrue,
350		"system/libhidl/transport/base/1.0":                      Bp2BuildDefaultTrue,
351		"system/libhidl/transport/manager/1.0":                   Bp2BuildDefaultTrue,
352		"system/libhidl/transport/manager/1.1":                   Bp2BuildDefaultTrue,
353		"system/libhidl/transport/manager/1.2":                   Bp2BuildDefaultTrue,
354		"system/libhidl/transport/memory/1.0":                    Bp2BuildDefaultTrue,
355		"system/libhidl/transport/memory/token/1.0":              Bp2BuildDefaultTrue,
356		"system/libhidl/transport/safe_union/1.0":                Bp2BuildDefaultTrue,
357		"system/libhidl/transport/token/1.0":                     Bp2BuildDefaultTrue,
358		"system/libhidl/transport/token/1.0/utils":               Bp2BuildDefaultTrue,
359		"system/libhwbinder":                                     Bp2BuildDefaultTrueRecursively,
360		"system/libprocinfo":                                     Bp2BuildDefaultTrue,
361		"system/libvintf":                                        Bp2BuildDefaultTrue,
362		"system/libziparchive":                                   Bp2BuildDefaultTrueRecursively,
363		"system/logging":                                         Bp2BuildDefaultTrueRecursively,
364		"system/media":                                           Bp2BuildDefaultTrue,
365		"system/media/audio":                                     Bp2BuildDefaultTrueRecursively,
366		"system/media/alsa_utils":                                Bp2BuildDefaultTrueRecursively,
367		"system/media/audio_utils":                               Bp2BuildDefaultTrueRecursively,
368		"system/memory/libion":                                   Bp2BuildDefaultTrueRecursively,
369		"system/memory/libmemunreachable":                        Bp2BuildDefaultTrueRecursively,
370		"system/sepolicy/apex":                                   Bp2BuildDefaultTrueRecursively,
371		"system/testing/gtest_extras":                            Bp2BuildDefaultTrueRecursively,
372		"system/timezone/apex":                                   Bp2BuildDefaultTrueRecursively,
373		"system/timezone/output_data":                            Bp2BuildDefaultTrueRecursively,
374		"system/timezone/testdata":                               Bp2BuildDefaultTrueRecursively,
375		"system/timezone/testing":                                Bp2BuildDefaultTrueRecursively,
376		"system/tools/aidl/build/tests_bp2build":                 Bp2BuildDefaultTrue,
377		"system/tools/aidl/metadata":                             Bp2BuildDefaultTrue,
378		"system/tools/hidl/metadata":                             Bp2BuildDefaultTrue,
379		"system/tools/mkbootimg":                                 Bp2BuildDefaultTrueRecursively,
380		"system/tools/sysprop":                                   Bp2BuildDefaultTrue,
381		"system/tools/xsdc/utils":                                Bp2BuildDefaultTrueRecursively,
382		"system/unwinding/libunwindstack":                        Bp2BuildDefaultTrueRecursively,
383
384		"tools/apifinder":                            Bp2BuildDefaultTrue,
385		"tools/apksig":                               Bp2BuildDefaultTrue,
386		"tools/external_updater":                     Bp2BuildDefaultTrueRecursively,
387		"tools/metalava":                             Bp2BuildDefaultTrue,
388		"tools/platform-compat/java/android/compat":  Bp2BuildDefaultTrueRecursively,
389		"tools/tradefederation/prebuilts/filegroups": Bp2BuildDefaultTrueRecursively,
390	}
391
392	Bp2buildKeepExistingBuildFile = map[string]bool{
393		// This is actually build/bazel/build.BAZEL symlinked to ./BUILD
394		".":/*recursive = */ false,
395
396		"build/bazel":/* recursive = */ true,
397		"build/make/core":/* recursive = */ false,
398		"build/bazel_common_rules":/* recursive = */ true,
399		"build/make/target/product/security":/* recursive = */ false,
400		// build/make/tools/signapk BUILD file is generated, so build/make/tools is not recursive.
401		"build/make/tools":/* recursive = */ false,
402		"build/pesto":/* recursive = */ true,
403		"build/soong":/* recursive = */ true,
404
405		// external/bazelbuild-rules_android/... is needed by mixed builds, otherwise mixed builds analysis fails
406		// e.g. ERROR: Analysis of target '@soong_injection//mixed_builds:buildroot' failed
407		"external/bazelbuild-rules_android":/* recursive = */ true,
408		"external/bazelbuild-rules_license":/* recursive = */ true,
409		"external/bazelbuild-kotlin-rules":/* recursive = */ true,
410		"external/bazel-skylib":/* recursive = */ true,
411		"external/protobuf":/* recursive = */ false,
412		"external/python/absl-py":/* recursive = */ true,
413
414		"external/compiler-rt/lib/cfi":/* recursive = */ false,
415
416		// this BUILD file is globbed by //external/icu/icu4c/source:icu4c_test_data's "data/**/*".
417		"external/icu/icu4c/source/data/unidata/norm2":/* recursive = */ false,
418
419		// Building manually due to b/179889880: resource files cross package boundary
420		"packages/apps/Music":/* recursive = */ true,
421
422		"prebuilts/abi-dumps/platform":/* recursive = */ true,
423		"prebuilts/abi-dumps/ndk":/* recursive = */ true,
424		"prebuilts/bazel":/* recursive = */ true,
425		"prebuilts/bundletool":/* recursive = */ true,
426		"prebuilts/clang/host/linux-x86":/* recursive = */ false,
427		"prebuilts/clang-tools":/* recursive = */ true,
428		"prebuilts/gcc":/* recursive = */ true,
429		"prebuilts/build-tools":/* recursive = */ true,
430		"prebuilts/jdk/jdk17":/* recursive = */ true,
431		"prebuilts/misc":/* recursive = */ false, // not recursive because we need bp2build converted build files in prebuilts/misc/common/asm
432		"prebuilts/sdk":/* recursive = */ false,
433		"prebuilts/sdk/tools":/* recursive = */ false,
434		"prebuilts/r8":/* recursive = */ false,
435		"prebuilts/runtime":/* recursive = */ false,
436
437		// not recursive due to conflicting workspace paths in tools/atest/bazel/rules
438		"tools/asuite/atest":/* recursive = */ false,
439		"tools/asuite/atest/bazel/reporter":/* recursive = */ true,
440
441		// TODO(b/266459895): remove this and the placeholder BUILD file after re-enabling libunwindstack
442		"external/rust/crates/rustc-demangle-capi":/* recursive = */ false,
443	}
444
445	Bp2buildModuleAlwaysConvertList = []string{
446		"libidmap2_policies",
447		"libSurfaceFlingerProp",
448		// cc mainline modules
449		"code_coverage.policy",
450		"code_coverage.policy.other",
451		"codec2_soft_exports",
452		"codecs_g711dec",
453		"com.android.media.swcodec",
454		"com.android.media.swcodec-androidManifest",
455		"com.android.media.swcodec-ld.config.txt",
456		"com.android.media.swcodec-mediaswcodec.32rc",
457		"com.android.media.swcodec-mediaswcodec.rc",
458		"com.android.media.swcodec.certificate",
459		"com.android.media.swcodec.key",
460		"flatbuffer_headers",
461		"framework-connectivity-protos",
462		"gemmlowp_headers",
463		"gl_headers",
464		"libandroid_runtime_lazy",
465		"libandroid_runtime_vm_headers",
466		"libaudioclient_aidl_conversion_util",
467		"libbinder",
468		"libbinder_device_interface_sources",
469		"libbinder_aidl",
470		"libbinder_headers",
471		"libbinder_headers_platform_shared",
472		"libbinderthreadstateutils",
473		"libbluetooth-types-header",
474		"libcodec2",
475		"libcodec2_headers",
476		"libcodec2_internal",
477		"libdmabufheap",
478		"libgsm",
479		"libgrallocusage",
480		"libgralloctypes",
481		"libnativewindow",
482		"libneuralnetworks",
483		"libneuralnetworks_static",
484		"libgraphicsenv",
485		"libhardware",
486		"libhardware_headers",
487		"libnativeloader-headers",
488		"libnativewindow_headers",
489		"libneuralnetworks_headers",
490		"libneuralnetworks_packageinfo",
491		"libopus",
492		"libprocpartition",
493		"libruy_static",
494		"libandroidio",
495		"libandroidio_srcs",
496		"libserviceutils",
497		"libstagefright_amrnbenc",
498		"libstagefright_amrnbdec",
499		"libstagefright_amrwbdec",
500		"libstagefright_amrwbenc",
501		"libstagefright_amrnb_common",
502		"libstagefright_enc_common",
503		"libstagefright_flacdec",
504		"libstagefright_foundation",
505		"libstagefright_foundation_headers",
506		"libstagefright_headers",
507		"libstagefright_m4vh263dec",
508		"libstagefright_m4vh263enc",
509		"libstagefright_mp3dec",
510		"libstagefright_mp3dec_headers",
511		"libsurfaceflinger_headers",
512		"libsync",
513		"libtextclassifier_hash_headers",
514		"libtextclassifier_hash_static",
515		"libtflite_kernel_utils",
516		"libtinyxml2",
517		"libui",
518		"libui-types",
519		"libui_headers",
520		"libvorbisidec",
521		"media_ndk_headers",
522		"media_plugin_headers",
523		"mediaswcodec.policy",
524		"mediaswcodec.xml",
525		"neuralnetworks_types",
526		"libneuralnetworks_common",
527		// packagemanager_aidl_interface is created implicitly in packagemanager_aidl module
528		"packagemanager_aidl_interface",
529		"philox_random",
530		"philox_random_headers",
531		"server_configurable_flags",
532		"service-permission-streaming-proto-sources",
533		"statslog_neuralnetworks.cpp",
534		"statslog_neuralnetworks.h",
535		"tensorflow_headers",
536
537		"libstagefright_bufferpool@2.0",
538		"libstagefright_bufferpool@2.0.1",
539		"libSurfaceFlingerProp",
540
541		// prebuilts
542		"prebuilt_stats-log-api-gen",
543
544		// fastboot
545		"fastboot",
546		"libfastboot",
547		"liblp",
548		"libstorage_literals_headers",
549
550		//external/avb
551		"avbtool",
552		"libavb",
553		"avb_headers",
554
555		//external/libxml2
556		"xmllint",
557		"libxml2",
558
559		//external/fec
560		"libfec_rs",
561
562		//system/core/libsparse
563		"libsparse",
564
565		//system/extras/ext4_utils
566		"libext4_utils",
567		"mke2fs_conf",
568
569		//system/extras/libfec
570		"libfec",
571
572		//system/extras/squashfs_utils
573		"libsquashfs_utils",
574
575		//system/extras/verity/fec
576		"fec",
577		"boot_signer",
578
579		//packages/apps/Car/libs/car-ui-lib/car-ui-androidx
580		// genrule dependencies for java_imports
581		"car-ui-androidx-annotation-nodeps",
582		"car-ui-androidx-collection-nodeps",
583		"car-ui-androidx-core-common-nodeps",
584		"car-ui-androidx-lifecycle-common-nodeps",
585		"car-ui-androidx-constraintlayout-solver-nodeps",
586
587		//system/libhidl
588		"libhidlbase", // needed by cc_hidl_library
589		"libhidl_gtest_helper",
590
591		//frameworks/native
592		"framework_native_aidl_binder",
593		"framework_native_aidl_gui",
594
595		//frameworks/native/libs/input
596		"inputconstants_aidl",
597
598		// needed for aidl_interface's ndk backend
599		"libbinder_ndk",
600
601		"libusb",
602
603		// needed by liblogd
604		"ILogcatManagerService_aidl",
605		"libincremental_aidl-cpp",
606		"incremental_aidl",
607
608		//frameworks/native/cmds/cmd
609		"libcmd",
610
611		//system/core/fs_mgr/libdm
612		"libdm",
613
614		//system/core/fs_mgr/libfiemap
615		"libfiemap_headers",
616		"libfiemap_passthrough_srcs",
617		"libfiemap_srcs",
618
619		//system/gsid
620		"libgsi",
621		"libgsi_headers",
622
623		//system/core/libkeyutils
624		"libkeyutils",
625
626		//bootable/recovery/otautil
627		"libotautil",
628
629		//system/vold
630		"libvold_headers",
631
632		//system/extras/libfscrypt
633		"libfscrypt",
634
635		//system/core/fs_mgr
636		"libfstab",
637
638		//bootable/recovery/fuse_sideload
639		"libfusesideload",
640
641		//system/core/fs_mgr/libfs_avb
642		"libfs_avb",
643
644		//system/core/fs_mgr
645		"libfs_mgr",
646
647		"libcodec2_hidl@1.0",
648		"libcodec2_hidl@1.1",
649		"libcodec2_hidl@1.2",
650		"libcodec2_hidl_plugin_stub",
651		"libcodec2_hidl_plugin",
652		"libstagefright_bufferqueue_helper_novndk",
653		"libGLESv2",
654		"libEGL",
655		"libcodec2_vndk",
656		"libnativeloader_lazy",
657		"libnativeloader",
658		"libEGL_getProcAddress",
659		"libEGL_blobCache",
660
661		"mediaswcodec",
662		"libmedia_headers",
663		"libmedia_codecserviceregistrant",
664		"libsfplugin_ccodec_utils",
665		"libcodec2_soft_aacenc",
666		"libcodec2_soft_amrnbdec",
667		"libcodec2_soft_amrnbenc",
668		"libcodec2_soft_amrwbdec",
669		"libcodec2_soft_amrwbenc",
670		"libcodec2_soft_hevcdec",
671		"libcodec2_soft_hevcenc",
672		"libcodec2_soft_g711alawdec",
673		"libcodec2_soft_g711mlawdec",
674		"libcodec2_soft_mpeg2dec",
675		"libcodec2_soft_h263dec",
676		"libcodec2_soft_h263enc",
677		"libcodec2_soft_mpeg4dec",
678		"libcodec2_soft_mpeg4enc",
679		"libcodec2_soft_mp3dec",
680		"libcodec2_soft_vorbisdec",
681		"libcodec2_soft_opusdec",
682		"libcodec2_soft_opusenc",
683		"libcodec2_soft_vp8dec",
684		"libcodec2_soft_vp9dec",
685		"libcodec2_soft_av1dec_gav1",
686		"libcodec2_soft_vp8enc",
687		"libcodec2_soft_vp9enc",
688		"libcodec2_soft_rawdec",
689		"libcodec2_soft_flacdec",
690		"libcodec2_soft_flacenc",
691		"libcodec2_soft_gsmdec",
692		"libcodec2_soft_avcdec",
693		"libcodec2_soft_avcenc",
694		"libcodec2_soft_aacdec",
695		"libcodec2_soft_common",
696
697		// kotlin srcs in java libs
698		"kotlinx_atomicfu",
699
700		// kotlin srcs in java binary
701		"AnalyzerKt",
702		"trebuchet-core",
703
704		// kotlin srcs in android_library
705		"renderscript_toolkit",
706
707		//kotlin srcs in android_binary
708		"MusicKotlin",
709
710		// java_library with prebuilt sdk_version
711		"android-common",
712
713		// checked in current.txt for merged_txts
714		"non-updatable-current.txt",
715		"non-updatable-system-current.txt",
716		"non-updatable-module-lib-current.txt",
717		"non-updatable-system-server-current.txt",
718
719		// for api_fingerprint.txt generation
720		"api_fingerprint",
721
722		// allowlisting for kotlinx_coroutines
723		"kotlinx_coroutines",
724		"kotlinx_coroutines-device",
725		"kotlinx_coroutines-host",
726		"annotations",
727		"kotlinx-coroutines-android-annotation-stubs",
728
729		// for building com.android.neuralnetworks
730		"libimapper_stablec",
731		"libimapper_providerutils",
732
733		// min_sdk_version in android_app
734		"CtsShimUpgrade",
735
736		// Mainline Module Apps
737		"CaptivePortalLogin",
738	}
739
740	Bp2buildModuleTypeAlwaysConvertList = []string{
741		"aidl_interface_headers",
742		"bpf",
743		"combined_apis",
744		"license",
745		"linker_config",
746		"java_import",
747		"java_import_host",
748		"java_sdk_library",
749		"sysprop_library",
750	}
751
752	// Add the names of modules that bp2build should never convert, if it is
753	// in the package allowlist.  An error will be thrown if a module must
754	// not be here and in the alwaysConvert lists.
755	//
756	// For prebuilt modules (e.g. android_library_import), remember to add
757	// the "prebuilt_" prefix to the name, so that it's differentiable from
758	// the source versions within Soong's module graph.
759	Bp2buildModuleDoNotConvertList = []string{
760		// Depends on unconverted libandroid, libgui
761		"dvr_buffer_queue-test",
762		"dvr_display-test",
763		// Depends on unconverted libchrome
764		"pdx_benchmarks",
765		"buffer_hub_queue-test",
766		"buffer_hub_queue_producer-test",
767
768		// cc bugs
769		"libactivitymanager_aidl", // TODO(b/207426160): Unsupported use of aidl sources (via Dactivity_manager_procstate_aidl) in a cc_library
770
771		// TODO(b/198619163) module has same name as source
772		"logtagd.rc",
773
774		"libgtest_ndk_c++", "libgtest_main_ndk_c++", // TODO(b/201816222): Requires sdk_version support.
775
776		// TODO(b/202876379): has arch-variant static_executable
777		"linkerconfig",
778		"mdnsd",
779		"libcutils_test_static",
780		"KernelLibcutilsTest",
781
782		"linker",                 // TODO(b/228316882): cc_binary uses link_crt
783		"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
784		"art_libartbase_headers", // TODO(b/236268577): Header libraries do not support export_shared_libs_headers
785		"apexer_test",            // Requires aapt2
786		"apexer_test_host_tools",
787		"host_apex_verifier",
788		"tjbench", // TODO(b/240563612): Stem property
789
790		// java bugs
791		"libbase_ndk",  // TODO(b/186826477): fails to link libctscamera2_jni for device (required for CtsCameraTestCases)
792		"bouncycastle", // TODO(b/274474005): Need support for custom system_modules.
793
794		// python protos
795		"libprotobuf-python", // Has a handcrafted alternative
796
797		// genrule incompatibilities
798		"brotli-fuzzer-corpus",                                       // TODO(b/202015218): outputs are in location incompatible with bazel genrule handling.
799		"platform_tools_properties", "build_tools_source_properties", // TODO(b/203369847): multiple genrules in the same package creating the same file
800
801		// aar support
802		"prebuilt_car-ui-androidx-core-common", // TODO(b/224773339), genrule dependency creates an .aar, not a .jar
803		// ERROR: The dependencies for the following 1 jar(s) are not complete.
804		// 1.bazel-out/android_target-fastbuild/bin/prebuilts/tools/common/m2/_aar/robolectric-monitor-1.0.2-alpha1/classes_and_libs_merged.jar
805		"prebuilt_robolectric-monitor-1.0.2-alpha1",
806
807		// path property for filegroups
808		"conscrypt",                        // TODO(b/210751803), we don't handle path property for filegroups
809		"conscrypt-for-host",               // TODO(b/210751803), we don't handle path property for filegroups
810		"host-libprotobuf-java-full",       // TODO(b/210751803), we don't handle path property for filegroups
811		"libprotobuf-internal-python-srcs", // TODO(b/210751803), we don't handle path property for filegroups
812		"libprotobuf-java-full",            // TODO(b/210751803), we don't handle path property for filegroups
813		"libprotobuf-java-util-full",       // TODO(b/210751803), we don't handle path property for filegroups
814		"auto_value_plugin_resources",      // TODO(b/210751803), we don't handle path property for filegroups
815
816		// go deps:
817		"analyze_bcpf",              // depends on bpmodify a blueprint_go_binary.
818		"analyze_bcpf_test",         // depends on bpmodify a blueprint_go_binary.
819		"host_bionic_linker_asm",    // depends on extract_linker, a go binary.
820		"host_bionic_linker_script", // depends on extract_linker, a go binary.
821
822		// 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
823		"robolectric_tzdata",
824
825		// rust support
826		"libtombstoned_client_rust_bridge_code", "libtombstoned_client_wrapper", // rust conversions are not supported
827
828		// unconverted deps
829		"apexer_with_DCLA_preprocessing_test",                        // depends on unconverted modules: apexer_test_host_tools, com.android.example.apex
830		"adb",                                                        // depends on unconverted modules: AdbWinApi, libandroidfw, libopenscreen-discovery, libopenscreen-platform-impl, libusb, bin2c_fastdeployagent, AdbWinUsbApi
831		"android_icu4j_srcgen",                                       // depends on unconverted modules: currysrc
832		"android_icu4j_srcgen_binary",                                // depends on unconverted modules: android_icu4j_srcgen, currysrc
833		"apex_compression_test",                                      // depends on unconverted modules: soong_zip, com.android.example.apex
834		"apex_manifest_proto_java",                                   // b/210751803, depends on libprotobuf-java-full
835		"art-script",                                                 // depends on unconverted modules: dalvikvm, dex2oat
836		"bin2c_fastdeployagent",                                      // depends on unconverted modules: deployagent
837		"CarHTMLViewer",                                              // depends on unconverted modules android.car-stubs, car-ui-lib
838		"com.android.runtime",                                        // depends on unconverted modules: bionic-linker-config, linkerconfig
839		"currysrc",                                                   // depends on unconverted modules: currysrc_org.eclipse, guavalib, jopt-simple-4.9
840		"dex2oat-script",                                             // depends on unconverted modules: dex2oat
841		"generated_android_icu4j_resources",                          // depends on unconverted modules: android_icu4j_srcgen_binary
842		"generated_android_icu4j_test_resources",                     // depends on unconverted modules: android_icu4j_srcgen_binary
843		"host-libprotobuf-java-nano",                                 // b/220869005, depends on libprotobuf-java-nano
844		"jacoco-stubs",                                               // b/245767077, depends on droidstubs
845		"libapexutil",                                                // depends on unconverted modules: apex-info-list-tinyxml
846		"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
847		"libart-runtime-gtest",                                       // depends on unconverted modules: libgtest_isolated, libart-compiler, libdexfile, libprofile, libartbase, libartbase-art-gtest
848		"libart_headers",                                             // depends on unconverted modules: art_libartbase_headers
849		"libartbase-art-gtest",                                       // depends on unconverted modules: libgtest_isolated, libart, libart-compiler, libdexfile, libprofile
850		"libartbased-art-gtest",                                      // depends on unconverted modules: libgtest_isolated, libartd, libartd-compiler, libdexfiled, libprofiled
851		"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
852		"libartd-runtime-gtest",                                      // depends on unconverted modules: libgtest_isolated, libartd-compiler, libdexfiled, libprofiled, libartbased, libartbased-art-gtest
853		"libdebuggerd",                                               // depends on unconverted module: libdexfile
854		"libdebuggerd_handler",                                       // depends on unconverted module libdebuggerd_handler_core
855		"libdebuggerd_handler_core", "libdebuggerd_handler_fallback", // depends on unconverted module libdebuggerd
856		"libdexfiled",                                             // depends on unconverted modules: dexfile_operator_srcs, libartbased, libartpalette
857		"libfastdeploy_host",                                      // depends on unconverted modules: libandroidfw, libusb, AdbWinApi
858		"libgmock_main_ndk",                                       // depends on unconverted modules: libgtest_ndk_c++
859		"libgmock_ndk",                                            // depends on unconverted modules: libgtest_ndk_c++
860		"libnativehelper_lazy_mts_jni", "libnativehelper_mts_jni", // depends on unconverted modules: libnativetesthelper_jni, libgmock_ndk
861		"libnativetesthelper_jni",   // depends on unconverted modules: libgtest_ndk_c++
862		"libstatslog",               // depends on unconverted modules: libstatspull, statsd-aidl-ndk
863		"libstatslog_art",           // depends on unconverted modules: statslog_art.cpp, statslog_art.h
864		"linker_reloc_bench_main",   // depends on unconverted modules: liblinker_reloc_bench_*
865		"malloc-rss-benchmark",      // depends on unconverted modules: libmeminfo
866		"pbtombstone", "crash_dump", // depends on libdebuggerd, libunwindstack
867		"releasetools_test",             // depends on unconverted modules: com.android.apex.compressed.v1
868		"robolectric-sqlite4java-0.282", // depends on unconverted modules: robolectric-sqlite4java-import, robolectric-sqlite4java-native
869		"static_crasher",                // depends on unconverted modules: libdebuggerd_handler
870		"test_fips",                     // depends on unconverted modules: adb
871		"timezone-host",                 // depends on unconverted modules: art.module.api.annotations
872		"truth-host-prebuilt",           // depends on unconverted modules: truth-prebuilt
873		"truth-prebuilt",                // depends on unconverted modules: asm-7.0, guava
874
875		// '//bionic/libc:libc_bp2build_cc_library_static' is duplicated in the 'deps' attribute of rule
876		"toybox-static",
877
878		// aidl files not created
879		"overlayable_policy_aidl_interface",
880
881		//prebuilts/tools/common/m2
882		// depends on //external/okio:okio-lib, which uses kotlin
883		"wire-runtime",
884
885		// depends on adbd_system_api_recovery, which is a unconverted `phony` module type
886		"minadbd",
887
888		// depends on android.hardware.health-V2.0-java
889		"android.hardware.health-translate-java",
890
891		//system/libvintf
892		// depends on apex-info-list-tinyxml, unconverted xsd_config Soong module type.
893		"libvintf",
894		"vintf",
895		"libassemblevintf",
896		"assemble_vintf",
897		"libvintffm",
898		"vintffm",
899		"checkvintf",
900
901		// depends on audio_policy_configuration_aidl_default, xsd_config module.
902		"libaudioserviceexampleimpl",
903		"android.hardware.audio.service-aidl.example",
904
905		// depends on //system/tools/aidl/build:aidl_metadata_json, which is an aidl_interfaces_metadata custom Soong type.
906		"aidl_metadata_in_cpp",
907		"libaidlmetadata",
908		"libaidlmetadata_test",
909
910		// depends on //system/tools/hidl/build:hidl_metadata_json, which is an hidl_interfaces_metadata custom Soong type.
911		"hidl_metadata_in_cpp",
912		"libhidlmetadata",
913		"hidl_metadata_test",
914
915		// cc_test related.
916		// b/274164834 "Could not open Configuration file test.cfg"
917		"svcenc", "svcdec",
918
919		// Failing host cc_tests
920		"memunreachable_unit_test",
921		"libprocinfo_test",
922		"ziparchive-tests",
923		"gtest_isolated_tests",
924		"libunwindstack_unit_test",
925		"task_profiles_test",
926		"power_tests", // failing test on server, but not on host
927
928		// reflect: call of reflect.Value.NumField on interface Value
929		// affects all cc_tests that depend on art_defaults
930		"libnativebridge-tests",
931		"libnativeloader_test",
932		"art_libnativebridge_cts_tests",
933		"art_standalone_libdexfile_external_tests",
934		"art_standalone_libdexfile_support_tests",
935		"libnativebridge-lazy-tests",
936		"libnativebridge-test-case",
937		"libnativebridge2-test-case",
938		"libnativebridge3-test-case",
939		"libnativebridge6-test-case",
940		"libnativebridge6prezygotefork",
941
942		"libandroidfw_tests", "aapt2_tests", // failing due to data path issues
943
944		// cc_test with unconverted deps, or are device-only (and not verified to pass yet)
945		"AMRWBEncTest",
946		"AmrnbDecoderTest",     // depends on unconverted modules: libaudioutils, libsndfile
947		"AmrnbEncoderTest",     // depends on unconverted modules: libaudioutils, libsndfile
948		"AmrwbDecoderTest",     // depends on unconverted modules: libsndfile, libaudioutils
949		"AmrwbEncoderTest",     // depends on unconverted modules: libaudioutils, libsndfile
950		"Mp3DecoderTest",       // depends on unconverted modules: libsndfile, libaudioutils
951		"Mpeg4H263DecoderTest", // depends on unconverted modules: libstagefright_foundation
952		"Mpeg4H263EncoderTest",
953		"avcdec",
954		"avcenc",
955		"bionic-benchmarks-tests",
956		"bionic-fortify-runtime-asan-test",
957		"bionic-stress-tests",
958		"bionic-unit-tests",
959		"bionic-unit-tests-glibc",
960		"bionic-unit-tests-static",
961		"boringssl_crypto_test",
962		"boringssl_ssl_test",
963		"cfi_test_helper",
964		"cfi_test_helper2",
965		"cintltst32",
966		"cintltst64",
967		"compare",
968		"cpuid",
969		"debuggerd_test", // depends on unconverted modules: libdebuggerd
970		"elftls_dlopen_ie_error_helper",
971		"exec_linker_helper",
972		"fastdeploy_test", // depends on unconverted modules: AdbWinApi, libadb_host, libandroidfw, libfastdeploy_host, libopenscreen-discovery, libopenscreen-platform-impl, libusb
973		"fdtrack_test",
974		"google-benchmark-test",
975		"googletest-param-test-test_ndk", // depends on unconverted modules: libgtest_ndk_c++
976		"gtest-typed-test_test",
977		"gtest-typed-test_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
978		"gtest_ndk_tests",           // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
979		"gtest_ndk_tests_no_main",   // depends on unconverted modules: libgtest_ndk_c++
980		"gtest_prod_test_ndk",       // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
981		"gtest_tests",
982		"gtest_tests_no_main",
983		"gwp_asan_unittest",
984		"half_test",
985		"hashcombine_test",
986		"hevcdec",
987		"hevcenc",
988		"hwbinderThroughputTest", // depends on unconverted modules: android.hardware.tests.libhwbinder@1.0-impl.test, android.hardware.tests.libhwbinder@1.0
989		"i444tonv12_eg",
990		"icu4c_sample_break",
991		"intltest32",
992		"intltest64",
993		"ion-unit-tests",
994		"jemalloc5_integrationtests",
995		"jemalloc5_unittests",
996		"ld_config_test_helper",
997		"ld_preload_test_helper",
998		"libBionicCtsGtestMain", // depends on unconverted modules: libgtest_isolated
999		"libBionicLoaderTests",  // depends on unconverted modules: libmeminfo
1000		"libapexutil_tests",     // depends on unconverted modules: apex-info-list-tinyxml, libapexutil
1001		"libcutils_sockets_test",
1002		"libexpectedutils_test",
1003		"libhwbinder_latency",
1004		"liblog-host-test", // failing tests
1005		"libminijail_test",
1006		"libminijail_unittest_gtest",
1007		"libpackagelistparser_test",
1008		"libprotobuf_vendor_suffix_test",
1009		"libstagefright_amrnbdec_test", // depends on unconverted modules: libsndfile, libaudioutils
1010		"libstagefright_amrnbenc_test",
1011		"libstagefright_amrwbdec_test", // depends on unconverted modules: libsndfile, libaudioutils
1012		"libstagefright_m4vh263enc_test",
1013		"libstagefright_mp3dec_test", // depends on unconverted modules: libsndfile, libaudioutils
1014		"libstatssocket_test",
1015		"libvndksupport-tests",
1016		"libyuv_unittest",
1017		"linker-unit-tests",
1018		"malloc_debug_system_tests",
1019		"malloc_debug_unit_tests",
1020		"malloc_hooks_system_tests",
1021		"mat_test",
1022		"mathtest",
1023		"memunreachable_binder_test", // depends on unconverted modules: libbinder
1024		"memunreachable_test",
1025		"metadata_tests",
1026		"minijail0_cli_unittest_gtest",
1027		"mpeg2dec",
1028		"mvcdec",
1029		"ns_hidden_child_helper",
1030		"pngtest",
1031		"preinit_getauxval_test_helper",
1032		"preinit_syscall_test_helper",
1033		"psnr",
1034		"quat_test",
1035		"rappor-tests", // depends on unconverted modules: jsr305, guava
1036		"scudo_unit_tests",
1037		"stats-log-api-gen-test", // depends on unconverted modules: libstats_proto_host
1038		"syscall_filter_unittest_gtest",
1039		"sysprop_test", // depends on unconverted modules: libcom.android.sysprop.tests
1040		"thread_exit_cb_helper",
1041		"tls_properties_helper",
1042		"ulp",
1043		"vec_test",
1044		"yuvconstants",
1045		"yuvconvert",
1046		"zipalign_tests",
1047
1048		// cc_test_library
1049		"clang_diagnostic_tests",
1050		"exec_linker_helper_lib",
1051		"fortify_disabled_for_tidy",
1052		"ld_config_test_helper_lib1",
1053		"ld_config_test_helper_lib2",
1054		"ld_config_test_helper_lib3",
1055		"ld_preload_test_helper_lib1",
1056		"ld_preload_test_helper_lib2",
1057		"libBionicElfTlsLoaderTests",
1058		"libBionicElfTlsTests",
1059		"libBionicElfTlsTests",
1060		"libBionicFramePointerTests",
1061		"libBionicFramePointerTests",
1062		"libBionicStandardTests",
1063		"libBionicStandardTests",
1064		"libBionicTests",
1065		"libart-broken",
1066		"libatest_simple_zip",
1067		"libcfi-test",
1068		"libcfi-test-bad",
1069		"libcrash_test",
1070		// "libcrypto_fuzz_unsafe",
1071		"libdl_preempt_test_1",
1072		"libdl_preempt_test_2",
1073		"libdl_test_df_1_global",
1074		"libdlext_test",
1075		"libdlext_test_different_soname",
1076		"libdlext_test_fd",
1077		"libdlext_test_norelro",
1078		"libdlext_test_recursive",
1079		"libdlext_test_zip",
1080		"libdvrcommon_test",
1081		"libfortify1-new-tests-clang",
1082		"libfortify1-new-tests-clang",
1083		"libfortify1-tests-clang",
1084		"libfortify1-tests-clang",
1085		"libfortify2-new-tests-clang",
1086		"libfortify2-new-tests-clang",
1087		"libfortify2-tests-clang",
1088		"libfortify2-tests-clang",
1089		"libgnu-hash-table-library",
1090		"libicutest_static",
1091		"liblinker_reloc_bench_000",
1092		"liblinker_reloc_bench_001",
1093		"liblinker_reloc_bench_002",
1094		"liblinker_reloc_bench_003",
1095		"liblinker_reloc_bench_004",
1096		"liblinker_reloc_bench_005",
1097		"liblinker_reloc_bench_006",
1098		"liblinker_reloc_bench_007",
1099		"liblinker_reloc_bench_008",
1100		"liblinker_reloc_bench_009",
1101		"liblinker_reloc_bench_010",
1102		"liblinker_reloc_bench_011",
1103		"liblinker_reloc_bench_012",
1104		"liblinker_reloc_bench_013",
1105		"liblinker_reloc_bench_014",
1106		"liblinker_reloc_bench_015",
1107		"liblinker_reloc_bench_016",
1108		"liblinker_reloc_bench_017",
1109		"liblinker_reloc_bench_018",
1110		"liblinker_reloc_bench_019",
1111		"liblinker_reloc_bench_020",
1112		"liblinker_reloc_bench_021",
1113		"liblinker_reloc_bench_022",
1114		"liblinker_reloc_bench_023",
1115		"liblinker_reloc_bench_024",
1116		"liblinker_reloc_bench_025",
1117		"liblinker_reloc_bench_026",
1118		"liblinker_reloc_bench_027",
1119		"liblinker_reloc_bench_028",
1120		"liblinker_reloc_bench_029",
1121		"liblinker_reloc_bench_030",
1122		"liblinker_reloc_bench_031",
1123		"liblinker_reloc_bench_032",
1124		"liblinker_reloc_bench_033",
1125		"liblinker_reloc_bench_034",
1126		"liblinker_reloc_bench_035",
1127		"liblinker_reloc_bench_036",
1128		"liblinker_reloc_bench_037",
1129		"liblinker_reloc_bench_038",
1130		"liblinker_reloc_bench_039",
1131		"liblinker_reloc_bench_040",
1132		"liblinker_reloc_bench_041",
1133		"liblinker_reloc_bench_042",
1134		"liblinker_reloc_bench_043",
1135		"liblinker_reloc_bench_044",
1136		"liblinker_reloc_bench_045",
1137		"liblinker_reloc_bench_046",
1138		"liblinker_reloc_bench_047",
1139		"liblinker_reloc_bench_048",
1140		"liblinker_reloc_bench_049",
1141		"liblinker_reloc_bench_050",
1142		"liblinker_reloc_bench_051",
1143		"liblinker_reloc_bench_052",
1144		"liblinker_reloc_bench_053",
1145		"liblinker_reloc_bench_054",
1146		"liblinker_reloc_bench_055",
1147		"liblinker_reloc_bench_056",
1148		"liblinker_reloc_bench_057",
1149		"liblinker_reloc_bench_058",
1150		"liblinker_reloc_bench_059",
1151		"liblinker_reloc_bench_060",
1152		"liblinker_reloc_bench_061",
1153		"liblinker_reloc_bench_062",
1154		"liblinker_reloc_bench_063",
1155		"liblinker_reloc_bench_064",
1156		"liblinker_reloc_bench_065",
1157		"liblinker_reloc_bench_066",
1158		"liblinker_reloc_bench_067",
1159		"liblinker_reloc_bench_068",
1160		"liblinker_reloc_bench_069",
1161		"liblinker_reloc_bench_070",
1162		"liblinker_reloc_bench_071",
1163		"liblinker_reloc_bench_072",
1164		"liblinker_reloc_bench_073",
1165		"liblinker_reloc_bench_074",
1166		"liblinker_reloc_bench_075",
1167		"liblinker_reloc_bench_076",
1168		"liblinker_reloc_bench_077",
1169		"liblinker_reloc_bench_078",
1170		"liblinker_reloc_bench_079",
1171		"liblinker_reloc_bench_080",
1172		"liblinker_reloc_bench_081",
1173		"liblinker_reloc_bench_082",
1174		"liblinker_reloc_bench_083",
1175		"liblinker_reloc_bench_084",
1176		"liblinker_reloc_bench_085",
1177		"liblinker_reloc_bench_086",
1178		"liblinker_reloc_bench_087",
1179		"liblinker_reloc_bench_088",
1180		"liblinker_reloc_bench_089",
1181		"liblinker_reloc_bench_090",
1182		"liblinker_reloc_bench_091",
1183		"liblinker_reloc_bench_092",
1184		"liblinker_reloc_bench_093",
1185		"liblinker_reloc_bench_094",
1186		"liblinker_reloc_bench_095",
1187		"liblinker_reloc_bench_096",
1188		"liblinker_reloc_bench_097",
1189		"liblinker_reloc_bench_098",
1190		"liblinker_reloc_bench_099",
1191		"liblinker_reloc_bench_100",
1192		"liblinker_reloc_bench_101",
1193		"liblinker_reloc_bench_102",
1194		"liblinker_reloc_bench_103",
1195		"liblinker_reloc_bench_104",
1196		"liblinker_reloc_bench_105",
1197		"liblinker_reloc_bench_106",
1198		"liblinker_reloc_bench_107",
1199		"liblinker_reloc_bench_108",
1200		"liblinker_reloc_bench_109",
1201		"liblinker_reloc_bench_110",
1202		"liblinker_reloc_bench_111",
1203		"liblinker_reloc_bench_112",
1204		"liblinker_reloc_bench_113",
1205		"liblinker_reloc_bench_114",
1206		"liblinker_reloc_bench_115",
1207		"liblinker_reloc_bench_116",
1208		"liblinker_reloc_bench_117",
1209		"liblinker_reloc_bench_118",
1210		"liblinker_reloc_bench_119",
1211		"liblinker_reloc_bench_120",
1212		"liblinker_reloc_bench_121",
1213		"liblinker_reloc_bench_122",
1214		"liblinker_reloc_bench_123",
1215		"liblinker_reloc_bench_124",
1216		"liblinker_reloc_bench_125",
1217		"liblinker_reloc_bench_126",
1218		"liblinker_reloc_bench_127",
1219		"liblinker_reloc_bench_128",
1220		"liblinker_reloc_bench_129",
1221		"liblinker_reloc_bench_130",
1222		"liblinker_reloc_bench_131",
1223		"liblinker_reloc_bench_132",
1224		"liblinker_reloc_bench_133",
1225		"liblinker_reloc_bench_134",
1226		"liblinker_reloc_bench_135",
1227		"liblinker_reloc_bench_136",
1228		"liblinker_reloc_bench_137",
1229		"liblinker_reloc_bench_138",
1230		"liblinker_reloc_bench_139",
1231		"liblinker_reloc_bench_140",
1232		"liblinker_reloc_bench_141",
1233		"liblinker_reloc_bench_142",
1234		"liblinker_reloc_bench_143",
1235		"liblinker_reloc_bench_144",
1236		"liblinker_reloc_bench_145",
1237		"liblinker_reloc_bench_146",
1238		"liblinker_reloc_bench_147",
1239		"liblinker_reloc_bench_148",
1240		"liblinker_reloc_bench_149",
1241		"liblinker_reloc_bench_150",
1242		"liblinker_reloc_bench_151",
1243		"liblinker_reloc_bench_152",
1244		"liblinker_reloc_bench_153",
1245		"liblinker_reloc_bench_154",
1246		"liblinker_reloc_bench_155",
1247		"liblinker_reloc_bench_156",
1248		"liblinker_reloc_bench_157",
1249		"liblinker_reloc_bench_158",
1250		"liblinker_reloc_bench_159",
1251		"liblinker_reloc_bench_160",
1252		"liblinker_reloc_bench_161",
1253		"liblinker_reloc_bench_162",
1254		"liblinker_reloc_bench_163",
1255		"liblinker_reloc_bench_164",
1256		"liblinker_reloc_bench_165",
1257		"liblinker_reloc_bench_166",
1258		"liblinker_reloc_bench_167",
1259		"liblinker_reloc_bench_168",
1260		"libns_hidden_child_app",
1261		"libns_hidden_child_global",
1262		"libns_hidden_child_internal",
1263		"libns_hidden_child_public",
1264		"libnstest_dlopened",
1265		"libnstest_ns_a_public1",
1266		"libnstest_ns_a_public1_internal",
1267		"libnstest_ns_b_public2",
1268		"libnstest_ns_b_public3",
1269		"libnstest_private",
1270		"libnstest_private_external",
1271		"libnstest_public",
1272		"libnstest_public_internal",
1273		"libnstest_root",
1274		"libnstest_root_not_isolated",
1275		"librelocations-ANDROID_REL",
1276		"librelocations-ANDROID_RELR",
1277		"librelocations-RELR",
1278		"librelocations-fat",
1279		"libsegment_gap_inner",
1280		"libsegment_gap_outer",
1281		// "libssl_fuzz_unsafe",
1282		"libstatssocket_private",
1283		"libsysv-hash-table-library",
1284		"libtest_atexit",
1285		"libtest_check_order_dlsym",
1286		"libtest_check_order_dlsym_1_left",
1287		"libtest_check_order_dlsym_2_right",
1288		"libtest_check_order_dlsym_3_c",
1289		"libtest_check_order_dlsym_a",
1290		"libtest_check_order_dlsym_b",
1291		"libtest_check_order_dlsym_d",
1292		"libtest_check_order_reloc_root",
1293		"libtest_check_order_reloc_root_1",
1294		"libtest_check_order_reloc_root_2",
1295		"libtest_check_order_reloc_siblings",
1296		"libtest_check_order_reloc_siblings_1",
1297		"libtest_check_order_reloc_siblings_2",
1298		"libtest_check_order_reloc_siblings_3",
1299		"libtest_check_order_reloc_siblings_a",
1300		"libtest_check_order_reloc_siblings_b",
1301		"libtest_check_order_reloc_siblings_c",
1302		"libtest_check_order_reloc_siblings_c_1",
1303		"libtest_check_order_reloc_siblings_c_2",
1304		"libtest_check_order_reloc_siblings_d",
1305		"libtest_check_order_reloc_siblings_e",
1306		"libtest_check_order_reloc_siblings_f",
1307		"libtest_check_rtld_next_from_library",
1308		"libtest_dlopen_df_1_global",
1309		"libtest_dlopen_from_ctor",
1310		"libtest_dlopen_from_ctor_main",
1311		"libtest_dlopen_weak_undefined_func",
1312		"libtest_dlsym_df_1_global",
1313		"libtest_dlsym_from_this",
1314		"libtest_dlsym_from_this_child",
1315		"libtest_dlsym_from_this_grandchild",
1316		"libtest_dlsym_weak_func",
1317		"libtest_dt_runpath_a",
1318		"libtest_dt_runpath_b",
1319		"libtest_dt_runpath_c",
1320		"libtest_dt_runpath_d",
1321		"libtest_dt_runpath_d_zip",
1322		"libtest_dt_runpath_x",
1323		"libtest_dt_runpath_y",
1324		"libtest_elftls_dynamic",
1325		"libtest_elftls_dynamic_filler_1",
1326		"libtest_elftls_dynamic_filler_2",
1327		"libtest_elftls_dynamic_filler_3",
1328		"libtest_elftls_shared_var",
1329		"libtest_elftls_shared_var_ie",
1330		"libtest_elftls_tprel",
1331		"libtest_empty",
1332		"libtest_ifunc",
1333		"libtest_ifunc_variable",
1334		"libtest_ifunc_variable_impl",
1335		"libtest_indirect_thread_local_dtor",
1336		"libtest_init_fini_order_child",
1337		"libtest_init_fini_order_grand_child",
1338		"libtest_init_fini_order_root",
1339		"libtest_init_fini_order_root2",
1340		"libtest_missing_symbol",
1341		"libtest_missing_symbol_child_private",
1342		"libtest_missing_symbol_child_public",
1343		"libtest_missing_symbol_root",
1344		"libtest_nodelete_1",
1345		"libtest_nodelete_2",
1346		"libtest_nodelete_dt_flags_1",
1347		"libtest_pthread_atfork",
1348		"libtest_relo_check_dt_needed_order",
1349		"libtest_relo_check_dt_needed_order_1",
1350		"libtest_relo_check_dt_needed_order_2",
1351		"libtest_simple",
1352		"libtest_thread_local_dtor",
1353		"libtest_thread_local_dtor2",
1354		"libtest_two_parents_child",
1355		"libtest_two_parents_parent1",
1356		"libtest_two_parents_parent2",
1357		"libtest_versioned_lib",
1358		"libtest_versioned_libv1",
1359		"libtest_versioned_libv2",
1360		"libtest_versioned_otherlib",
1361		"libtest_versioned_otherlib_empty",
1362		"libtest_versioned_uselibv1",
1363		"libtest_versioned_uselibv2",
1364		"libtest_versioned_uselibv2_other",
1365		"libtest_versioned_uselibv3_other",
1366		"libtest_with_dependency",
1367		"libtest_with_dependency_loop",
1368		"libtest_with_dependency_loop_a",
1369		"libtest_with_dependency_loop_b",
1370		"libtest_with_dependency_loop_b_tmp",
1371		"libtest_with_dependency_loop_c",
1372		"libtestshared",
1373
1374		// depends on unconverted libprotobuf-java-nano
1375		"dnsresolverprotosnano",
1376		"launcherprotosnano",
1377		"datastallprotosnano",
1378		"devicepolicyprotosnano",
1379		"ota_metadata_proto_java",
1380		"merge_ota",
1381
1382		// releasetools
1383		"releasetools_fsverity_metadata_generator",
1384		"verity_utils",
1385		"check_ota_package_signature",
1386		"check_target_files_vintf",
1387		"releasetools_check_target_files_vintf",
1388		"releasetools_verity_utils",
1389		"build_image",
1390		"ota_from_target_files",
1391		"releasetools_ota_from_target_files",
1392		"releasetools_build_image",
1393		"add_img_to_target_files",
1394		"releasetools_add_img_to_target_files",
1395		"fsverity_metadata_generator",
1396		"sign_target_files_apks",
1397
1398		// depends on the support of yacc file
1399		"libapplypatch",
1400		"libapplypatch_modes",
1401		"applypatch",
1402
1403		// TODO(b/254476335): disable the following due to this bug
1404		"libapexinfo",
1405		"libapexinfo_tests",
1406
1407		// uses glob in $(locations)
1408		"libc_musl_sysroot",
1409
1410		// TODO(b/266459895): depends on libunwindstack
1411		"libutils_test",
1412
1413		// Has dependencies on other tools like ziptool, bp2build'd data properties don't work with these tests atm
1414		"ziparchive_tests_large",
1415		"mkbootimg_test",
1416		"certify_bootimg_test",
1417
1418		// Despite being _host module types, these require devices to run
1419		"logd_integration_test",
1420		"mobly-hello-world-test",
1421		"mobly-multidevice-test",
1422
1423		// TODO(b/274805756): Support core_platform and current java APIs
1424		"fake-framework",
1425
1426		// TODO(b/277616982): These modules depend on private java APIs, but maybe they don't need to.
1427		"StreamingProtoTest",
1428		"textclassifierprotoslite",
1429		"styleprotoslite",
1430		"CtsPkgInstallerConstants",
1431		"guava-android-testlib",
1432
1433		// python_test_host with test data
1434		"sbom_writers_test",
1435	}
1436
1437	MixedBuildsDisabledList = []string{
1438		"libruy_static", "libtflite_kernel_utils", // TODO(b/237315968); Depend on prebuilt stl, not from source
1439
1440		"art_libdexfile_dex_instruction_list_header", // breaks libart_mterp.armng, header not found
1441
1442		"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
1443		"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.
1444
1445		"cap_names.h",                                  // TODO(b/204913827) runfiles need to be handled in mixed builds
1446		"libcap",                                       // TODO(b/204913827) runfiles need to be handled in mixed builds
1447		"libprotobuf-cpp-full", "libprotobuf-cpp-lite", // Unsupported product&vendor suffix. b/204811222 and b/204810610.
1448
1449		// Depends on libprotobuf-cpp-*
1450		"libadb_pairing_connection",
1451		"libadb_pairing_connection_static",
1452		"libadb_pairing_server", "libadb_pairing_server_static",
1453
1454		// TODO(b/240563612) Needing `stem` selection support for cc_binary
1455		"crasher",
1456
1457		// java_import[_host] issues
1458		// tradefed prebuilts depend on libprotobuf
1459		"prebuilt_tradefed",
1460		"prebuilt_tradefed-test-framework",
1461		// handcrafted BUILD.bazel files in //prebuilts/...
1462		"prebuilt_r8lib-prebuilt",
1463		"prebuilt_sdk-core-lambda-stubs",
1464		"prebuilt_android-support-collections-nodeps",
1465		"prebuilt_android-arch-core-common-nodeps",
1466		"prebuilt_android-arch-lifecycle-common-java8-nodeps",
1467		"prebuilt_android-arch-lifecycle-common-nodeps",
1468		"prebuilt_android-support-annotations-nodeps",
1469		"prebuilt_android-arch-paging-common-nodeps",
1470		"prebuilt_android-arch-room-common-nodeps",
1471		// TODO(b/217750501) exclude_dirs property not supported
1472		"prebuilt_kotlin-reflect",
1473		"prebuilt_kotlin-stdlib",
1474		"prebuilt_kotlin-stdlib-jdk7",
1475		"prebuilt_kotlin-stdlib-jdk8",
1476		"prebuilt_kotlin-test",
1477		// TODO(b/217750501) exclude_files property not supported
1478		"prebuilt_currysrc_org.eclipse",
1479
1480		// TODO(b/266459895): re-enable libunwindstack
1481		"libunwindstack",
1482		"libunwindstack_stdout_log",
1483		"libunwindstack_no_dex",
1484		"libunwindstack_utils",
1485		"unwind_reg_info",
1486		"libunwindstack_local",
1487		"unwind_for_offline",
1488		"unwind",
1489		"unwind_info",
1490		"unwind_symbols",
1491		"libEGL",
1492		"libGLESv2",
1493		"libc_malloc_debug",
1494		"libcodec2_hidl@1.0",
1495		"libcodec2_hidl@1.1",
1496		"libcodec2_hidl@1.2",
1497		"libfdtrack",
1498		"libgui",
1499		"libgui_bufferqueue_static",
1500		"libmedia_codecserviceregistrant",
1501		"libstagefright_bufferqueue_helper_novndk",
1502		"libutils_test",
1503		"libutilscallstack",
1504		"mediaswcodec",
1505	}
1506
1507	// Bazel prod-mode allowlist. Modules in this list are built by Bazel
1508	// in either prod mode or staging mode.
1509	ProdMixedBuildsEnabledList = []string{
1510		// M5: tzdata launch
1511		"com.android.tzdata",
1512		"test1_com.android.tzdata",
1513		"test3_com.android.tzdata",
1514		// M7: adbd launch
1515		"com.android.adbd",
1516		"test_com.android.adbd",
1517		"adbd_test",
1518		"adb_crypto_test",
1519		"adb_pairing_auth_test",
1520		"adb_pairing_connection_test",
1521		"adb_tls_connection_test",
1522		// M9: mixed builds for mainline trains launch
1523		"api_fingerprint",
1524	}
1525
1526	// Staging-mode allowlist. Modules in this list are only built
1527	// by Bazel with --bazel-mode-staging. This list should contain modules
1528	// which will soon be added to the prod allowlist.
1529	// It is implicit that all modules in ProdMixedBuildsEnabledList will
1530	// also be built - do not add them to this list.
1531	StagingMixedBuildsEnabledList = []string{
1532		"com.android.neuralnetworks",
1533		"libneuralnetworks",
1534		"libneuralnetworks_static",
1535	}
1536
1537	// These should be the libs that are included by the apexes in the ProdMixedBuildsEnabledList
1538	ProdDclaMixedBuildsEnabledList = []string{
1539		"libbase",
1540		"libc++",
1541		"libcrypto",
1542		"libcutils",
1543	}
1544
1545	// These should be the libs that are included by the apexes in the StagingMixedBuildsEnabledList
1546	StagingDclaMixedBuildsEnabledList = []string{}
1547
1548	// TODO(b/269342245): Enable the rest of the DCLA libs
1549	// "libssl",
1550	// "libstagefright_flacdec",
1551	// "libutils",
1552
1553	// TODO(b/273282046): Make this list customizable to support various targets.
1554	// The list of modules which are expected to spend lots of build time.
1555	// With `--ninja_weight_source=soong`, ninja builds these modules and deps first.
1556	HugeModulesMap = map[string]int{
1557		"AccountManagementApp":                          DEFAULT_NINJA_WEIGHT,
1558		"ActivityManagerPerfTestsStubApp1":              DEFAULT_NINJA_WEIGHT,
1559		"ActivityManagerPerfTestsStubApp2":              DEFAULT_NINJA_WEIGHT,
1560		"ActivityManagerPerfTestsStubApp3":              DEFAULT_NINJA_WEIGHT,
1561		"api-stubs-docs-non-updatable":                  DEFAULT_NINJA_WEIGHT,
1562		"AppCompatibilityTest":                          DEFAULT_NINJA_WEIGHT,
1563		"AppTransitionTests":                            DEFAULT_NINJA_WEIGHT,
1564		"art_compiler_tests":                            DEFAULT_NINJA_WEIGHT,
1565		"art.module.intra.core.api.stubs.source":        DEFAULT_NINJA_WEIGHT,
1566		"art.module.public.api.stubs.source":            DEFAULT_NINJA_WEIGHT,
1567		"AttestationVerificationTest":                   DEFAULT_NINJA_WEIGHT,
1568		"BatteryUsageStatsProtoTests":                   DEFAULT_NINJA_WEIGHT,
1569		"bluetooth_test_gd_unit":                        DEFAULT_NINJA_WEIGHT,
1570		"Bluetooth":                                     DEFAULT_NINJA_WEIGHT,
1571		"BluetoothInstrumentationTests":                 DEFAULT_NINJA_WEIGHT,
1572		"Calendar":                                      DEFAULT_NINJA_WEIGHT,
1573		"CalendarProvider":                              DEFAULT_NINJA_WEIGHT,
1574		"Camera2":                                       DEFAULT_NINJA_WEIGHT,
1575		"CarRotaryControllerUnitTests":                  DEFAULT_NINJA_WEIGHT,
1576		"CarSettingsForUnitTesting":                     DEFAULT_NINJA_WEIGHT,
1577		"CarSettingsUnitTests":                          DEFAULT_NINJA_WEIGHT,
1578		"CarSystemUI-tests":                             DEFAULT_NINJA_WEIGHT,
1579		"CellBroadcastApp":                              DEFAULT_NINJA_WEIGHT,
1580		"CellBroadcastLegacyApp":                        DEFAULT_NINJA_WEIGHT,
1581		"CellBroadcastReceiverOemUnitTests":             DEFAULT_NINJA_WEIGHT,
1582		"CellBroadcastServiceModule":                    DEFAULT_NINJA_WEIGHT,
1583		"CompanionDeviceManager":                        DEFAULT_NINJA_WEIGHT,
1584		"ConnectivityChecker":                           DEFAULT_NINJA_WEIGHT,
1585		"Contacts":                                      DEFAULT_NINJA_WEIGHT,
1586		"ContactsProvider":                              DEFAULT_NINJA_WEIGHT,
1587		"ContentCapturePerfTests":                       DEFAULT_NINJA_WEIGHT,
1588		"CorePerfTests":                                 DEFAULT_NINJA_WEIGHT,
1589		"crosvm":                                        DEFAULT_NINJA_WEIGHT,
1590		"CtsDomainVerificationDeviceMultiUserTestCases": DEFAULT_NINJA_WEIGHT,
1591		"CtsLogdTestCases":                              DEFAULT_NINJA_WEIGHT,
1592		"CtsMediaProviderTranscodeTests":                DEFAULT_NINJA_WEIGHT,
1593		"CtsRollbackManagerHostTestHelperApp":           DEFAULT_NINJA_WEIGHT,
1594		"CtsRollbackManagerHostTestHelperApp2":          DEFAULT_NINJA_WEIGHT,
1595		"CtsRootPackageInstallerTestCases":              DEFAULT_NINJA_WEIGHT,
1596		"CtsRootRollbackManagerHostTestHelperApp":       DEFAULT_NINJA_WEIGHT,
1597		"CtsTranscodeTestAppSupportsHevc":               DEFAULT_NINJA_WEIGHT,
1598		"CtsTranscodeTestAppSupportsSlowMotion":         DEFAULT_NINJA_WEIGHT,
1599		"CuttlefishDisplayHotplugHelperApp":             DEFAULT_NINJA_WEIGHT,
1600		"cvd-host_package":                              DEFAULT_NINJA_WEIGHT,
1601		"DelegateTestApp":                               DEFAULT_NINJA_WEIGHT,
1602		"DeskClock":                                     DEFAULT_NINJA_WEIGHT,
1603		"Development":                                   DEFAULT_NINJA_WEIGHT,
1604		"DeviceAdminTestApp":                            DEFAULT_NINJA_WEIGHT,
1605		"DevicePolicyManagementRoleHolderTestApp":       DEFAULT_NINJA_WEIGHT,
1606		"dex2oatd":                                      DEFAULT_NINJA_WEIGHT,
1607		"DocumentsUI":                                   DEFAULT_NINJA_WEIGHT,
1608		"EasterEgg":                                     DEFAULT_NINJA_WEIGHT,
1609		"EffectProxyTest":                               DEFAULT_NINJA_WEIGHT,
1610		"EmergencyInfo":                                 DEFAULT_NINJA_WEIGHT,
1611		"EmptyTestApp":                                  DEFAULT_NINJA_WEIGHT,
1612		"ExtServices":                                   DEFAULT_NINJA_WEIGHT,
1613		"FacebookAppsScenarioTests":                     DEFAULT_NINJA_WEIGHT,
1614		"flickerlib-core":                               DEFAULT_NINJA_WEIGHT,
1615		"flickerlib":                                    DEFAULT_NINJA_WEIGHT,
1616		"FlickerLibTest":                                DEFAULT_NINJA_WEIGHT,
1617		"FlickerTests":                                  DEFAULT_NINJA_WEIGHT,
1618		"framework-minus-apex":                          DEFAULT_NINJA_WEIGHT,
1619		"framework-res":                                 DEFAULT_NINJA_WEIGHT,
1620		"FrameworksCoreTests":                           DEFAULT_NINJA_WEIGHT,
1621		"FrameworksMockingCoreTests":                    DEFAULT_NINJA_WEIGHT,
1622		"FrameworksMockingServicesTests":                DEFAULT_NINJA_WEIGHT,
1623		"FrameworksNetSmokeTests":                       DEFAULT_NINJA_WEIGHT,
1624		"FrameworksNetTests":                            DEFAULT_NINJA_WEIGHT,
1625		"FrameworksServicesTests":                       DEFAULT_NINJA_WEIGHT,
1626		"FrameworksTelephonyTests":                      DEFAULT_NINJA_WEIGHT,
1627		"FrameworksUiServicesTests":                     DEFAULT_NINJA_WEIGHT,
1628		"FrameworksVcnTests":                            DEFAULT_NINJA_WEIGHT,
1629		"Gallery2":                                      DEFAULT_NINJA_WEIGHT,
1630		"GameCoreDevice":                                DEFAULT_NINJA_WEIGHT,
1631		"GoogleBluetoothInstrumentationTests":           DEFAULT_NINJA_WEIGHT,
1632		"guice_munged_srcs":                             DEFAULT_NINJA_WEIGHT,
1633		"HalfSheetUX":                                   DEFAULT_NINJA_WEIGHT,
1634		"ImePerfTests":                                  DEFAULT_NINJA_WEIGHT,
1635		"imgdiag":                                       DEFAULT_NINJA_WEIGHT,
1636		"ImsServiceEntitlement":                         DEFAULT_NINJA_WEIGHT,
1637		"ImsServiceEntitlementUnitTests":                DEFAULT_NINJA_WEIGHT,
1638		"InputTests":                                    DEFAULT_NINJA_WEIGHT,
1639		"InstallTest":                                   DEFAULT_NINJA_WEIGHT,
1640		"IntentResolver":                                DEFAULT_NINJA_WEIGHT,
1641		"JankBench":                                     DEFAULT_NINJA_WEIGHT,
1642		"jsilver":                                       DEFAULT_NINJA_WEIGHT,
1643		"KeyChain":                                      DEFAULT_NINJA_WEIGHT,
1644		"KeyChainTests":                                 DEFAULT_NINJA_WEIGHT,
1645		"keystore2":                                     DEFAULT_NINJA_WEIGHT,
1646		"LargeResourcesCompressed":                      DEFAULT_NINJA_WEIGHT,
1647		"LatinIME":                                      DEFAULT_NINJA_WEIGHT,
1648		"Launcher3QuickStepLib":                         DEFAULT_NINJA_WEIGHT,
1649		"libaom":                                        DEFAULT_NINJA_WEIGHT,
1650		"libart-broken":                                 DEFAULT_NINJA_WEIGHT,
1651		"libart-compiler":                               DEFAULT_NINJA_WEIGHT,
1652		"libart-disassembler":                           DEFAULT_NINJA_WEIGHT,
1653		"libart":                                        DEFAULT_NINJA_WEIGHT,
1654		"libartd":                                       DEFAULT_NINJA_WEIGHT,
1655		"libaudiohal@7.1":                               DEFAULT_NINJA_WEIGHT,
1656		"libbluetooth_core_rs":                          DEFAULT_NINJA_WEIGHT,
1657		"libbluetooth_gd_unit_tests":                    DEFAULT_NINJA_WEIGHT,
1658		"libbluetooth_gd":                               DEFAULT_NINJA_WEIGHT,
1659		"libbluetooth_rs":                               DEFAULT_NINJA_WEIGHT,
1660		"libbluetooth-for-tests":                        DEFAULT_NINJA_WEIGHT,
1661		"libbt_common":                                  DEFAULT_NINJA_WEIGHT,
1662		"libbt_packets_nonapex":                         DEFAULT_NINJA_WEIGHT,
1663		"libbt_packets":                                 DEFAULT_NINJA_WEIGHT,
1664		"libbt_shim_ffi":                                DEFAULT_NINJA_WEIGHT,
1665		"libbt_shim":                                    DEFAULT_NINJA_WEIGHT,
1666		"libbt-audio-hal-interface":                     DEFAULT_NINJA_WEIGHT,
1667		"libbt-bta-core":                                DEFAULT_NINJA_WEIGHT,
1668		"libbt-bta":                                     DEFAULT_NINJA_WEIGHT,
1669		"libbt-common":                                  DEFAULT_NINJA_WEIGHT,
1670		"libbt-hci":                                     DEFAULT_NINJA_WEIGHT,
1671		"libbt-platform-protos-lite":                    DEFAULT_NINJA_WEIGHT,
1672		"libbt-protos-lite":                             DEFAULT_NINJA_WEIGHT,
1673		"libbt-sbc-decoder":                             DEFAULT_NINJA_WEIGHT,
1674		"libc":                                          DEFAULT_NINJA_WEIGHT,
1675		"libclap":                                       DEFAULT_NINJA_WEIGHT,
1676		"libcodec2_soft_av1dec_gav1":                    DEFAULT_NINJA_WEIGHT,
1677		"libcompositionengine_test":                     DEFAULT_NINJA_WEIGHT,
1678		"libdevices":                                    DEFAULT_NINJA_WEIGHT,
1679		"libfrontend_proto":                             DEFAULT_NINJA_WEIGHT,
1680		"libhwtrust":                                    DEFAULT_NINJA_WEIGHT,
1681		"libjni":                                        DEFAULT_NINJA_WEIGHT,
1682		"libkeystore2":                                  DEFAULT_NINJA_WEIGHT,
1683		"libkmr_ta":                                     DEFAULT_NINJA_WEIGHT,
1684		"liblmp":                                        DEFAULT_NINJA_WEIGHT,
1685		"libopenjdkjvmtid":                              DEFAULT_NINJA_WEIGHT,
1686		"libprotobuf_deprecated":                        DEFAULT_NINJA_WEIGHT,
1687		"libprotobuf":                                   DEFAULT_NINJA_WEIGHT,
1688		"libregex":                                      DEFAULT_NINJA_WEIGHT,
1689		"LibStatsPullTests":                             DEFAULT_NINJA_WEIGHT,
1690		"libstd":                                        DEFAULT_NINJA_WEIGHT,
1691		"libsurfaceflinger_unittest":                    DEFAULT_NINJA_WEIGHT,
1692		"libsyn":                                        DEFAULT_NINJA_WEIGHT,
1693		"libtokio":                                      DEFAULT_NINJA_WEIGHT,
1694		"libuwb_core":                                   DEFAULT_NINJA_WEIGHT,
1695		"libuwb_uci_jni_rust":                           DEFAULT_NINJA_WEIGHT,
1696		"libuwb_uci_packets":                            DEFAULT_NINJA_WEIGHT,
1697		"libvpx":                                        DEFAULT_NINJA_WEIGHT,
1698		"libvulkan_enc":                                 DEFAULT_NINJA_WEIGHT,
1699		"libwebrtc":                                     DEFAULT_NINJA_WEIGHT,
1700		"LiveWallpapersPicker":                          DEFAULT_NINJA_WEIGHT,
1701		"LockTaskApp":                                   DEFAULT_NINJA_WEIGHT,
1702		"LongevityPlatformLibTests":                     DEFAULT_NINJA_WEIGHT,
1703		"ManagedProvisioning":                           DEFAULT_NINJA_WEIGHT,
1704		"ManagedProvisioningTests":                      DEFAULT_NINJA_WEIGHT,
1705		"MediaProvider":                                 DEFAULT_NINJA_WEIGHT,
1706		"MediaProviderClientTests":                      DEFAULT_NINJA_WEIGHT,
1707		"MediaProviderLegacy":                           DEFAULT_NINJA_WEIGHT,
1708		"messaging":                                     DEFAULT_NINJA_WEIGHT,
1709		"metalava":                                      DEFAULT_NINJA_WEIGHT,
1710		"MicrobenchmarkRunnerTests":                     DEFAULT_NINJA_WEIGHT,
1711		"microdroid_manager":                            DEFAULT_NINJA_WEIGHT,
1712		"minikin_tests":                                 DEFAULT_NINJA_WEIGHT,
1713		"MLCTestApp":                                    DEFAULT_NINJA_WEIGHT,
1714		"MmsService":                                    DEFAULT_NINJA_WEIGHT,
1715		"MmsServiceTests":                               DEFAULT_NINJA_WEIGHT,
1716		"module-lib-api-stubs-docs-non-updatable":       DEFAULT_NINJA_WEIGHT,
1717		"motion_tool_lib_tests":                         DEFAULT_NINJA_WEIGHT,
1718		"MtpService":                                    DEFAULT_NINJA_WEIGHT,
1719		"MultiUserTests":                                DEFAULT_NINJA_WEIGHT,
1720		"NearbyIntegrationUiTests":                      DEFAULT_NINJA_WEIGHT,
1721		"net_test_bluetooth":                            DEFAULT_NINJA_WEIGHT,
1722		"net_test_btif":                                 DEFAULT_NINJA_WEIGHT,
1723		"net_test_main_shim":                            DEFAULT_NINJA_WEIGHT,
1724		"net_test_stack":                                DEFAULT_NINJA_WEIGHT,
1725		"net-tests-utils":                               DEFAULT_NINJA_WEIGHT,
1726		"NetworkStackCoverageTests":                     DEFAULT_NINJA_WEIGHT,
1727		"NetworkStackIntegrationTests":                  DEFAULT_NINJA_WEIGHT,
1728		"NetworkStackNext":                              DEFAULT_NINJA_WEIGHT,
1729		"NfcNci":                                        DEFAULT_NINJA_WEIGHT,
1730		"NfcNciUnitTests":                               DEFAULT_NINJA_WEIGHT,
1731		"NotEmptyTestApp":                               DEFAULT_NINJA_WEIGHT,
1732		"NotificationFunctionalTests":                   DEFAULT_NINJA_WEIGHT,
1733		"oatdumpd":                                      DEFAULT_NINJA_WEIGHT,
1734		"OsuLogin":                                      DEFAULT_NINJA_WEIGHT,
1735		"PackageInstaller":                              DEFAULT_NINJA_WEIGHT,
1736		"PackageManagerComponentOverrideTests":          DEFAULT_NINJA_WEIGHT,
1737		"PackageManagerPerfTests":                       DEFAULT_NINJA_WEIGHT,
1738		"PackageManagerServiceServerTests":              DEFAULT_NINJA_WEIGHT,
1739		"PackageManagerServiceUnitTests":                DEFAULT_NINJA_WEIGHT,
1740		"PackageWatchdogTest":                           DEFAULT_NINJA_WEIGHT,
1741		"PandoraServerLib":                              DEFAULT_NINJA_WEIGHT,
1742		"pdl":                                           DEFAULT_NINJA_WEIGHT,
1743		"perfetto_trace_java_protos":                    DEFAULT_NINJA_WEIGHT,
1744		"perfetto_trace-full":                           DEFAULT_NINJA_WEIGHT,
1745		"PermissionController":                          DEFAULT_NINJA_WEIGHT,
1746		"PermissionControllerMockingTests":              DEFAULT_NINJA_WEIGHT,
1747		"PixelAppCompTests":                             DEFAULT_NINJA_WEIGHT,
1748		"platform-bootclasspath":                        DEFAULT_NINJA_WEIGHT,
1749		"PlatformCommonScenarioTests":                   DEFAULT_NINJA_WEIGHT,
1750		"PlatformComposeCoreTests":                      DEFAULT_NINJA_WEIGHT,
1751		"platformprotoslite":                            DEFAULT_NINJA_WEIGHT,
1752		"PlatformRuleTests":                             DEFAULT_NINJA_WEIGHT,
1753		"precompiled_sepolicy-without_apex":             DEFAULT_NINJA_WEIGHT,
1754		"PresencePolling":                               DEFAULT_NINJA_WEIGHT,
1755		"PrintSpooler":                                  DEFAULT_NINJA_WEIGHT,
1756		"QuickSearchBox":                                DEFAULT_NINJA_WEIGHT,
1757		"RemoteDPCTestApp":                              DEFAULT_NINJA_WEIGHT,
1758		"RemoteProvisioningServiceTests":                DEFAULT_NINJA_WEIGHT,
1759		"RkpdAppUnitTests":                              DEFAULT_NINJA_WEIGHT,
1760		"Robolectric_shadows_framework":                 DEFAULT_NINJA_WEIGHT,
1761		"RoleHolderApp":                                 DEFAULT_NINJA_WEIGHT,
1762		"SdkSandbox":                                    DEFAULT_NINJA_WEIGHT,
1763		"service-appsearch":                             DEFAULT_NINJA_WEIGHT,
1764		"service-connectivity":                          DEFAULT_NINJA_WEIGHT,
1765		"service-uwb":                                   DEFAULT_NINJA_WEIGHT,
1766		"service-wifi":                                  DEFAULT_NINJA_WEIGHT,
1767		"services-non-updatable-stubs":                  DEFAULT_NINJA_WEIGHT,
1768		"services":                                      DEFAULT_NINJA_WEIGHT,
1769		"Settings-core":                                 DEFAULT_NINJA_WEIGHT,
1770		"Settings":                                      DEFAULT_NINJA_WEIGHT,
1771		"SettingsIntelligence":                          DEFAULT_NINJA_WEIGHT,
1772		"SettingsLibTests":                              DEFAULT_NINJA_WEIGHT,
1773		"SettingsProvider":                              DEFAULT_NINJA_WEIGHT,
1774		"Shell":                                         DEFAULT_NINJA_WEIGHT,
1775		"SimAppDialog":                                  DEFAULT_NINJA_WEIGHT,
1776		"sl4a":                                          DEFAULT_NINJA_WEIGHT,
1777		"SmsApp":                                        DEFAULT_NINJA_WEIGHT,
1778		"SoundPicker":                                   DEFAULT_NINJA_WEIGHT,
1779		"StagedInstallTest":                             DEFAULT_NINJA_WEIGHT,
1780		"StatementService":                              DEFAULT_NINJA_WEIGHT,
1781		"StatsdFrameworkTestApp":                        DEFAULT_NINJA_WEIGHT,
1782		"StatsdFrameworkTestAppNoPermission":            DEFAULT_NINJA_WEIGHT,
1783		"statsdprotolite":                               DEFAULT_NINJA_WEIGHT,
1784		"Stk":                                           DEFAULT_NINJA_WEIGHT,
1785		"StorageManager":                                DEFAULT_NINJA_WEIGHT,
1786		"system-api-stubs-docs-non-updatable":           DEFAULT_NINJA_WEIGHT,
1787		"SystemUI-core":                                 DEFAULT_NINJA_WEIGHT,
1788		"SystemUI-tests-base":                           DEFAULT_NINJA_WEIGHT,
1789		"SystemUI-tests":                                DEFAULT_NINJA_WEIGHT,
1790		"SystemUI":                                      DEFAULT_NINJA_WEIGHT,
1791		"SystemUIComposeFeatures":                       DEFAULT_NINJA_WEIGHT,
1792		"SystemUIComposeFeaturesTests":                  DEFAULT_NINJA_WEIGHT,
1793		"SystemUITests":                                 DEFAULT_NINJA_WEIGHT,
1794		"Tag":                                           DEFAULT_NINJA_WEIGHT,
1795		"Telecom":                                       DEFAULT_NINJA_WEIGHT,
1796		"TelecomUnitTests":                              DEFAULT_NINJA_WEIGHT,
1797		"telephony-common":                              DEFAULT_NINJA_WEIGHT,
1798		"TelephonyProvider":                             DEFAULT_NINJA_WEIGHT,
1799		"TeleService":                                   DEFAULT_NINJA_WEIGHT,
1800		"test-api-stubs-docs-non-updatable":             DEFAULT_NINJA_WEIGHT,
1801		"TetheringIntegrationTests":                     DEFAULT_NINJA_WEIGHT,
1802		"TetheringNext":                                 DEFAULT_NINJA_WEIGHT,
1803		"ThemePickerTests":                              DEFAULT_NINJA_WEIGHT,
1804		"Traceur":                                       DEFAULT_NINJA_WEIGHT,
1805		"UsbManagerTests":                               DEFAULT_NINJA_WEIGHT,
1806		"UsbTests":                                      DEFAULT_NINJA_WEIGHT,
1807		"virtmgr":                                       DEFAULT_NINJA_WEIGHT,
1808		"WallpaperPicker2TestLib":                       DEFAULT_NINJA_WEIGHT,
1809		"WallpaperPicker2Tests":                         DEFAULT_NINJA_WEIGHT,
1810		"WifiDialog":                                    DEFAULT_NINJA_WEIGHT,
1811		"wm-proto-parsers":                              DEFAULT_NINJA_WEIGHT,
1812		"WMShellFlickerTests":                           DEFAULT_NINJA_WEIGHT,
1813		"WmTests":                                       DEFAULT_NINJA_WEIGHT,
1814		"wpa_supplicant":                                DEFAULT_NINJA_WEIGHT,
1815	}
1816)
1817