blob: b8b0c022314a7a72383b6ae1de6526d6b10cb9e3 [file] [log] [blame]
Sam Delmerico24c56032022-03-28 19:53:03 +00001// Copyright 2022 Google Inc. All rights reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package allowlists
16
17// Configuration to decide if modules in a directory should default to true/false for bp2build_available
18type Bp2BuildConfig map[string]BazelConversionConfigEntry
19type BazelConversionConfigEntry int
20
21const (
22 // iota + 1 ensures that the int value is not 0 when used in the Bp2buildAllowlist map,
23 // which can also mean that the key doesn't exist in a lookup.
24
25 // all modules in this package and subpackages default to bp2build_available: true.
26 // allows modules to opt-out.
27 Bp2BuildDefaultTrueRecursively BazelConversionConfigEntry = iota + 1
28
29 // all modules in this package (not recursively) default to bp2build_available: true.
30 // allows modules to opt-out.
31 Bp2BuildDefaultTrue
32
33 // all modules in this package (not recursively) default to bp2build_available: false.
34 // allows modules to opt-in.
35 Bp2BuildDefaultFalse
MarkDacek756b2962022-10-13 17:50:17 +000036
37 // all modules in this package and subpackages default to bp2build_available: false.
38 // allows modules to opt-in.
39 Bp2BuildDefaultFalseRecursively
Jeongik Chae114e602023-03-19 00:12:39 +090040
Jeongik Chab745e2e2023-04-11 14:28:43 +090041 // Modules with build time of more than half a minute should have high priority.
42 DEFAULT_PRIORITIZED_WEIGHT = 1000
43 // Modules with build time of more than a few minute should have higher priority.
44 HIGH_PRIORITIZED_WEIGHT = 10 * DEFAULT_PRIORITIZED_WEIGHT
45 // Modules with inputs greater than the threshold should have high priority.
46 // Adjust this threshold if there are lots of wrong predictions.
47 INPUT_SIZE_THRESHOLD = 50
Sam Delmerico24c56032022-03-28 19:53:03 +000048)
49
50var (
51 Bp2buildDefaultConfig = Bp2BuildConfig{
Sasha Smundak8bea2672022-08-04 13:31:14 -070052 "art": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040053 "art/libartbase": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +000054 "art/libartpalette": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040055 "art/libdexfile": Bp2BuildDefaultTrueRecursively,
56 "art/libnativebridge": Bp2BuildDefaultTrueRecursively,
57 "art/runtime": Bp2BuildDefaultTrueRecursively,
58 "art/tools": Bp2BuildDefaultTrue,
59 "bionic": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux77488af2022-11-07 16:53:19 +000060 "bootable/recovery/applypatch": Bp2BuildDefaultTrue,
Jingwen Chena0519422022-09-28 08:01:57 +000061 "bootable/recovery/minadbd": Bp2BuildDefaultTrue,
62 "bootable/recovery/minui": Bp2BuildDefaultTrue,
63 "bootable/recovery/recovery_utils": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040064 "bootable/recovery/tools/recovery_l10n": Bp2BuildDefaultTrue,
65
Cole Faust324a92e2022-08-23 15:29:05 -070066 "build/bazel": Bp2BuildDefaultTrueRecursively,
67 "build/make/target/product/security": Bp2BuildDefaultTrue,
Jingwen Chene12c0832023-08-25 09:00:16 +000068 "build/make/tools": Bp2BuildDefaultTrue,
Wei Li74e3e002023-04-26 12:15:55 -070069 "build/make/tools/protos": Bp2BuildDefaultTrue,
Wei Li7d8f6182022-10-11 14:38:16 -070070 "build/make/tools/releasetools": Bp2BuildDefaultTrue,
Wei Li74e3e002023-04-26 12:15:55 -070071 "build/make/tools/sbom": Bp2BuildDefaultTrue,
Cole Faust324a92e2022-08-23 15:29:05 -070072 "build/make/tools/signapk": Bp2BuildDefaultTrue,
73 "build/make/tools/zipalign": Bp2BuildDefaultTrueRecursively,
74 "build/soong": Bp2BuildDefaultTrue,
75 "build/soong/cc/libbuildversion": Bp2BuildDefaultTrue, // Skip tests subdir
76 "build/soong/cc/ndkstubgen": Bp2BuildDefaultTrue,
77 "build/soong/cc/symbolfile": Bp2BuildDefaultTrue,
Sasha Smundak8bea2672022-08-04 13:31:14 -070078 "build/soong/licenses": Bp2BuildDefaultTrue,
Cole Faust324a92e2022-08-23 15:29:05 -070079 "build/soong/linkerconfig": Bp2BuildDefaultTrueRecursively,
80 "build/soong/scripts": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040081
82 "cts/common/device-side/nativetesthelper/jni": Bp2BuildDefaultTrueRecursively,
Jingwen Chene12c0832023-08-25 09:00:16 +000083 "cts/libs/json": Bp2BuildDefaultTrueRecursively,
84 "cts/tests/tests/gesture": Bp2BuildDefaultTrueRecursively,
85 "platform_testing/libraries/annotations": Bp2BuildDefaultTrueRecursively,
Jingwen Chen1ec77852022-11-07 14:36:12 +000086
87 "dalvik/tools/dexdeps": Bp2BuildDefaultTrueRecursively,
88
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040089 "development/apps/DevelopmentSettings": Bp2BuildDefaultTrue,
90 "development/apps/Fallback": Bp2BuildDefaultTrue,
91 "development/apps/WidgetPreview": Bp2BuildDefaultTrue,
Spandan Dasb3d5c482023-05-15 18:49:23 +000092 "development/python-packages/adb": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040093 "development/samples/BasicGLSurfaceView": Bp2BuildDefaultTrue,
94 "development/samples/BluetoothChat": Bp2BuildDefaultTrue,
95 "development/samples/BrokenKeyDerivation": Bp2BuildDefaultTrue,
96 "development/samples/Compass": Bp2BuildDefaultTrue,
97 "development/samples/ContactManager": Bp2BuildDefaultTrue,
98 "development/samples/FixedGridLayout": Bp2BuildDefaultTrue,
99 "development/samples/HelloEffects": Bp2BuildDefaultTrue,
100 "development/samples/Home": Bp2BuildDefaultTrue,
101 "development/samples/HoneycombGallery": Bp2BuildDefaultTrue,
102 "development/samples/JetBoy": Bp2BuildDefaultTrue,
103 "development/samples/KeyChainDemo": Bp2BuildDefaultTrue,
104 "development/samples/LceDemo": Bp2BuildDefaultTrue,
105 "development/samples/LunarLander": Bp2BuildDefaultTrue,
106 "development/samples/MultiResolution": Bp2BuildDefaultTrue,
107 "development/samples/MultiWindow": Bp2BuildDefaultTrue,
108 "development/samples/NotePad": Bp2BuildDefaultTrue,
109 "development/samples/Obb": Bp2BuildDefaultTrue,
110 "development/samples/RSSReader": Bp2BuildDefaultTrue,
111 "development/samples/ReceiveShareDemo": Bp2BuildDefaultTrue,
112 "development/samples/SearchableDictionary": Bp2BuildDefaultTrue,
113 "development/samples/SipDemo": Bp2BuildDefaultTrue,
114 "development/samples/SkeletonApp": Bp2BuildDefaultTrue,
115 "development/samples/Snake": Bp2BuildDefaultTrue,
116 "development/samples/SpellChecker/": Bp2BuildDefaultTrueRecursively,
117 "development/samples/ThemedNavBarKeyboard": Bp2BuildDefaultTrue,
118 "development/samples/ToyVpn": Bp2BuildDefaultTrue,
119 "development/samples/TtsEngine": Bp2BuildDefaultTrue,
120 "development/samples/USB/AdbTest": Bp2BuildDefaultTrue,
121 "development/samples/USB/MissileLauncher": Bp2BuildDefaultTrue,
122 "development/samples/VoiceRecognitionService": Bp2BuildDefaultTrue,
123 "development/samples/VoicemailProviderDemo": Bp2BuildDefaultTrue,
124 "development/samples/WiFiDirectDemo": Bp2BuildDefaultTrue,
125 "development/sdk": Bp2BuildDefaultTrueRecursively,
126
127 "external/aac": Bp2BuildDefaultTrueRecursively,
Spandan Das390a6d62023-08-01 22:50:46 +0000128 "external/abseil-cpp": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400129 "external/arm-optimized-routines": Bp2BuildDefaultTrueRecursively,
Sasha Smundak8bea2672022-08-04 13:31:14 -0700130 "external/auto": Bp2BuildDefaultTrue,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000131 "external/auto/android-annotation-stubs": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400132 "external/auto/common": Bp2BuildDefaultTrueRecursively,
133 "external/auto/service": Bp2BuildDefaultTrueRecursively,
Liz Kammerb70eae02023-09-07 11:23:52 -0400134 "external/auto/value": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400135 "external/boringssl": Bp2BuildDefaultTrueRecursively,
136 "external/bouncycastle": Bp2BuildDefaultTrue,
137 "external/brotli": Bp2BuildDefaultTrue,
Wei Li7d8f6182022-10-11 14:38:16 -0700138 "external/bsdiff": Bp2BuildDefaultTrueRecursively,
139 "external/bzip2": Bp2BuildDefaultTrueRecursively,
Alixe2667872023-04-24 14:57:32 +0000140 "external/clang/lib": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400141 "external/conscrypt": Bp2BuildDefaultTrue,
142 "external/e2fsprogs": Bp2BuildDefaultTrueRecursively,
143 "external/eigen": Bp2BuildDefaultTrueRecursively,
144 "external/erofs-utils": Bp2BuildDefaultTrueRecursively,
145 "external/error_prone": Bp2BuildDefaultTrueRecursively,
Usta Shresthad66f2ce2023-03-15 15:01:59 -0400146 "external/escapevelocity": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400147 "external/expat": Bp2BuildDefaultTrueRecursively,
148 "external/f2fs-tools": Bp2BuildDefaultTrue,
149 "external/flac": Bp2BuildDefaultTrueRecursively,
Liz Kammere848bb22023-06-29 09:21:50 -0400150 "external/flatbuffers": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400151 "external/fmtlib": Bp2BuildDefaultTrueRecursively,
Cole Faust17cd19c2023-06-08 12:26:42 -0700152 "external/fsverity-utils": Bp2BuildDefaultTrueRecursively,
Spandan Das2a8f9002023-08-16 17:49:25 +0000153 "external/gflags": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400154 "external/google-benchmark": Bp2BuildDefaultTrueRecursively,
155 "external/googletest": Bp2BuildDefaultTrueRecursively,
Liz Kammere848bb22023-06-29 09:21:50 -0400156 "external/guava": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400157 "external/gwp_asan": Bp2BuildDefaultTrueRecursively,
158 "external/hamcrest": Bp2BuildDefaultTrueRecursively,
159 "external/icu": Bp2BuildDefaultTrueRecursively,
160 "external/icu/android_icu4j": Bp2BuildDefaultFalse, // java rules incomplete
161 "external/icu/icu4j": Bp2BuildDefaultFalse, // java rules incomplete
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400162 "external/jacoco": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400163 "external/jarjar": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400164 "external/javaparser": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400165 "external/javapoet": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000166 "external/javassist": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400167 "external/jemalloc_new": Bp2BuildDefaultTrueRecursively,
168 "external/jsoncpp": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux0bffcb82023-02-03 10:15:47 -0500169 "external/jsr305": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux47773342023-01-11 16:27:34 -0500170 "external/jsr330": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400171 "external/junit": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux47773342023-01-11 16:27:34 -0500172 "external/kotlinc": Bp2BuildDefaultTrueRecursively,
Vinh Tran1b6a4612022-09-30 16:36:59 -0400173 "external/libaom": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400174 "external/libavc": Bp2BuildDefaultTrueRecursively,
175 "external/libcap": Bp2BuildDefaultTrueRecursively,
176 "external/libcxx": Bp2BuildDefaultTrueRecursively,
177 "external/libcxxabi": Bp2BuildDefaultTrueRecursively,
Wei Li7d8f6182022-10-11 14:38:16 -0700178 "external/libdivsufsort": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000179 "external/libdrm": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400180 "external/libevent": Bp2BuildDefaultTrueRecursively,
181 "external/libgav1": Bp2BuildDefaultTrueRecursively,
182 "external/libhevc": Bp2BuildDefaultTrueRecursively,
183 "external/libjpeg-turbo": Bp2BuildDefaultTrueRecursively,
184 "external/libmpeg2": Bp2BuildDefaultTrueRecursively,
185 "external/libpng": Bp2BuildDefaultTrueRecursively,
Liz Kammer33dddf52023-09-07 14:54:41 -0400186 "external/libphonenumber": Bp2BuildDefaultTrueRecursively,
Cole Faustc843b992022-08-02 18:06:50 -0700187 "external/libvpx": Bp2BuildDefaultTrueRecursively,
Cole Faust92e92e42022-08-26 16:12:42 -0700188 "external/libyuv": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400189 "external/lz4/lib": Bp2BuildDefaultTrue,
Wei Li7d8f6182022-10-11 14:38:16 -0700190 "external/lz4/programs": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400191 "external/lzma/C": Bp2BuildDefaultTrueRecursively,
192 "external/mdnsresponder": Bp2BuildDefaultTrueRecursively,
193 "external/minijail": Bp2BuildDefaultTrueRecursively,
Colin Cross20c89f12022-12-05 16:47:44 -0800194 "external/musl": Bp2BuildDefaultTrueRecursively,
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000195 "external/objenesis": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000196 "external/openscreen": Bp2BuildDefaultTrueRecursively,
Spandan Das6960ac12022-11-22 04:45:05 +0000197 "external/ow2-asm": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400198 "external/pcre": Bp2BuildDefaultTrueRecursively,
199 "external/protobuf": Bp2BuildDefaultTrueRecursively,
Spandan Das390a6d62023-08-01 22:50:46 +0000200 "external/python/pyyaml/lib/yaml": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400201 "external/python/six": Bp2BuildDefaultTrueRecursively,
Spandan Das77ce1272023-08-02 04:52:25 +0000202 "external/python/jinja/src": Bp2BuildDefaultTrueRecursively,
203 "external/python/markupsafe/src": Bp2BuildDefaultTrueRecursively,
204 "external/python/setuptools": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400205 "external/rappor": Bp2BuildDefaultTrueRecursively,
206 "external/scudo": Bp2BuildDefaultTrueRecursively,
Cole Faust6cac8cb2023-06-15 15:01:30 -0700207 "external/selinux/checkpolicy": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400208 "external/selinux/libselinux": Bp2BuildDefaultTrueRecursively,
209 "external/selinux/libsepol": Bp2BuildDefaultTrueRecursively,
Cole Faustfe2ab362022-08-26 16:55:11 -0700210 "external/speex": Bp2BuildDefaultTrueRecursively,
Liz Kammerf0ab5462023-04-04 11:38:54 -0400211 "external/sqlite": Bp2BuildDefaultTrueRecursively,
Jingwen Chen263d4002023-03-29 07:15:10 +0000212 "external/tinyalsa": Bp2BuildDefaultTrueRecursively,
213 "external/tinyalsa_new": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400214 "external/toybox": Bp2BuildDefaultTrueRecursively,
215 "external/zlib": Bp2BuildDefaultTrueRecursively,
216 "external/zopfli": Bp2BuildDefaultTrueRecursively,
217 "external/zstd": Bp2BuildDefaultTrueRecursively,
218
Jingwen Chen1ec77852022-11-07 14:36:12 +0000219 "frameworks/av": Bp2BuildDefaultTrue,
Liz Kammerf0ab5462023-04-04 11:38:54 -0400220 "frameworks/av/media/audioaidlconversion": Bp2BuildDefaultTrueRecursively,
Vinh Tran1b6a4612022-09-30 16:36:59 -0400221 "frameworks/av/media/codec2/components/aom": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000222 "frameworks/av/media/codecs": Bp2BuildDefaultTrueRecursively,
Jingwen Chenb2f584b2022-08-17 10:31:21 +0000223 "frameworks/av/media/liberror": Bp2BuildDefaultTrueRecursively,
Liz Kammerf0ab5462023-04-04 11:38:54 -0400224 "frameworks/av/media/libmediahelper": Bp2BuildDefaultTrue,
Chris Parsons52b842a2022-12-19 11:45:23 -0500225 "frameworks/av/media/libshmem": Bp2BuildDefaultTrueRecursively,
Liz Kammere7a47122023-05-12 08:44:51 -0400226 "frameworks/av/media/module/codecs": Bp2BuildDefaultTrueRecursively,
227 "frameworks/av/media/module/foundation": Bp2BuildDefaultTrueRecursively,
Jingwen Chen8ebc6202022-09-14 11:48:21 +0000228 "frameworks/av/media/module/minijail": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000229 "frameworks/av/services/minijail": Bp2BuildDefaultTrueRecursively,
Liz Kammerb70eae02023-09-07 11:23:52 -0400230 "frameworks/base/apex/jobscheduler/service/jni": Bp2BuildDefaultTrueRecursively,
Vinh Tran92260512023-09-11 10:30:13 -0400231 "frameworks/base/core/java": Bp2BuildDefaultTrue,
Liz Kammer09d831e2022-09-16 09:02:26 -0400232 "frameworks/base/libs/androidfw": Bp2BuildDefaultTrue,
Vinh Tran320aecf2023-04-28 11:21:25 -0400233 "frameworks/base/libs/services": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400234 "frameworks/base/media/tests/MediaDump": Bp2BuildDefaultTrue,
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400235 "frameworks/base/proto": Bp2BuildDefaultTrue,
Liz Kammere7a47122023-05-12 08:44:51 -0400236 "frameworks/base/services/tests/servicestests/aidl": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400237 "frameworks/base/startop/apps/test": Bp2BuildDefaultTrue,
238 "frameworks/base/tests/appwidgets/AppWidgetHostTest": Bp2BuildDefaultTrueRecursively,
Yu Liua06f8692023-08-31 16:30:07 -0700239 "frameworks/base/tools/aapt": Bp2BuildDefaultTrue,
Liz Kammer09d831e2022-09-16 09:02:26 -0400240 "frameworks/base/tools/aapt2": Bp2BuildDefaultTrue,
Alix9d562792023-03-02 17:12:30 +0000241 "frameworks/base/tools/codegen": Bp2BuildDefaultTrueRecursively,
Liz Kammerb70eae02023-09-07 11:23:52 -0400242 "frameworks/base/tools/locked_region_code_injection": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000243 "frameworks/base/tools/streaming_proto": Bp2BuildDefaultTrueRecursively,
Vinh Tran9b09bc52023-02-21 09:56:25 -0500244 "frameworks/hardware/interfaces/stats/aidl": Bp2BuildDefaultTrue,
Liz Kammere7a47122023-05-12 08:44:51 -0400245 "frameworks/libs/modules-utils/build": Bp2BuildDefaultTrueRecursively,
Liz Kammerb70eae02023-09-07 11:23:52 -0400246 "frameworks/libs/modules-utils/java": Bp2BuildDefaultTrue,
Motomu Utsumi44591552023-08-22 12:03:16 +0900247 "frameworks/libs/net/common/native": Bp2BuildDefaultTrueRecursively, // TODO(b/296014682): Remove this path
Liz Kammere848bb22023-06-29 09:21:50 -0400248 "frameworks/native": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400249 "frameworks/native/libs/adbd_auth": Bp2BuildDefaultTrueRecursively,
250 "frameworks/native/libs/arect": Bp2BuildDefaultTrueRecursively,
Vinh Tran92260512023-09-11 10:30:13 -0400251 "frameworks/native/libs/binder": Bp2BuildDefaultTrue,
Vinh Tran220fb8b2022-10-04 12:04:17 -0400252 "frameworks/native/libs/gui": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400253 "frameworks/native/libs/math": Bp2BuildDefaultTrueRecursively,
254 "frameworks/native/libs/nativebase": Bp2BuildDefaultTrueRecursively,
Liz Kammerf0ab5462023-04-04 11:38:54 -0400255 "frameworks/native/libs/permission": Bp2BuildDefaultTrueRecursively,
Vinh Tran92260512023-09-11 10:30:13 -0400256 "frameworks/native/libs/ui": Bp2BuildDefaultTrue,
Vinh Tran220fb8b2022-10-04 12:04:17 -0400257 "frameworks/native/libs/vr": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400258 "frameworks/native/opengl/tests/gl2_cameraeye": Bp2BuildDefaultTrue,
259 "frameworks/native/opengl/tests/gl2_java": Bp2BuildDefaultTrue,
260 "frameworks/native/opengl/tests/testLatency": Bp2BuildDefaultTrue,
261 "frameworks/native/opengl/tests/testPauseResume": Bp2BuildDefaultTrue,
262 "frameworks/native/opengl/tests/testViewport": Bp2BuildDefaultTrue,
Jingwen Chena0519422022-09-28 08:01:57 +0000263 "frameworks/native/services/batteryservice": Bp2BuildDefaultTrue,
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxb12ff592022-09-01 15:04:04 +0000264 "frameworks/proto_logging/stats": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400265
Liz Kammere76510b2023-03-20 17:30:51 -0400266 "hardware/interfaces": Bp2BuildDefaultTrue,
267 "hardware/interfaces/audio/aidl": Bp2BuildDefaultTrue,
268 "hardware/interfaces/audio/aidl/common": Bp2BuildDefaultTrue,
Jingwen Chen263d4002023-03-29 07:15:10 +0000269 "hardware/interfaces/audio/aidl/default": Bp2BuildDefaultTrue,
270 "hardware/interfaces/audio/aidl/sounddose": Bp2BuildDefaultTrue,
Spandan Das8fe96ce2023-08-18 17:10:23 +0000271 "hardware/interfaces/camera/metadata/aidl": Bp2BuildDefaultTrueRecursively,
Liz Kammere76510b2023-03-20 17:30:51 -0400272 "hardware/interfaces/common/aidl": Bp2BuildDefaultTrue,
273 "hardware/interfaces/common/fmq/aidl": Bp2BuildDefaultTrue,
274 "hardware/interfaces/common/support": Bp2BuildDefaultTrue,
275 "hardware/interfaces/configstore/1.0": Bp2BuildDefaultTrue,
276 "hardware/interfaces/configstore/1.1": Bp2BuildDefaultTrue,
277 "hardware/interfaces/configstore/utils": Bp2BuildDefaultTrue,
278 "hardware/interfaces/graphics/allocator/2.0": Bp2BuildDefaultTrue,
279 "hardware/interfaces/graphics/allocator/3.0": Bp2BuildDefaultTrue,
280 "hardware/interfaces/graphics/allocator/4.0": Bp2BuildDefaultTrue,
281 "hardware/interfaces/graphics/allocator/aidl": Bp2BuildDefaultTrue,
282 "hardware/interfaces/graphics/bufferqueue/1.0": Bp2BuildDefaultTrue,
283 "hardware/interfaces/graphics/bufferqueue/2.0": Bp2BuildDefaultTrue,
284 "hardware/interfaces/graphics/common/1.0": Bp2BuildDefaultTrue,
285 "hardware/interfaces/graphics/common/1.1": Bp2BuildDefaultTrue,
286 "hardware/interfaces/graphics/common/1.2": Bp2BuildDefaultTrue,
287 "hardware/interfaces/graphics/common/aidl": Bp2BuildDefaultTrue,
288 "hardware/interfaces/graphics/mapper/2.0": Bp2BuildDefaultTrue,
289 "hardware/interfaces/graphics/mapper/2.1": Bp2BuildDefaultTrue,
290 "hardware/interfaces/graphics/mapper/3.0": Bp2BuildDefaultTrue,
291 "hardware/interfaces/graphics/mapper/4.0": Bp2BuildDefaultTrue,
292 "hardware/interfaces/health/1.0": Bp2BuildDefaultTrue,
293 "hardware/interfaces/health/1.0/default": Bp2BuildDefaultTrue,
294 "hardware/interfaces/health/2.0": Bp2BuildDefaultTrue,
295 "hardware/interfaces/health/2.0/default": Bp2BuildDefaultTrue,
296 "hardware/interfaces/health/2.0/utils": Bp2BuildDefaultTrueRecursively,
297 "hardware/interfaces/health/2.1": Bp2BuildDefaultTrue,
298 "hardware/interfaces/health/aidl": Bp2BuildDefaultTrue,
299 "hardware/interfaces/health/utils": Bp2BuildDefaultTrueRecursively,
Liz Kammer4fd2edb2023-09-08 08:56:46 -0400300 "hardware/interfaces/media": Bp2BuildDefaultTrueRecursively,
Liz Kammere76510b2023-03-20 17:30:51 -0400301 "hardware/interfaces/media/bufferpool/aidl/default/tests": Bp2BuildDefaultFalseRecursively,
Liz Kammer4fd2edb2023-09-08 08:56:46 -0400302 "hardware/interfaces/media/omx/1.0/vts": Bp2BuildDefaultFalseRecursively,
Liz Kammere76510b2023-03-20 17:30:51 -0400303 "hardware/interfaces/neuralnetworks": Bp2BuildDefaultTrueRecursively,
304 "hardware/interfaces/neuralnetworks/aidl/vts": Bp2BuildDefaultFalseRecursively,
305 "hardware/interfaces/neuralnetworks/1.0/vts": Bp2BuildDefaultFalseRecursively,
306 "hardware/interfaces/neuralnetworks/1.1/vts": Bp2BuildDefaultFalseRecursively,
307 "hardware/interfaces/neuralnetworks/1.2/vts": Bp2BuildDefaultFalseRecursively,
308 "hardware/interfaces/neuralnetworks/1.3/vts": Bp2BuildDefaultFalseRecursively,
309 "hardware/interfaces/neuralnetworks/1.4/vts": Bp2BuildDefaultFalseRecursively,
Liz Kammer1c921162022-08-17 16:58:32 -0400310
311 "libnativehelper": Bp2BuildDefaultTrueRecursively,
312
Alix79f853d2023-02-10 15:57:01 +0000313 "packages/apps/DevCamera": Bp2BuildDefaultTrue,
314 "packages/apps/HTMLViewer": Bp2BuildDefaultTrue,
315 "packages/apps/Protips": Bp2BuildDefaultTrue,
316 "packages/apps/SafetyRegulatoryInfo": Bp2BuildDefaultTrue,
317 "packages/apps/WallpaperPicker": Bp2BuildDefaultTrue,
318 "packages/modules/NeuralNetworks/driver/cache": Bp2BuildDefaultTrueRecursively,
319 "packages/modules/StatsD/lib/libstatssocket": Bp2BuildDefaultTrueRecursively,
320 "packages/modules/adb": Bp2BuildDefaultTrue,
321 "packages/modules/adb/apex": Bp2BuildDefaultTrue,
Liz Kammer01c09ca2023-08-09 15:47:54 -0400322 "packages/modules/adb/fastdeploy": Bp2BuildDefaultTrue,
Alix79f853d2023-02-10 15:57:01 +0000323 "packages/modules/adb/crypto": Bp2BuildDefaultTrueRecursively,
324 "packages/modules/adb/libs": Bp2BuildDefaultTrueRecursively,
325 "packages/modules/adb/pairing_auth": Bp2BuildDefaultTrueRecursively,
326 "packages/modules/adb/pairing_connection": Bp2BuildDefaultTrueRecursively,
327 "packages/modules/adb/proto": Bp2BuildDefaultTrueRecursively,
328 "packages/modules/adb/tls": Bp2BuildDefaultTrueRecursively,
Motomu Utsumi44591552023-08-22 12:03:16 +0900329 "packages/modules/Connectivity/staticlibs/native": Bp2BuildDefaultTrueRecursively,
Jingwen Chen263d4002023-03-29 07:15:10 +0000330 "packages/modules/Gki/libkver": Bp2BuildDefaultTrue,
Alix79f853d2023-02-10 15:57:01 +0000331 "packages/modules/NetworkStack/common/captiveportal": Bp2BuildDefaultTrue,
Yu Liue1ab66d2023-03-24 10:53:02 -0700332 "packages/modules/NeuralNetworks/apex": Bp2BuildDefaultTrue,
MarkDacekb9e11c52023-04-26 21:28:16 +0000333 "packages/modules/NeuralNetworks/apex/testing": Bp2BuildDefaultTrue,
Alix79f853d2023-02-10 15:57:01 +0000334 "packages/providers/MediaProvider/tools/dialogs": Bp2BuildDefaultFalse, // TODO(b/242834374)
335 "packages/screensavers/Basic": Bp2BuildDefaultTrue,
336 "packages/services/Car/tests/SampleRearViewCamera": Bp2BuildDefaultFalse, // TODO(b/242834321)
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400337
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +0000338 "platform_testing/tests/example": Bp2BuildDefaultTrueRecursively,
339
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400340 "prebuilts/clang/host/linux-x86": Bp2BuildDefaultTrueRecursively,
341 "prebuilts/gradle-plugin": Bp2BuildDefaultTrueRecursively,
342 "prebuilts/runtime/mainline/platform/sdk": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux8242b432023-05-04 10:16:26 -0400343 "prebuilts/sdk": Bp2BuildDefaultTrue,
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400344 "prebuilts/sdk/current/androidx": Bp2BuildDefaultTrue,
345 "prebuilts/sdk/current/androidx-legacy": Bp2BuildDefaultTrue,
346 "prebuilts/sdk/current/extras/constraint-layout-x": Bp2BuildDefaultTrue,
347 "prebuilts/sdk/current/extras/material-design-x": Bp2BuildDefaultTrue,
348 "prebuilts/sdk/current/extras/app-toolkit": Bp2BuildDefaultTrue,
349 "prebuilts/sdk/current/support": Bp2BuildDefaultTrue,
350 "prebuilts/tools": Bp2BuildDefaultTrue,
351 "prebuilts/tools/common/m2": Bp2BuildDefaultTrue,
Romain Jobredeaux890d6ea2023-08-23 10:53:07 -0400352 "prebuilts/r8": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400353
Alixb4e09a02022-09-27 15:36:01 +0000354 "sdk/dumpeventlog": Bp2BuildDefaultTrue,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000355 "sdk/eventanalyzer": Bp2BuildDefaultTrue,
Alixb4e09a02022-09-27 15:36:01 +0000356
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000357 "system/apex": Bp2BuildDefaultFalse, // TODO(b/207466993): flaky failures
358 "system/apex/apexer": Bp2BuildDefaultTrue,
359 "system/apex/libs": Bp2BuildDefaultTrueRecursively,
Jingwen Chena1a17752023-06-15 11:06:34 +0000360 "system/apex/libs/libapexsupport": Bp2BuildDefaultFalseRecursively, // TODO(b/267572288): depends on rust
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000361 "system/apex/proto": Bp2BuildDefaultTrueRecursively,
362 "system/apex/tools": Bp2BuildDefaultTrueRecursively,
363 "system/core/debuggerd": Bp2BuildDefaultTrueRecursively,
364 "system/core/diagnose_usb": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000365 "system/core/healthd": Bp2BuildDefaultTrue,
366 "system/core/healthd/testdata": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000367 "system/core/libasyncio": Bp2BuildDefaultTrue,
368 "system/core/libcrypto_utils": Bp2BuildDefaultTrueRecursively,
369 "system/core/libcutils": Bp2BuildDefaultTrueRecursively,
370 "system/core/libpackagelistparser": Bp2BuildDefaultTrueRecursively,
371 "system/core/libprocessgroup": Bp2BuildDefaultTrue,
372 "system/core/libprocessgroup/cgrouprc": Bp2BuildDefaultTrue,
373 "system/core/libprocessgroup/cgrouprc_format": Bp2BuildDefaultTrue,
Cole Faust17cd19c2023-06-08 12:26:42 -0700374 "system/core/libsparse": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000375 "system/core/libsuspend": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000376 "system/core/libsystem": Bp2BuildDefaultTrueRecursively,
Jingwen Chenf0616002022-09-01 14:28:55 +0000377 "system/core/libsysutils": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000378 "system/core/libutils": Bp2BuildDefaultTrueRecursively,
379 "system/core/libvndksupport": Bp2BuildDefaultTrueRecursively,
Wei Li7d8f6182022-10-11 14:38:16 -0700380 "system/core/mkbootfs": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000381 "system/core/property_service/libpropertyinfoparser": Bp2BuildDefaultTrueRecursively,
382 "system/core/property_service/libpropertyinfoserializer": Bp2BuildDefaultTrueRecursively,
Vinh Tran92260512023-09-11 10:30:13 -0400383 "system/core/trusty/libtrusty": Bp2BuildDefaultTrue,
Cole Faust17cd19c2023-06-08 12:26:42 -0700384 "system/extras/f2fs_utils": Bp2BuildDefaultTrueRecursively,
Yu Liuf27bb3b2022-10-03 14:15:01 -0700385 "system/extras/toolchain-extras": Bp2BuildDefaultTrue,
Cole Faust17cd19c2023-06-08 12:26:42 -0700386 "system/extras/verity": Bp2BuildDefaultTrueRecursively,
Chris Parsons52b842a2022-12-19 11:45:23 -0500387 "system/hardware/interfaces/media": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400388 "system/incremental_delivery/incfs": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000389 "system/libartpalette": Bp2BuildDefaultTrueRecursively,
390 "system/libbase": Bp2BuildDefaultTrueRecursively,
391 "system/libfmq": Bp2BuildDefaultTrue,
Vinh Tran92260512023-09-11 10:30:13 -0400392 "system/libhidl": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400393 "system/libhidl/libhidlmemory": Bp2BuildDefaultTrue,
394 "system/libhidl/transport": Bp2BuildDefaultTrue,
395 "system/libhidl/transport/allocator/1.0": Bp2BuildDefaultTrue,
Yu Liudf4413a2022-07-23 21:24:30 -0700396 "system/libhidl/transport/base/1.0": Bp2BuildDefaultTrue,
397 "system/libhidl/transport/manager/1.0": Bp2BuildDefaultTrue,
398 "system/libhidl/transport/manager/1.1": Bp2BuildDefaultTrue,
399 "system/libhidl/transport/manager/1.2": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400400 "system/libhidl/transport/memory/1.0": Bp2BuildDefaultTrue,
401 "system/libhidl/transport/memory/token/1.0": Bp2BuildDefaultTrue,
402 "system/libhidl/transport/safe_union/1.0": Bp2BuildDefaultTrue,
403 "system/libhidl/transport/token/1.0": Bp2BuildDefaultTrue,
404 "system/libhidl/transport/token/1.0/utils": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000405 "system/libhwbinder": Bp2BuildDefaultTrueRecursively,
406 "system/libprocinfo": Bp2BuildDefaultTrue,
Jingwen Chen263d4002023-03-29 07:15:10 +0000407 "system/libvintf": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000408 "system/libziparchive": Bp2BuildDefaultTrueRecursively,
Jingwen Chenf0616002022-09-01 14:28:55 +0000409 "system/logging": Bp2BuildDefaultTrueRecursively,
Sasha Smundak8bea2672022-08-04 13:31:14 -0700410 "system/media": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000411 "system/media/audio": Bp2BuildDefaultTrueRecursively,
Jingwen Chen263d4002023-03-29 07:15:10 +0000412 "system/media/alsa_utils": Bp2BuildDefaultTrueRecursively,
Cole Faustfe2ab362022-08-26 16:55:11 -0700413 "system/media/audio_utils": Bp2BuildDefaultTrueRecursively,
Spandan Das8fe96ce2023-08-18 17:10:23 +0000414 "system/media/camera": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000415 "system/memory/libion": Bp2BuildDefaultTrueRecursively,
416 "system/memory/libmemunreachable": Bp2BuildDefaultTrueRecursively,
417 "system/sepolicy/apex": Bp2BuildDefaultTrueRecursively,
Cole Faust17cd19c2023-06-08 12:26:42 -0700418 "system/security/fsverity": Bp2BuildDefaultTrueRecursively,
Jingwen Chen537242c2022-08-24 11:53:27 +0000419 "system/testing/gtest_extras": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000420 "system/timezone/apex": Bp2BuildDefaultTrueRecursively,
421 "system/timezone/output_data": Bp2BuildDefaultTrueRecursively,
Jingwen Chen61342112023-04-11 08:49:01 +0000422 "system/timezone/testdata": Bp2BuildDefaultTrueRecursively,
423 "system/timezone/testing": Bp2BuildDefaultTrueRecursively,
Sam Delmerico8dfa46a2022-08-30 15:09:36 -0400424 "system/tools/aidl/build/tests_bp2build": Bp2BuildDefaultTrue,
Jingwen Chen263d4002023-03-29 07:15:10 +0000425 "system/tools/aidl/metadata": Bp2BuildDefaultTrue,
426 "system/tools/hidl/metadata": Bp2BuildDefaultTrue,
Liz Kammer4fd2edb2023-09-08 08:56:46 -0400427 "system/tools/hidl/utils": Bp2BuildDefaultTrue,
Wei Li7d8f6182022-10-11 14:38:16 -0700428 "system/tools/mkbootimg": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400429 "system/tools/sysprop": Bp2BuildDefaultTrue,
Jingwen Chen263d4002023-03-29 07:15:10 +0000430 "system/tools/xsdc/utils": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000431 "system/unwinding/libunwindstack": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400432
Liz Kammerb70eae02023-09-07 11:23:52 -0400433 "tools/apifinder": Bp2BuildDefaultTrue,
434 "tools/apksig": Bp2BuildDefaultTrue,
Spandan Das1262f352023-09-19 17:48:00 +0000435 "tools/dexter/slicer": Bp2BuildDefaultTrueRecursively,
Liz Kammerb70eae02023-09-07 11:23:52 -0400436 "tools/external_updater": Bp2BuildDefaultTrueRecursively,
437 "tools/metalava": Bp2BuildDefaultTrueRecursively,
438 "tools/platform-compat/java/android/compat": Bp2BuildDefaultTrueRecursively,
439 "tools/platform-compat/java/androidprocessor": Bp2BuildDefaultTrueRecursively,
440 "tools/tradefederation/prebuilts/filegroups": Bp2BuildDefaultTrueRecursively,
Sam Delmerico24c56032022-03-28 19:53:03 +0000441 }
442
443 Bp2buildKeepExistingBuildFile = map[string]bool{
444 // This is actually build/bazel/build.BAZEL symlinked to ./BUILD
445 ".":/*recursive = */ false,
446
Cole Faust324a92e2022-08-23 15:29:05 -0700447 "build/bazel":/* recursive = */ true,
Kevin Dagostino92f33d92022-11-02 20:29:07 +0000448 "build/make/core":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000449 "build/bazel_common_rules":/* recursive = */ true,
Cole Faust10b94de2023-03-31 17:38:33 -0700450 "build/make/target/product/security":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000451 // build/make/tools/signapk BUILD file is generated, so build/make/tools is not recursive.
452 "build/make/tools":/* recursive = */ false,
453 "build/pesto":/* recursive = */ true,
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000454 "build/soong":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000455
456 // external/bazelbuild-rules_android/... is needed by mixed builds, otherwise mixed builds analysis fails
457 // e.g. ERROR: Analysis of target '@soong_injection//mixed_builds:buildroot' failed
458 "external/bazelbuild-rules_android":/* recursive = */ true,
Vinh Tran79587fa2023-08-18 13:50:00 -0400459 "external/bazelbuild-rules_cc":/* recursive = */ true,
Romain Jobredeaux01e6b2c2023-07-19 15:27:13 -0400460 "external/bazelbuild-rules_java":/* recursive = */ true,
Sasha Smundak9d2f1742022-08-04 13:28:38 -0700461 "external/bazelbuild-rules_license":/* recursive = */ true,
Spandan Das4a5bc5c2023-06-26 03:44:04 +0000462 "external/bazelbuild-rules_go":/* recursive = */ true,
Vinh Tranf5e59812023-08-03 19:47:30 +0000463 "external/bazelbuild-rules_python":/* recursive = */ true,
Vinh Tranfe1ecfc2023-06-27 22:20:15 -0400464 "external/bazelbuild-rules_rust":/* recursive = */ true,
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400465 "external/bazelbuild-kotlin-rules":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000466 "external/bazel-skylib":/* recursive = */ true,
Cole Faustea602c52022-08-31 14:48:26 -0700467 "external/protobuf":/* recursive = */ false,
Cole Faustde12be32022-11-19 15:14:48 -0800468 "external/python/absl-py":/* recursive = */ true,
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000469
Trevor Radcliffe391a25d2023-03-22 20:22:27 +0000470 "external/compiler-rt/lib/cfi":/* recursive = */ false,
471
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000472 // this BUILD file is globbed by //external/icu/icu4c/source:icu4c_test_data's "data/**/*".
473 "external/icu/icu4c/source/data/unidata/norm2":/* recursive = */ false,
474
Romain Jobredeaux0bffcb82023-02-03 10:15:47 -0500475 // Building manually due to b/179889880: resource files cross package boundary
Sam Delmerico24c56032022-03-28 19:53:03 +0000476 "packages/apps/Music":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000477
Yu Liu56ccb1a2022-11-12 10:47:07 -0800478 "prebuilts/abi-dumps/platform":/* recursive = */ true,
479 "prebuilts/abi-dumps/ndk":/* recursive = */ true,
Romain Jobredeaux29197972022-05-30 22:02:31 -0400480 "prebuilts/bazel":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000481 "prebuilts/bundletool":/* recursive = */ true,
Cole Faustea602c52022-08-31 14:48:26 -0700482 "prebuilts/clang/host/linux-x86":/* recursive = */ false,
Yu Liu56ccb1a2022-11-12 10:47:07 -0800483 "prebuilts/clang-tools":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000484 "prebuilts/gcc":/* recursive = */ true,
Jingwen Chen23ca2d22022-05-19 09:53:56 +0000485 "prebuilts/build-tools":/* recursive = */ true,
Romain Jobredeauxd4e1a152023-03-17 11:02:01 -0400486 "prebuilts/jdk/jdk17":/* recursive = */ true,
Cole Faust7071a052022-07-29 15:58:33 -0700487 "prebuilts/misc":/* recursive = */ false, // not recursive because we need bp2build converted build files in prebuilts/misc/common/asm
Sam Delmerico24c56032022-03-28 19:53:03 +0000488 "prebuilts/sdk":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000489 "prebuilts/sdk/tools":/* recursive = */ false,
490 "prebuilts/r8":/* recursive = */ false,
Kevin Dagostino3e2da942022-11-20 07:16:47 +0000491 "prebuilts/runtime":/* recursive = */ false,
Vinh Tranfe1ecfc2023-06-27 22:20:15 -0400492 "prebuilts/rust":/* recursive = */ true,
Kevin Dagostino92f33d92022-11-02 20:29:07 +0000493
Kevin Dagostino3e2da942022-11-20 07:16:47 +0000494 // not recursive due to conflicting workspace paths in tools/atest/bazel/rules
495 "tools/asuite/atest":/* recursive = */ false,
496 "tools/asuite/atest/bazel/reporter":/* recursive = */ true,
Yu Liu828c4062023-01-23 20:56:46 +0000497
498 // TODO(b/266459895): remove this and the placeholder BUILD file after re-enabling libunwindstack
499 "external/rust/crates/rustc-demangle-capi":/* recursive = */ false,
Chris Parsons8152a942023-06-06 16:17:50 +0000500
501 // Used for testing purposes only. Should not actually exist in the real source tree.
502 "testpkg/keep_build_file":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000503 }
504
505 Bp2buildModuleAlwaysConvertList = []string{
Vinh Tran3570ce32023-08-24 11:10:01 -0400506 // aconfig
507 "libonce_cell",
508 "libanyhow",
509 "libunicode_segmentation",
510 "libmemchr",
511 "libbitflags-1.3.2",
512 "libryu",
513 "libitoa",
514 "libos_str_bytes",
515 "libheck",
Vinh Tranc1a6cee2023-08-24 12:10:49 -0400516 "libclap_lex",
517 "libsyn",
518 "libquote",
519 "libunicode_ident",
520 "libproc_macro2",
521 "libthiserror_impl",
522 "libserde_derive",
523 "libclap_derive",
524 "libthiserror",
525 "libserde",
526 "libclap",
527 "libbytes",
528 "libprotobuf_support",
529 "libtinytemplate",
530 "libserde_json",
Vinh Tran9b846782023-08-24 12:55:12 -0400531 "libprotobuf",
Vinh Tran3570ce32023-08-24 11:10:01 -0400532
Vinh Tran85b177d2023-08-24 12:10:49 -0400533 "protoc-gen-rust",
534 "libprotobuf_codegen",
535 "libprotobuf_parse",
536 "libregex",
537 "libtempfile",
538 "libwhich",
539 "libregex_syntax",
540 "libfastrand",
541 "libeither",
542 "libaho_corasick",
543 "liblibc",
544 "libcfg_if",
545 "liblog_rust",
546 "libgetrandom",
547 "libremove_dir_all",
548 "libahash",
549 "libhashbrown",
550 "libindexmap",
551 "libaconfig_protos",
552 "libpaste",
553 "aconfig",
554
Liz Kammer877b8462023-08-04 16:38:22 -0400555 // ext
556 "tagsoup",
557
558 // framework-res
559 "remote-color-resources-compile-public",
560 "remote-color-resources-compile-colors",
561
562 // framework-minus-apex
Liz Kammerb70eae02023-09-07 11:23:52 -0400563 "ImmutabilityAnnotationProcessor",
Liz Kammer877b8462023-08-04 16:38:22 -0400564 "android.mime.types.minimized",
565 "debian.mime.types.minimized",
566 "framework-javastream-protos",
567 "libview-inspector-annotation-processor",
568
569 // services
570 "apache-commons-math",
571 "cbor-java",
572 "icu4j_calendar_astronomer",
Liz Kammer877b8462023-08-04 16:38:22 -0400573 "remote-color-resources-compile-public",
574 "statslog-art-java-gen",
Liz Kammer877b8462023-08-04 16:38:22 -0400575
576 "AndroidCommonLint",
577 "ImmutabilityAnnotation",
578 "ImmutabilityAnnotationProcessorHostLibrary",
579
Liz Kammer09d831e2022-09-16 09:02:26 -0400580 "libidmap2_policies",
581 "libSurfaceFlingerProp",
Liz Kammere848bb22023-06-29 09:21:50 -0400582 "toolbox_input_labels",
583
Liz Kammerbe1315e2022-05-10 09:15:31 -0400584 // cc mainline modules
Liz Kammera7bea312023-05-04 09:51:56 -0400585
586 // com.android.media.swcodec
Vinh Tran2dbc7452022-09-29 10:49:07 -0400587 "com.android.media.swcodec",
Liz Kammer5068eae2022-05-11 17:24:29 -0400588 "com.android.media.swcodec-androidManifest",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400589 "com.android.media.swcodec-ld.config.txt",
Vinh Tran2dbc7452022-09-29 10:49:07 -0400590 "com.android.media.swcodec-mediaswcodec.32rc",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400591 "com.android.media.swcodec-mediaswcodec.rc",
Liz Kammer5068eae2022-05-11 17:24:29 -0400592 "com.android.media.swcodec.certificate",
593 "com.android.media.swcodec.key",
Liz Kammera7bea312023-05-04 09:51:56 -0400594 "test_com.android.media.swcodec",
595
596 // deps
597 "code_coverage.policy",
598 "code_coverage.policy.other",
599 "codec2_soft_exports",
Spandan Das8d6bf5e2023-05-19 00:18:49 +0000600 "compatibility_matrix_schema",
Vinh Tran3cb9ade2022-10-20 12:17:42 -0400601 "framework-connectivity-protos",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400602 "gemmlowp_headers",
603 "gl_headers",
Liz Kammer63367e12022-06-13 19:35:12 +0000604 "libandroid_runtime_lazy",
Liz Kammer5068eae2022-05-11 17:24:29 -0400605 "libandroid_runtime_vm_headers",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400606 "libaudioclient_aidl_conversion_util",
Liz Kammer5068eae2022-05-11 17:24:29 -0400607 "libbinder_headers_platform_shared",
Vinh Tran99fd6502022-09-09 18:36:24 -0400608 "libbinderthreadstateutils",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400609 "libbluetooth-types-header",
Liz Kammer63367e12022-06-13 19:35:12 +0000610 "libcodec2",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400611 "libcodec2_headers",
612 "libcodec2_internal",
613 "libdmabufheap",
Liz Kammer5068eae2022-05-11 17:24:29 -0400614 "libgsm",
Vinh Tran99fd6502022-09-09 18:36:24 -0400615 "libgrallocusage",
616 "libgralloctypes",
617 "libnativewindow",
Vinh Tranfd446d62022-09-21 17:30:20 -0400618 "libneuralnetworks",
Sam Delmerico646dcfa2023-04-07 14:38:32 -0400619 "libneuralnetworks_static",
Vinh Tran99fd6502022-09-09 18:36:24 -0400620 "libgraphicsenv",
Liz Kammer63367e12022-06-13 19:35:12 +0000621 "libhardware",
Liz Kammer5068eae2022-05-11 17:24:29 -0400622 "libhardware_headers",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400623 "libnativeloader-headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400624 "libnativewindow_headers",
625 "libneuralnetworks_headers",
Vinh Tran583a07d2022-09-20 17:25:34 -0400626 "libneuralnetworks_packageinfo",
Liz Kammer5068eae2022-05-11 17:24:29 -0400627 "libopus",
628 "libprocpartition",
Liz Kammer63367e12022-06-13 19:35:12 +0000629 "libruy_static",
Cole Faust6b29f592022-08-09 09:50:56 -0700630 "libandroidio",
631 "libandroidio_srcs",
Liz Kammer5068eae2022-05-11 17:24:29 -0400632 "libserviceutils",
Liz Kammer63367e12022-06-13 19:35:12 +0000633 "libsurfaceflinger_headers",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400634 "libsync",
Liz Kammer5068eae2022-05-11 17:24:29 -0400635 "libtextclassifier_hash_headers",
636 "libtextclassifier_hash_static",
Liz Kammer63367e12022-06-13 19:35:12 +0000637 "libtflite_kernel_utils",
638 "libtinyxml2",
Liz Kammer5068eae2022-05-11 17:24:29 -0400639 "libvorbisidec",
640 "media_ndk_headers",
Liz Kammer63367e12022-06-13 19:35:12 +0000641 "media_plugin_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400642 "mediaswcodec.policy",
643 "mediaswcodec.xml",
Vinh Tran99fd6502022-09-09 18:36:24 -0400644 "neuralnetworks_types",
Vinh Tran99fd6502022-09-09 18:36:24 -0400645 "libneuralnetworks_common",
Liz Kammer63367e12022-06-13 19:35:12 +0000646 "philox_random",
Liz Kammer5068eae2022-05-11 17:24:29 -0400647 "philox_random_headers",
648 "server_configurable_flags",
Vinh Tran3cb9ade2022-10-20 12:17:42 -0400649 "service-permission-streaming-proto-sources",
Vinh Tranf19b6582022-09-21 17:01:49 -0400650 "statslog_neuralnetworks.cpp",
651 "statslog_neuralnetworks.h",
Liz Kammer5068eae2022-05-11 17:24:29 -0400652 "tensorflow_headers",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400653
Vinh Tran99fd6502022-09-09 18:36:24 -0400654 "libstagefright_bufferpool@2.0",
655 "libstagefright_bufferpool@2.0.1",
Vinh Tranc169c542022-09-13 13:13:06 -0400656 "libSurfaceFlingerProp",
Vinh Tran99fd6502022-09-09 18:36:24 -0400657
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxb12ff592022-09-01 15:04:04 +0000658 // prebuilts
659 "prebuilt_stats-log-api-gen",
660
Jingwen Chen9009dc22022-08-04 15:26:46 +0000661 // fastboot
Jingwen Chen9009dc22022-08-04 15:26:46 +0000662 "fastboot",
663 "libfastboot",
664 "liblp",
665 "libstorage_literals_headers",
666
Liz Kammerf0ab5462023-04-04 11:38:54 -0400667 "PluginCoreLib",
668 "dagger2",
669 "dagger2-android-annotation-stubs",
670 "dagger2-bootstrap-compiler",
671 "dagger2-producers",
672 "okio-lib",
673 "setupdesign-strings",
674
Sam Delmerico24c56032022-03-28 19:53:03 +0000675 //external/avb
676 "avbtool",
677 "libavb",
678 "avb_headers",
679
Alix5918d642022-06-27 20:57:44 +0000680 //external/libxml2
681 "xmllint",
682 "libxml2",
683
Sam Delmerico24c56032022-03-28 19:53:03 +0000684 //external/fec
685 "libfec_rs",
686
Sam Delmerico24c56032022-03-28 19:53:03 +0000687 //system/extras/ext4_utils
688 "libext4_utils",
Cole Faust01243362022-06-02 12:11:12 -0700689 "mke2fs_conf",
Cole Faust17cd19c2023-06-08 12:26:42 -0700690 "mkuserimg_mke2fs",
691 "blk_alloc_to_base_fs",
Sam Delmerico24c56032022-03-28 19:53:03 +0000692
693 //system/extras/libfec
694 "libfec",
695
696 //system/extras/squashfs_utils
697 "libsquashfs_utils",
698
Sam Delmerico24c56032022-03-28 19:53:03 +0000699 //packages/apps/Car/libs/car-ui-lib/car-ui-androidx
700 // genrule dependencies for java_imports
701 "car-ui-androidx-annotation-nodeps",
702 "car-ui-androidx-collection-nodeps",
703 "car-ui-androidx-core-common-nodeps",
704 "car-ui-androidx-lifecycle-common-nodeps",
705 "car-ui-androidx-constraintlayout-solver-nodeps",
Yu Liudf4413a2022-07-23 21:24:30 -0700706
Vinh Tran444154d2022-08-16 13:10:31 -0400707 //frameworks/native/libs/input
708 "inputconstants_aidl",
Vinh Tranc3873e82022-08-23 20:33:25 -0400709
710 // needed for aidl_interface's ndk backend
711 "libbinder_ndk",
Jingwen Chen537242c2022-08-24 11:53:27 +0000712
713 "libusb",
Jingwen Chenf0616002022-09-01 14:28:55 +0000714
Jingwen Chen2247aca2022-09-09 10:47:43 +0000715 //frameworks/native/cmds/cmd
716 "libcmd",
Jingwen Chenadc07fa2022-09-21 13:13:48 +0000717
Jihoon Kang37d6d452023-08-18 18:07:38 +0000718 //system/chre
719 "chre_api",
720
Jingwen Chenadc07fa2022-09-21 13:13:48 +0000721 //system/core/fs_mgr/libdm
722 "libdm",
723
724 //system/core/fs_mgr/libfiemap
725 "libfiemap_headers",
726 "libfiemap_passthrough_srcs",
727 "libfiemap_srcs",
728
729 //system/gsid
730 "libgsi",
731 "libgsi_headers",
732
733 //system/core/libkeyutils
734 "libkeyutils",
735
Jingwen Chenadc07fa2022-09-21 13:13:48 +0000736 //bootable/recovery/otautil
737 "libotautil",
738
739 //system/vold
740 "libvold_headers",
741
742 //system/extras/libfscrypt
743 "libfscrypt",
744
745 //system/core/fs_mgr
746 "libfstab",
747
748 //bootable/recovery/fuse_sideload
749 "libfusesideload",
750
751 //system/core/fs_mgr/libfs_avb
752 "libfs_avb",
753
754 //system/core/fs_mgr
755 "libfs_mgr",
Yu Liubf7c03e2022-09-22 12:12:26 -0700756
757 "libcodec2_hidl@1.0",
758 "libcodec2_hidl@1.1",
759 "libcodec2_hidl@1.2",
760 "libcodec2_hidl_plugin_stub",
761 "libcodec2_hidl_plugin",
Yu Liu41a58a92023-07-24 23:31:48 +0000762 "libcodec2_hal_common",
Yu Liubf7c03e2022-09-22 12:12:26 -0700763 "libstagefright_bufferqueue_helper_novndk",
Yu Liubf7c03e2022-09-22 12:12:26 -0700764 "libGLESv2",
765 "libEGL",
766 "libcodec2_vndk",
767 "libnativeloader_lazy",
768 "libnativeloader",
769 "libEGL_getProcAddress",
770 "libEGL_blobCache",
Vinh Tran32a98a52022-09-23 13:08:34 -0400771
Yu Liu8c981532022-09-27 12:47:26 -0700772 "mediaswcodec",
773 "libmedia_headers",
774 "libmedia_codecserviceregistrant",
775 "libsfplugin_ccodec_utils",
776 "libcodec2_soft_aacenc",
777 "libcodec2_soft_amrnbdec",
778 "libcodec2_soft_amrnbenc",
779 "libcodec2_soft_amrwbdec",
780 "libcodec2_soft_amrwbenc",
781 "libcodec2_soft_hevcdec",
782 "libcodec2_soft_hevcenc",
783 "libcodec2_soft_g711alawdec",
784 "libcodec2_soft_g711mlawdec",
785 "libcodec2_soft_mpeg2dec",
786 "libcodec2_soft_h263dec",
787 "libcodec2_soft_h263enc",
788 "libcodec2_soft_mpeg4dec",
789 "libcodec2_soft_mpeg4enc",
790 "libcodec2_soft_mp3dec",
791 "libcodec2_soft_vorbisdec",
792 "libcodec2_soft_opusdec",
793 "libcodec2_soft_opusenc",
794 "libcodec2_soft_vp8dec",
795 "libcodec2_soft_vp9dec",
796 "libcodec2_soft_av1dec_gav1",
797 "libcodec2_soft_vp8enc",
798 "libcodec2_soft_vp9enc",
799 "libcodec2_soft_rawdec",
800 "libcodec2_soft_flacdec",
801 "libcodec2_soft_flacenc",
802 "libcodec2_soft_gsmdec",
803 "libcodec2_soft_avcdec",
804 "libcodec2_soft_avcenc",
805 "libcodec2_soft_aacdec",
806 "libcodec2_soft_common",
Alix8062f4d2022-11-14 21:38:07 +0000807
808 // kotlin srcs in java libs
Alix8062f4d2022-11-14 21:38:07 +0000809 "kotlinx_atomicfu",
Alix7c8eaeb2022-11-16 15:44:55 +0000810
811 // kotlin srcs in java binary
812 "AnalyzerKt",
813 "trebuchet-core",
Alix36795a72023-01-20 16:10:52 +0000814
815 // kotlin srcs in android_library
816 "renderscript_toolkit",
Romain Jobredeaux0bffcb82023-02-03 10:15:47 -0500817
818 //kotlin srcs in android_binary
819 "MusicKotlin",
Zi Wang75a38e72023-02-15 22:52:47 -0800820
Romain Jobredeaux2eef2e12023-02-24 12:07:08 -0500821 // java_library with prebuilt sdk_version
822 "android-common",
823
Zi Wang75a38e72023-02-15 22:52:47 -0800824 // checked in current.txt for merged_txts
825 "non-updatable-current.txt",
826 "non-updatable-system-current.txt",
827 "non-updatable-module-lib-current.txt",
828 "non-updatable-system-server-current.txt",
Zi Wangb31a8332023-03-06 15:21:35 -0800829
830 // for api_fingerprint.txt generation
831 "api_fingerprint",
Alixf848bf82023-03-06 19:43:55 +0000832
833 // allowlisting for kotlinx_coroutines
Liz Kammerf0ab5462023-04-04 11:38:54 -0400834 "annotations",
835 "kotlinx-coroutines-android-annotation-stubs",
836 "kotlinx-coroutines-core",
Alixf848bf82023-03-06 19:43:55 +0000837 "kotlinx_coroutines",
Romain Jobredeauxe7370ea2023-04-04 10:30:14 -0400838 "kotlinx_coroutines-device",
839 "kotlinx_coroutines-host",
Sam Delmerico9d71a842023-03-16 16:24:54 -0400840
841 // for building com.android.neuralnetworks
842 "libimapper_stablec",
843 "libimapper_providerutils",
Alixe5085eb2023-01-31 19:38:41 +0000844
845 // min_sdk_version in android_app
846 "CtsShimUpgrade",
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400847
Liz Kammerf0ab5462023-04-04 11:38:54 -0400848 "art_cmdlineparser_headers",
849
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400850 // Mainline Module Apps
851 "CaptivePortalLogin",
Romain Jobredeaux039fc062023-07-17 12:06:31 -0400852 "ModuleMetadata",
Sam Delmericobefbf052023-04-28 11:23:58 -0400853
854 "libstagefright_headers",
Spandan Dasebbea2a2023-05-10 02:05:43 +0000855
856 // aidl
857 "aidl",
858 "libaidl-common",
Alixb29a3cd2023-05-09 20:37:49 +0000859
Spandan Dasab5f1c52023-05-19 00:18:49 +0000860 // Used by xsd_config
861 "xsdc",
Yu Liu2c0b8902023-06-05 11:13:00 -0700862
863 // cc_test that can be run by b test
864 "binderRpcWireProtocolTest",
865 "binderUnitTest",
866 "cpu_features-bit_utils_test",
867 "liblp_test",
868 "android.hardware.audio.common.test.utility_tests",
869 "HalAudioStreamWorkerTest",
870 "libjavacore-unit-tests",
871 "NeuralNetworksTest_utils",
872 "NeuralNetworksTest_logtag",
873 "NeuralNetworksTest_operations",
874 "nanoapp_chqts_shared_tests",
875 "fakeservicemanager_test",
876 "tristate_test",
877 "binderUtilsHostTest",
878 "run_dex2oat_test",
879 "bluetooth-address-unit-tests",
Jihoon Kangc44be962023-06-06 16:35:29 +0000880
881 // for platform_compat_config
882 "process-compat-config",
Alixe2667872023-04-24 14:57:32 +0000883
884 // cc_* modules with rscript srcs
885 "rstest-latency",
886 "libRScpp_static",
887 "rs-headers",
888 "rs_script_api",
889 "libRSDispatch",
Spandan Das0766b4f2023-07-21 17:25:31 +0000890
891 // hal_unit_tests and deps
892 "android.hardware.contexthub_interface", // created implicitly by android.hardware.contexthub
893 "chre_flatbuffers",
894 "event_logger",
895 "hal_unit_tests",
yike1aaeea32023-07-26 22:19:09 +0000896
897 "merge_annotation_zips_test",
Alix289e9c62023-08-16 15:06:31 +0000898
899 // java_resources with multiple resource_dirs
900 "emma",
Spandan Das3d6ac192023-09-12 21:17:14 +0000901
902 // NDK STL
903 "ndk_libc++abi",
904 "ndk_libunwind",
905 "ndk_libc++_static",
906 "ndk_libc++_shared",
907 "ndk_system",
Jingwen Chene12c0832023-08-25 09:00:16 +0000908
909 // allowlist //prebuilts/common/misc/androidx-test/...
910 "androidx.test.runner",
911 "androidx.test.runner-nodeps",
912 "androidx.test.services.storage",
913 "androidx.test.services.storage-nodeps",
914 "androidx.test.monitor",
915 "androidx.test.monitor-nodeps",
916 "androidx.test.annotation",
917 "androidx.test.annotation-nodeps",
Spandan Das1262f352023-09-19 17:48:00 +0000918
919 // jni deps of an internal android_test (b/297405812)
920 "libdexmakerjvmtiagent",
921 "libopenjdkjvmti_headers",
922 "libstaticjvmtiagent",
Sam Delmerico24c56032022-03-28 19:53:03 +0000923 }
924
925 Bp2buildModuleTypeAlwaysConvertList = []string{
Liz Kammer4fc71ff2023-09-18 09:11:18 -0400926 "aconfig_declarations",
927 "aconfig_value_set",
928 "aconfig_values",
Spandan Dasd58630f2022-09-08 01:04:22 +0000929 "aidl_interface_headers",
Zi Wangb2179e32023-01-31 15:53:30 -0800930 "bpf",
Liz Kammere0cbc982023-09-18 09:12:41 -0400931 "cc_prebuilt_library",
Liz Kammer86a407f2023-09-18 09:23:38 -0400932 "cc_prebuilt_library_headers",
Liz Kammere0cbc982023-09-18 09:12:41 -0400933 "cc_prebuilt_library_shared",
934 "cc_prebuilt_library_static",
Zi Wang75a38e72023-02-15 22:52:47 -0800935 "combined_apis",
usta72c6c6c2023-08-30 17:18:01 -0400936 "droiddoc_exported_dir",
Sam Delmerico24c56032022-03-28 19:53:03 +0000937 "java_import",
938 "java_import_host",
Zi Wangb2179e32023-01-31 15:53:30 -0800939 "java_sdk_library",
Liz Kammer9a97a8f2023-09-18 13:36:41 -0400940 "java_sdk_library_import",
Liz Kammer4fc71ff2023-09-18 09:11:18 -0400941 "license",
942 "linker_config",
Trevor Radcliffead3d1232022-09-01 16:25:10 +0000943 "sysprop_library",
Spandan Das8d6bf5e2023-05-19 00:18:49 +0000944 "xsd_config",
Sam Delmerico24c56032022-03-28 19:53:03 +0000945 }
946
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000947 // Add the names of modules that bp2build should never convert, if it is
948 // in the package allowlist. An error will be thrown if a module must
949 // not be here and in the alwaysConvert lists.
950 //
951 // For prebuilt modules (e.g. android_library_import), remember to add
952 // the "prebuilt_" prefix to the name, so that it's differentiable from
953 // the source versions within Soong's module graph.
Sam Delmerico24c56032022-03-28 19:53:03 +0000954 Bp2buildModuleDoNotConvertList = []string{
Vinh Tranbcb5f572023-08-24 11:10:01 -0400955 // rust modules that have cc deps
956 "liblogger",
957 "libbssl_ffi",
958 "libbssl_ffi_nostd",
959 "pull_rust",
960 "libstatslog_rust",
961 "libstatslog_rust_header",
962 "libflatbuffers",
963 "liblog_event_list",
964 "libminijail_rust",
965 "libminijail_sys",
966 "libfsverity_rs",
967 "libtombstoned_client_rust",
968
yike1aaeea32023-07-26 22:19:09 +0000969 // TODO(b/263326760): Failed already.
970 "minijail_compiler_unittest",
971 "minijail_parser_unittest",
972
Vinh Tran220fb8b2022-10-04 12:04:17 -0400973 // Depends on unconverted libandroid, libgui
974 "dvr_buffer_queue-test",
975 "dvr_display-test",
976 // Depends on unconverted libchrome
977 "pdx_benchmarks",
978 "buffer_hub_queue-test",
979 "buffer_hub_queue_producer-test",
980
Sam Delmerico24c56032022-03-28 19:53:03 +0000981 // cc bugs
Jingwen Chenf0616002022-09-01 14:28:55 +0000982
983 // TODO(b/198619163) module has same name as source
Jingwen Chenf0616002022-09-01 14:28:55 +0000984 "logtagd.rc",
985
Sam Delmerico24c56032022-03-28 19:53:03 +0000986 "libgtest_ndk_c++", "libgtest_main_ndk_c++", // TODO(b/201816222): Requires sdk_version support.
Jingwen Chen537242c2022-08-24 11:53:27 +0000987
988 // TODO(b/202876379): has arch-variant static_executable
989 "linkerconfig",
990 "mdnsd",
991 "libcutils_test_static",
992 "KernelLibcutilsTest",
993
Liz Kammerf0ab5462023-04-04 11:38:54 -0400994 "linker", // TODO(b/228316882): cc_binary uses link_crt
995 "versioner", // TODO(b/228313961): depends on prebuilt shared library libclang-cpp_host as a shared library, which does not supply expected providers for a shared library
Liz Kammerf0ab5462023-04-04 11:38:54 -0400996
997 // requires host tools for apexer
998 "apexer_test", "apexer_test_host_tools", "host_apex_verifier",
Sam Delmerico24c56032022-03-28 19:53:03 +0000999
1000 // java bugs
Jihoon Kangb06d8a52023-08-22 17:13:26 +00001001 "libbase_ndk", // TODO(b/186826477): fails to link libctscamera2_jni for device (required for CtsCameraTestCases)
1002 "bouncycastle", // TODO(b/274474005): Need support for custom system_modules.
1003 "bouncycastle-test-lib", // TODO(b/274474005): Reverse dependency of bouncycastle
Sam Delmerico24c56032022-03-28 19:53:03 +00001004
Sam Delmerico24c56032022-03-28 19:53:03 +00001005 // genrule incompatibilities
1006 "brotli-fuzzer-corpus", // TODO(b/202015218): outputs are in location incompatible with bazel genrule handling.
1007 "platform_tools_properties", "build_tools_source_properties", // TODO(b/203369847): multiple genrules in the same package creating the same file
1008
1009 // aar support
Chris Parsons9f0e5522022-12-08 14:12:54 -05001010 "prebuilt_car-ui-androidx-core-common", // TODO(b/224773339), genrule dependency creates an .aar, not a .jar
Jingwen Chen4a7bf602022-09-21 06:36:37 +00001011 // ERROR: The dependencies for the following 1 jar(s) are not complete.
1012 // 1.bazel-out/android_target-fastbuild/bin/prebuilts/tools/common/m2/_aar/robolectric-monitor-1.0.2-alpha1/classes_and_libs_merged.jar
1013 "prebuilt_robolectric-monitor-1.0.2-alpha1",
Sam Delmerico24c56032022-03-28 19:53:03 +00001014
1015 // path property for filegroups
1016 "conscrypt", // TODO(b/210751803), we don't handle path property for filegroups
1017 "conscrypt-for-host", // TODO(b/210751803), we don't handle path property for filegroups
1018 "host-libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups
Sam Delmerico24c56032022-03-28 19:53:03 +00001019 "libprotobuf-internal-python-srcs", // TODO(b/210751803), we don't handle path property for filegroups
Sam Delmerico24c56032022-03-28 19:53:03 +00001020 "libprotobuf-java-util-full", // TODO(b/210751803), we don't handle path property for filegroups
1021
1022 // go deps:
Jingwen Chenf50817d2022-09-21 06:46:08 +00001023 "analyze_bcpf", // depends on bpmodify a blueprint_go_binary.
Cole Faustd82f0362023-04-12 17:32:19 -07001024 "analyze_bcpf_test", // depends on bpmodify a blueprint_go_binary.
Jingwen Chenf50817d2022-09-21 06:46:08 +00001025 "host_bionic_linker_asm", // depends on extract_linker, a go binary.
1026 "host_bionic_linker_script", // depends on extract_linker, a go binary.
Jingwen Chen4a7bf602022-09-21 06:36:37 +00001027
Sam Delmerico24c56032022-03-28 19:53:03 +00001028 // rust support
1029 "libtombstoned_client_rust_bridge_code", "libtombstoned_client_wrapper", // rust conversions are not supported
1030
1031 // unconverted deps
Liz Kammerf673c2e2023-09-11 15:06:21 -04001032 "CarHTMLViewer", // depends on unconverted modules android.car-stubs, car-ui-lib
Trevor Radcliffeef9c9002022-05-13 20:55:35 +00001033 "adb", // depends on unconverted modules: AdbWinApi, libandroidfw, libopenscreen-discovery, libopenscreen-platform-impl, libusb, bin2c_fastdeployagent, AdbWinUsbApi
1034 "android_icu4j_srcgen", // depends on unconverted modules: currysrc
1035 "android_icu4j_srcgen_binary", // depends on unconverted modules: android_icu4j_srcgen, currysrc
Cole Faustd82f0362023-04-12 17:32:19 -07001036 "apex_compression_test", // depends on unconverted modules: soong_zip, com.android.example.apex
Trevor Radcliffeef9c9002022-05-13 20:55:35 +00001037 "apex_manifest_proto_java", // b/210751803, depends on libprotobuf-java-full
Liz Kammerf673c2e2023-09-11 15:06:21 -04001038 "apexer_with_DCLA_preprocessing_test", // depends on unconverted modules: apexer_test_host_tools, com.android.example.apex
Trevor Radcliffeef9c9002022-05-13 20:55:35 +00001039 "art-script", // depends on unconverted modules: dalvikvm, dex2oat
1040 "bin2c_fastdeployagent", // depends on unconverted modules: deployagent
Sam Delmerico24c56032022-03-28 19:53:03 +00001041 "com.android.runtime", // depends on unconverted modules: bionic-linker-config, linkerconfig
Sam Delmerico24c56032022-03-28 19:53:03 +00001042 "currysrc", // depends on unconverted modules: currysrc_org.eclipse, guavalib, jopt-simple-4.9
1043 "dex2oat-script", // depends on unconverted modules: dex2oat
Jingwen Chen4a7bf602022-09-21 06:36:37 +00001044 "generated_android_icu4j_resources", // depends on unconverted modules: android_icu4j_srcgen_binary
1045 "generated_android_icu4j_test_resources", // depends on unconverted modules: android_icu4j_srcgen_binary
Sam Delmerico24c56032022-03-28 19:53:03 +00001046 "host-libprotobuf-java-nano", // b/220869005, depends on libprotobuf-java-nano
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -04001047 "jacoco-stubs", // b/245767077, depends on droidstubs
Liz Kammer6a824f62022-08-09 13:23:01 -04001048 "libapexutil", // depends on unconverted modules: apex-info-list-tinyxml
Sam Delmerico24c56032022-03-28 19:53:03 +00001049 "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
Liz Kammerf673c2e2023-09-11 15:06:21 -04001050 "libart-runtime", // 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
1051 "libart-runtime-for-test", // 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
Sam Delmerico24c56032022-03-28 19:53:03 +00001052 "libart-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libart-compiler, libdexfile, libprofile, libartbase, libartbase-art-gtest
1053 "libart_headers", // depends on unconverted modules: art_libartbase_headers
Liz Kammer3d13adc2022-08-09 09:26:54 -04001054 "libartbase-art-gtest", // depends on unconverted modules: libgtest_isolated, libart, libart-compiler, libdexfile, libprofile
1055 "libartbased-art-gtest", // depends on unconverted modules: libgtest_isolated, libartd, libartd-compiler, libdexfiled, libprofiled
Sam Delmerico24c56032022-03-28 19:53:03 +00001056 "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
Chris Parsonsc149e812023-07-26 18:51:33 +00001057 "libartd-runtime", // 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
Sam Delmerico24c56032022-03-28 19:53:03 +00001058 "libartd-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libartd-compiler, libdexfiled, libprofiled, libartbased, libartbased-art-gtest
Zi Wang0a8a1292022-08-30 06:27:01 +00001059 "libdebuggerd", // depends on unconverted module: libdexfile
Sam Delmerico24c56032022-03-28 19:53:03 +00001060 "libdebuggerd_handler", // depends on unconverted module libdebuggerd_handler_core
1061 "libdebuggerd_handler_core", "libdebuggerd_handler_fallback", // depends on unconverted module libdebuggerd
Sam Delmerico24c56032022-03-28 19:53:03 +00001062 "libdexfiled", // depends on unconverted modules: dexfile_operator_srcs, libartbased, libartpalette
Sam Delmerico24c56032022-03-28 19:53:03 +00001063 "libgmock_main_ndk", // depends on unconverted modules: libgtest_ndk_c++
1064 "libgmock_ndk", // depends on unconverted modules: libgtest_ndk_c++
1065 "libnativehelper_lazy_mts_jni", "libnativehelper_mts_jni", // depends on unconverted modules: libnativetesthelper_jni, libgmock_ndk
1066 "libnativetesthelper_jni", // depends on unconverted modules: libgtest_ndk_c++
Liz Kammer33dddf52023-09-07 14:54:41 -04001067 "libphonenumber_test", // depends on android.test.mock
Vinh Tranc3873e82022-08-23 20:33:25 -04001068 "libstatslog", // depends on unconverted modules: libstatspull, statsd-aidl-ndk
Sam Delmerico24c56032022-03-28 19:53:03 +00001069 "libstatslog_art", // depends on unconverted modules: statslog_art.cpp, statslog_art.h
1070 "linker_reloc_bench_main", // depends on unconverted modules: liblinker_reloc_bench_*
Sam Delmerico847178f2022-12-15 09:36:35 -05001071 "malloc-rss-benchmark", // depends on unconverted modules: libmeminfo
Sam Delmerico24c56032022-03-28 19:53:03 +00001072 "pbtombstone", "crash_dump", // depends on libdebuggerd, libunwindstack
Cole Faustd82f0362023-04-12 17:32:19 -07001073 "releasetools_test", // depends on unconverted modules: com.android.apex.compressed.v1
Vinh Tranf19b6582022-09-21 17:01:49 -04001074 "robolectric-sqlite4java-0.282", // depends on unconverted modules: robolectric-sqlite4java-import, robolectric-sqlite4java-native
1075 "static_crasher", // depends on unconverted modules: libdebuggerd_handler
1076 "test_fips", // depends on unconverted modules: adb
1077 "timezone-host", // depends on unconverted modules: art.module.api.annotations
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxbff2e882022-04-20 18:44:54 +00001078
Liz Kammer09d831e2022-09-16 09:02:26 -04001079 // aidl files not created
1080 "overlayable_policy_aidl_interface",
1081
Jingwen Chen4a7bf602022-09-21 06:36:37 +00001082 //prebuilts/tools/common/m2
1083 // depends on //external/okio:okio-lib, which uses kotlin
1084 "wire-runtime",
1085
Jingwen Chena0519422022-09-28 08:01:57 +00001086 // depends on adbd_system_api_recovery, which is a unconverted `phony` module type
1087 "minadbd",
1088
1089 // depends on android.hardware.health-V2.0-java
1090 "android.hardware.health-translate-java",
1091
Jingwen Chen263d4002023-03-29 07:15:10 +00001092 //system/libvintf
1093 // depends on apex-info-list-tinyxml, unconverted xsd_config Soong module type.
Jingwen Chen263d4002023-03-29 07:15:10 +00001094 "libassemblevintf",
1095 "assemble_vintf",
Jingwen Chen263d4002023-03-29 07:15:10 +00001096 "checkvintf",
1097
1098 // depends on audio_policy_configuration_aidl_default, xsd_config module.
1099 "libaudioserviceexampleimpl",
1100 "android.hardware.audio.service-aidl.example",
1101
1102 // depends on //system/tools/aidl/build:aidl_metadata_json, which is an aidl_interfaces_metadata custom Soong type.
1103 "aidl_metadata_in_cpp",
1104 "libaidlmetadata",
Jingwen Chen29c45612023-03-30 05:17:01 +00001105 "libaidlmetadata_test",
Jingwen Chen263d4002023-03-29 07:15:10 +00001106
1107 // depends on //system/tools/hidl/build:hidl_metadata_json, which is an hidl_interfaces_metadata custom Soong type.
1108 "hidl_metadata_in_cpp",
1109 "libhidlmetadata",
Jingwen Chen29c45612023-03-30 05:17:01 +00001110 "hidl_metadata_test",
Jingwen Chen263d4002023-03-29 07:15:10 +00001111
Jingwen Chen537242c2022-08-24 11:53:27 +00001112 // cc_test related.
Jingwen Chenb5edbf92023-03-20 13:17:49 +00001113 // b/274164834 "Could not open Configuration file test.cfg"
1114 "svcenc", "svcdec",
1115
Jingwen Chen537242c2022-08-24 11:53:27 +00001116 // Failing host cc_tests
Jingwen Chen537242c2022-08-24 11:53:27 +00001117 "gtest_isolated_tests",
1118 "libunwindstack_unit_test",
Jingwen Chen537242c2022-08-24 11:53:27 +00001119 "power_tests", // failing test on server, but not on host
1120
1121 // reflect: call of reflect.Value.NumField on interface Value
1122 // affects all cc_tests that depend on art_defaults
1123 "libnativebridge-tests",
1124 "libnativeloader_test",
1125 "art_libnativebridge_cts_tests",
1126 "art_standalone_libdexfile_external_tests",
1127 "art_standalone_libdexfile_support_tests",
1128 "libnativebridge-lazy-tests",
1129 "libnativebridge-test-case",
1130 "libnativebridge2-test-case",
1131 "libnativebridge3-test-case",
1132 "libnativebridge6-test-case",
1133 "libnativebridge6prezygotefork",
1134
Yu Liu9cb66d02023-07-21 17:23:35 -07001135 "libandroidfw_tests", // failing due to data path issues
Liz Kammer09d831e2022-09-16 09:02:26 -04001136
Jingwen Chena485d092023-04-20 12:34:08 +00001137 // error: overriding commands for target
1138 // `out/host/linux-x86/nativetest64/gmock_tests/gmock_tests__cc_runner_test',
1139 // previously defined at out/soong/installs-aosp_arm.mk:64919`
1140 "gmock_tests",
1141
Jingwen Chen537242c2022-08-24 11:53:27 +00001142 // cc_test with unconverted deps, or are device-only (and not verified to pass yet)
1143 "AMRWBEncTest",
Sam Delmericobefbf052023-04-28 11:23:58 -04001144 "AmrnbDecoderTest", // depends on unconverted modules: libaudioutils, libsndfile
1145 "AmrnbEncoderTest", // depends on unconverted modules: libaudioutils, libsndfile
1146 "AmrwbDecoderTest", // depends on unconverted modules: libsndfile, libaudioutils
1147 "AmrwbEncoderTest", // depends on unconverted modules: libaudioutils, libsndfile
1148 "Mp3DecoderTest", // depends on unconverted modules: libsndfile, libaudioutils
Jingwen Chen537242c2022-08-24 11:53:27 +00001149 "avcdec",
1150 "avcenc",
1151 "bionic-benchmarks-tests",
1152 "bionic-fortify-runtime-asan-test",
1153 "bionic-stress-tests",
1154 "bionic-unit-tests",
1155 "bionic-unit-tests-glibc",
1156 "bionic-unit-tests-static",
1157 "boringssl_crypto_test",
1158 "boringssl_ssl_test",
Yu Liu1d03d172023-07-19 21:33:33 +00001159 "boringssl_test_support", //b/244431896
Jingwen Chen537242c2022-08-24 11:53:27 +00001160 "cfi_test_helper",
1161 "cfi_test_helper2",
1162 "cintltst32",
1163 "cintltst64",
1164 "compare",
1165 "cpuid",
1166 "debuggerd_test", // depends on unconverted modules: libdebuggerd
1167 "elftls_dlopen_ie_error_helper",
1168 "exec_linker_helper",
1169 "fastdeploy_test", // depends on unconverted modules: AdbWinApi, libadb_host, libandroidfw, libfastdeploy_host, libopenscreen-discovery, libopenscreen-platform-impl, libusb
1170 "fdtrack_test",
1171 "google-benchmark-test",
1172 "googletest-param-test-test_ndk", // depends on unconverted modules: libgtest_ndk_c++
1173 "gtest-typed-test_test",
1174 "gtest-typed-test_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
1175 "gtest_ndk_tests", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
1176 "gtest_ndk_tests_no_main", // depends on unconverted modules: libgtest_ndk_c++
1177 "gtest_prod_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
1178 "gtest_tests",
1179 "gtest_tests_no_main",
1180 "gwp_asan_unittest",
1181 "half_test",
1182 "hashcombine_test",
1183 "hevcdec",
1184 "hevcenc",
1185 "hwbinderThroughputTest", // depends on unconverted modules: android.hardware.tests.libhwbinder@1.0-impl.test, android.hardware.tests.libhwbinder@1.0
1186 "i444tonv12_eg",
1187 "icu4c_sample_break",
1188 "intltest32",
1189 "intltest64",
1190 "ion-unit-tests",
1191 "jemalloc5_integrationtests",
1192 "jemalloc5_unittests",
Yu Liucb916322023-08-10 10:58:01 -07001193 "jemalloc5_stresstests", // run by run_jemalloc_tests.sh and will be deleted after V
Jingwen Chen537242c2022-08-24 11:53:27 +00001194 "ld_config_test_helper",
1195 "ld_preload_test_helper",
1196 "libBionicCtsGtestMain", // depends on unconverted modules: libgtest_isolated
1197 "libBionicLoaderTests", // depends on unconverted modules: libmeminfo
1198 "libapexutil_tests", // depends on unconverted modules: apex-info-list-tinyxml, libapexutil
Jingwen Chen537242c2022-08-24 11:53:27 +00001199 "libcutils_sockets_test",
Jingwen Chen537242c2022-08-24 11:53:27 +00001200 "libhwbinder_latency",
Jingwen Chenf0616002022-09-01 14:28:55 +00001201 "liblog-host-test", // failing tests
Jingwen Chen537242c2022-08-24 11:53:27 +00001202 "libminijail_test",
1203 "libminijail_unittest_gtest",
1204 "libpackagelistparser_test",
1205 "libprotobuf_vendor_suffix_test",
1206 "libstagefright_amrnbdec_test", // depends on unconverted modules: libsndfile, libaudioutils
1207 "libstagefright_amrnbenc_test",
1208 "libstagefright_amrwbdec_test", // depends on unconverted modules: libsndfile, libaudioutils
1209 "libstagefright_m4vh263enc_test",
1210 "libstagefright_mp3dec_test", // depends on unconverted modules: libsndfile, libaudioutils
1211 "libstatssocket_test",
1212 "libvndksupport-tests",
1213 "libyuv_unittest",
1214 "linker-unit-tests",
1215 "malloc_debug_system_tests",
1216 "malloc_debug_unit_tests",
1217 "malloc_hooks_system_tests",
1218 "mat_test",
1219 "mathtest",
1220 "memunreachable_binder_test", // depends on unconverted modules: libbinder
1221 "memunreachable_test",
1222 "metadata_tests",
Jingwen Chen537242c2022-08-24 11:53:27 +00001223 "mpeg2dec",
1224 "mvcdec",
1225 "ns_hidden_child_helper",
1226 "pngtest",
1227 "preinit_getauxval_test_helper",
1228 "preinit_syscall_test_helper",
1229 "psnr",
1230 "quat_test",
1231 "rappor-tests", // depends on unconverted modules: jsr305, guava
1232 "scudo_unit_tests",
1233 "stats-log-api-gen-test", // depends on unconverted modules: libstats_proto_host
Jingwen Chen537242c2022-08-24 11:53:27 +00001234 "thread_exit_cb_helper",
1235 "tls_properties_helper",
1236 "ulp",
1237 "vec_test",
1238 "yuvconstants",
1239 "yuvconvert",
Jingwen Chen537242c2022-08-24 11:53:27 +00001240
1241 // cc_test_library
1242 "clang_diagnostic_tests",
1243 "exec_linker_helper_lib",
1244 "fortify_disabled_for_tidy",
1245 "ld_config_test_helper_lib1",
1246 "ld_config_test_helper_lib2",
1247 "ld_config_test_helper_lib3",
1248 "ld_preload_test_helper_lib1",
1249 "ld_preload_test_helper_lib2",
1250 "libBionicElfTlsLoaderTests",
1251 "libBionicElfTlsTests",
1252 "libBionicElfTlsTests",
1253 "libBionicFramePointerTests",
1254 "libBionicFramePointerTests",
1255 "libBionicStandardTests",
1256 "libBionicStandardTests",
1257 "libBionicTests",
1258 "libart-broken",
1259 "libatest_simple_zip",
1260 "libcfi-test",
1261 "libcfi-test-bad",
1262 "libcrash_test",
Liz Kammerf6275092023-04-11 11:06:07 -04001263 "libcrypto_fuzz_unsafe",
Jingwen Chen537242c2022-08-24 11:53:27 +00001264 "libdl_preempt_test_1",
1265 "libdl_preempt_test_2",
1266 "libdl_test_df_1_global",
1267 "libdlext_test",
1268 "libdlext_test_different_soname",
1269 "libdlext_test_fd",
1270 "libdlext_test_norelro",
1271 "libdlext_test_recursive",
1272 "libdlext_test_zip",
Vinh Tran220fb8b2022-10-04 12:04:17 -04001273 "libdvrcommon_test",
Jingwen Chen537242c2022-08-24 11:53:27 +00001274 "libfortify1-new-tests-clang",
1275 "libfortify1-new-tests-clang",
1276 "libfortify1-tests-clang",
1277 "libfortify1-tests-clang",
1278 "libfortify2-new-tests-clang",
1279 "libfortify2-new-tests-clang",
1280 "libfortify2-tests-clang",
1281 "libfortify2-tests-clang",
1282 "libgnu-hash-table-library",
1283 "libicutest_static",
1284 "liblinker_reloc_bench_000",
1285 "liblinker_reloc_bench_001",
1286 "liblinker_reloc_bench_002",
1287 "liblinker_reloc_bench_003",
1288 "liblinker_reloc_bench_004",
1289 "liblinker_reloc_bench_005",
1290 "liblinker_reloc_bench_006",
1291 "liblinker_reloc_bench_007",
1292 "liblinker_reloc_bench_008",
1293 "liblinker_reloc_bench_009",
1294 "liblinker_reloc_bench_010",
1295 "liblinker_reloc_bench_011",
1296 "liblinker_reloc_bench_012",
1297 "liblinker_reloc_bench_013",
1298 "liblinker_reloc_bench_014",
1299 "liblinker_reloc_bench_015",
1300 "liblinker_reloc_bench_016",
1301 "liblinker_reloc_bench_017",
1302 "liblinker_reloc_bench_018",
1303 "liblinker_reloc_bench_019",
1304 "liblinker_reloc_bench_020",
1305 "liblinker_reloc_bench_021",
1306 "liblinker_reloc_bench_022",
1307 "liblinker_reloc_bench_023",
1308 "liblinker_reloc_bench_024",
1309 "liblinker_reloc_bench_025",
1310 "liblinker_reloc_bench_026",
1311 "liblinker_reloc_bench_027",
1312 "liblinker_reloc_bench_028",
1313 "liblinker_reloc_bench_029",
1314 "liblinker_reloc_bench_030",
1315 "liblinker_reloc_bench_031",
1316 "liblinker_reloc_bench_032",
1317 "liblinker_reloc_bench_033",
1318 "liblinker_reloc_bench_034",
1319 "liblinker_reloc_bench_035",
1320 "liblinker_reloc_bench_036",
1321 "liblinker_reloc_bench_037",
1322 "liblinker_reloc_bench_038",
1323 "liblinker_reloc_bench_039",
1324 "liblinker_reloc_bench_040",
1325 "liblinker_reloc_bench_041",
1326 "liblinker_reloc_bench_042",
1327 "liblinker_reloc_bench_043",
1328 "liblinker_reloc_bench_044",
1329 "liblinker_reloc_bench_045",
1330 "liblinker_reloc_bench_046",
1331 "liblinker_reloc_bench_047",
1332 "liblinker_reloc_bench_048",
1333 "liblinker_reloc_bench_049",
1334 "liblinker_reloc_bench_050",
1335 "liblinker_reloc_bench_051",
1336 "liblinker_reloc_bench_052",
1337 "liblinker_reloc_bench_053",
1338 "liblinker_reloc_bench_054",
1339 "liblinker_reloc_bench_055",
1340 "liblinker_reloc_bench_056",
1341 "liblinker_reloc_bench_057",
1342 "liblinker_reloc_bench_058",
1343 "liblinker_reloc_bench_059",
1344 "liblinker_reloc_bench_060",
1345 "liblinker_reloc_bench_061",
1346 "liblinker_reloc_bench_062",
1347 "liblinker_reloc_bench_063",
1348 "liblinker_reloc_bench_064",
1349 "liblinker_reloc_bench_065",
1350 "liblinker_reloc_bench_066",
1351 "liblinker_reloc_bench_067",
1352 "liblinker_reloc_bench_068",
1353 "liblinker_reloc_bench_069",
1354 "liblinker_reloc_bench_070",
1355 "liblinker_reloc_bench_071",
1356 "liblinker_reloc_bench_072",
1357 "liblinker_reloc_bench_073",
1358 "liblinker_reloc_bench_074",
1359 "liblinker_reloc_bench_075",
1360 "liblinker_reloc_bench_076",
1361 "liblinker_reloc_bench_077",
1362 "liblinker_reloc_bench_078",
1363 "liblinker_reloc_bench_079",
1364 "liblinker_reloc_bench_080",
1365 "liblinker_reloc_bench_081",
1366 "liblinker_reloc_bench_082",
1367 "liblinker_reloc_bench_083",
1368 "liblinker_reloc_bench_084",
1369 "liblinker_reloc_bench_085",
1370 "liblinker_reloc_bench_086",
1371 "liblinker_reloc_bench_087",
1372 "liblinker_reloc_bench_088",
1373 "liblinker_reloc_bench_089",
1374 "liblinker_reloc_bench_090",
1375 "liblinker_reloc_bench_091",
1376 "liblinker_reloc_bench_092",
1377 "liblinker_reloc_bench_093",
1378 "liblinker_reloc_bench_094",
1379 "liblinker_reloc_bench_095",
1380 "liblinker_reloc_bench_096",
1381 "liblinker_reloc_bench_097",
1382 "liblinker_reloc_bench_098",
1383 "liblinker_reloc_bench_099",
1384 "liblinker_reloc_bench_100",
1385 "liblinker_reloc_bench_101",
1386 "liblinker_reloc_bench_102",
1387 "liblinker_reloc_bench_103",
1388 "liblinker_reloc_bench_104",
1389 "liblinker_reloc_bench_105",
1390 "liblinker_reloc_bench_106",
1391 "liblinker_reloc_bench_107",
1392 "liblinker_reloc_bench_108",
1393 "liblinker_reloc_bench_109",
1394 "liblinker_reloc_bench_110",
1395 "liblinker_reloc_bench_111",
1396 "liblinker_reloc_bench_112",
1397 "liblinker_reloc_bench_113",
1398 "liblinker_reloc_bench_114",
1399 "liblinker_reloc_bench_115",
1400 "liblinker_reloc_bench_116",
1401 "liblinker_reloc_bench_117",
1402 "liblinker_reloc_bench_118",
1403 "liblinker_reloc_bench_119",
1404 "liblinker_reloc_bench_120",
1405 "liblinker_reloc_bench_121",
1406 "liblinker_reloc_bench_122",
1407 "liblinker_reloc_bench_123",
1408 "liblinker_reloc_bench_124",
1409 "liblinker_reloc_bench_125",
1410 "liblinker_reloc_bench_126",
1411 "liblinker_reloc_bench_127",
1412 "liblinker_reloc_bench_128",
1413 "liblinker_reloc_bench_129",
1414 "liblinker_reloc_bench_130",
1415 "liblinker_reloc_bench_131",
1416 "liblinker_reloc_bench_132",
1417 "liblinker_reloc_bench_133",
1418 "liblinker_reloc_bench_134",
1419 "liblinker_reloc_bench_135",
1420 "liblinker_reloc_bench_136",
1421 "liblinker_reloc_bench_137",
1422 "liblinker_reloc_bench_138",
1423 "liblinker_reloc_bench_139",
1424 "liblinker_reloc_bench_140",
1425 "liblinker_reloc_bench_141",
1426 "liblinker_reloc_bench_142",
1427 "liblinker_reloc_bench_143",
1428 "liblinker_reloc_bench_144",
1429 "liblinker_reloc_bench_145",
1430 "liblinker_reloc_bench_146",
1431 "liblinker_reloc_bench_147",
1432 "liblinker_reloc_bench_148",
1433 "liblinker_reloc_bench_149",
1434 "liblinker_reloc_bench_150",
1435 "liblinker_reloc_bench_151",
1436 "liblinker_reloc_bench_152",
1437 "liblinker_reloc_bench_153",
1438 "liblinker_reloc_bench_154",
1439 "liblinker_reloc_bench_155",
1440 "liblinker_reloc_bench_156",
1441 "liblinker_reloc_bench_157",
1442 "liblinker_reloc_bench_158",
1443 "liblinker_reloc_bench_159",
1444 "liblinker_reloc_bench_160",
1445 "liblinker_reloc_bench_161",
1446 "liblinker_reloc_bench_162",
1447 "liblinker_reloc_bench_163",
1448 "liblinker_reloc_bench_164",
1449 "liblinker_reloc_bench_165",
1450 "liblinker_reloc_bench_166",
1451 "liblinker_reloc_bench_167",
1452 "liblinker_reloc_bench_168",
1453 "libns_hidden_child_app",
1454 "libns_hidden_child_global",
1455 "libns_hidden_child_internal",
1456 "libns_hidden_child_public",
1457 "libnstest_dlopened",
1458 "libnstest_ns_a_public1",
1459 "libnstest_ns_a_public1_internal",
1460 "libnstest_ns_b_public2",
1461 "libnstest_ns_b_public3",
1462 "libnstest_private",
1463 "libnstest_private_external",
1464 "libnstest_public",
1465 "libnstest_public_internal",
1466 "libnstest_root",
1467 "libnstest_root_not_isolated",
1468 "librelocations-ANDROID_REL",
1469 "librelocations-ANDROID_RELR",
1470 "librelocations-RELR",
1471 "librelocations-fat",
1472 "libsegment_gap_inner",
1473 "libsegment_gap_outer",
Liz Kammerf6275092023-04-11 11:06:07 -04001474 "libssl_fuzz_unsafe",
Jingwen Chen537242c2022-08-24 11:53:27 +00001475 "libstatssocket_private",
1476 "libsysv-hash-table-library",
1477 "libtest_atexit",
1478 "libtest_check_order_dlsym",
1479 "libtest_check_order_dlsym_1_left",
1480 "libtest_check_order_dlsym_2_right",
1481 "libtest_check_order_dlsym_3_c",
1482 "libtest_check_order_dlsym_a",
1483 "libtest_check_order_dlsym_b",
1484 "libtest_check_order_dlsym_d",
1485 "libtest_check_order_reloc_root",
1486 "libtest_check_order_reloc_root_1",
1487 "libtest_check_order_reloc_root_2",
1488 "libtest_check_order_reloc_siblings",
1489 "libtest_check_order_reloc_siblings_1",
1490 "libtest_check_order_reloc_siblings_2",
1491 "libtest_check_order_reloc_siblings_3",
1492 "libtest_check_order_reloc_siblings_a",
1493 "libtest_check_order_reloc_siblings_b",
1494 "libtest_check_order_reloc_siblings_c",
1495 "libtest_check_order_reloc_siblings_c_1",
1496 "libtest_check_order_reloc_siblings_c_2",
1497 "libtest_check_order_reloc_siblings_d",
1498 "libtest_check_order_reloc_siblings_e",
1499 "libtest_check_order_reloc_siblings_f",
1500 "libtest_check_rtld_next_from_library",
1501 "libtest_dlopen_df_1_global",
1502 "libtest_dlopen_from_ctor",
1503 "libtest_dlopen_from_ctor_main",
1504 "libtest_dlopen_weak_undefined_func",
1505 "libtest_dlsym_df_1_global",
1506 "libtest_dlsym_from_this",
1507 "libtest_dlsym_from_this_child",
1508 "libtest_dlsym_from_this_grandchild",
1509 "libtest_dlsym_weak_func",
1510 "libtest_dt_runpath_a",
1511 "libtest_dt_runpath_b",
1512 "libtest_dt_runpath_c",
1513 "libtest_dt_runpath_d",
1514 "libtest_dt_runpath_d_zip",
1515 "libtest_dt_runpath_x",
1516 "libtest_dt_runpath_y",
1517 "libtest_elftls_dynamic",
1518 "libtest_elftls_dynamic_filler_1",
1519 "libtest_elftls_dynamic_filler_2",
1520 "libtest_elftls_dynamic_filler_3",
1521 "libtest_elftls_shared_var",
1522 "libtest_elftls_shared_var_ie",
1523 "libtest_elftls_tprel",
1524 "libtest_empty",
1525 "libtest_ifunc",
1526 "libtest_ifunc_variable",
1527 "libtest_ifunc_variable_impl",
1528 "libtest_indirect_thread_local_dtor",
1529 "libtest_init_fini_order_child",
1530 "libtest_init_fini_order_grand_child",
1531 "libtest_init_fini_order_root",
1532 "libtest_init_fini_order_root2",
1533 "libtest_missing_symbol",
1534 "libtest_missing_symbol_child_private",
1535 "libtest_missing_symbol_child_public",
1536 "libtest_missing_symbol_root",
1537 "libtest_nodelete_1",
1538 "libtest_nodelete_2",
1539 "libtest_nodelete_dt_flags_1",
1540 "libtest_pthread_atfork",
1541 "libtest_relo_check_dt_needed_order",
1542 "libtest_relo_check_dt_needed_order_1",
1543 "libtest_relo_check_dt_needed_order_2",
1544 "libtest_simple",
1545 "libtest_thread_local_dtor",
1546 "libtest_thread_local_dtor2",
1547 "libtest_two_parents_child",
1548 "libtest_two_parents_parent1",
1549 "libtest_two_parents_parent2",
1550 "libtest_versioned_lib",
1551 "libtest_versioned_libv1",
1552 "libtest_versioned_libv2",
1553 "libtest_versioned_otherlib",
1554 "libtest_versioned_otherlib_empty",
1555 "libtest_versioned_uselibv1",
1556 "libtest_versioned_uselibv2",
1557 "libtest_versioned_uselibv2_other",
1558 "libtest_versioned_uselibv3_other",
1559 "libtest_with_dependency",
1560 "libtest_with_dependency_loop",
1561 "libtest_with_dependency_loop_a",
1562 "libtest_with_dependency_loop_b",
1563 "libtest_with_dependency_loop_b_tmp",
1564 "libtest_with_dependency_loop_c",
1565 "libtestshared",
Vinh Tran583a07d2022-09-20 17:25:34 -04001566
1567 // depends on unconverted libprotobuf-java-nano
1568 "dnsresolverprotosnano",
1569 "launcherprotosnano",
1570 "datastallprotosnano",
1571 "devicepolicyprotosnano",
Wei Li7d8f6182022-10-11 14:38:16 -07001572 "ota_metadata_proto_java",
1573 "merge_ota",
1574
1575 // releasetools
Wei Li7d8f6182022-10-11 14:38:16 -07001576 "verity_utils",
1577 "check_ota_package_signature",
1578 "check_target_files_vintf",
1579 "releasetools_check_target_files_vintf",
Wei Li7d8f6182022-10-11 14:38:16 -07001580 "ota_from_target_files",
1581 "releasetools_ota_from_target_files",
Wei Li7d8f6182022-10-11 14:38:16 -07001582 "add_img_to_target_files",
1583 "releasetools_add_img_to_target_files",
1584 "fsverity_metadata_generator",
1585 "sign_target_files_apks",
1586
1587 // depends on the support of yacc file
1588 "libapplypatch",
1589 "libapplypatch_modes",
1590 "applypatch",
Yu Liu6c999ef2022-10-19 16:41:10 +00001591
1592 // TODO(b/254476335): disable the following due to this bug
1593 "libapexinfo",
1594 "libapexinfo_tests",
Colin Cross20c89f12022-12-05 16:47:44 -08001595
1596 // uses glob in $(locations)
1597 "libc_musl_sysroot",
Kevin Dagostino2c3be412023-02-07 04:10:27 +00001598
1599 // TODO(b/266459895): depends on libunwindstack
1600 "libutils_test",
Romain Jobredeaux2eef2e12023-02-24 12:07:08 -05001601
Cole Faustd82f0362023-04-12 17:32:19 -07001602 // Has dependencies on other tools like ziptool, bp2build'd data properties don't work with these tests atm
1603 "ziparchive_tests_large",
1604 "mkbootimg_test",
1605 "certify_bootimg_test",
1606
1607 // Despite being _host module types, these require devices to run
1608 "logd_integration_test",
1609 "mobly-hello-world-test",
1610 "mobly-multidevice-test",
1611
Romain Jobredeaux2eef2e12023-02-24 12:07:08 -05001612 // TODO(b/274805756): Support core_platform and current java APIs
1613 "fake-framework",
1614
1615 // TODO(b/277616982): These modules depend on private java APIs, but maybe they don't need to.
1616 "StreamingProtoTest",
1617 "textclassifierprotoslite",
1618 "styleprotoslite",
1619 "CtsPkgInstallerConstants",
1620 "guava-android-testlib",
Sam Delmericobefbf052023-04-28 11:23:58 -04001621
1622 "MetaDataBaseUnitTest", // depends on libstagefright
1623 "AVCUtilsUnitTest", // depends on libstagefright
1624 "ColorUtilsTest", // depends on libmediandk
Wei Li74e3e002023-04-26 12:15:55 -07001625
1626 // python_test_host with test data
1627 "sbom_writers_test",
Zi Wang65b36722023-05-23 15:18:33 -07001628
1629 // TODO(B/283193845): tradefed and its java_test_host dependents
1630 "tradefed",
1631 "permissive_mte_test",
1632 "ICU4CTestRunner",
Usta (Tsering) Shrestha1205d712023-06-20 16:46:59 +00001633 "DeviceLongPollingStubTest",
Liz Kammer01c09ca2023-08-09 15:47:54 -04001634 "FastDeployHostTests",
Zi Wang65b36722023-05-23 15:18:33 -07001635
Sam Delmericoa8a10862023-06-12 14:37:56 -04001636 "libprotobuf-full-test", // TODO(b/246997908): cannot convert proto_libraries which implicitly include other srcs in the same directory
1637 "libprotobuf-lite-test", // TODO(b/246997908): cannot convert proto_libraries which implicitly include other srcs in the same directory
Sam Delmerico96c15502023-06-12 16:09:09 -04001638
Jason Wu5d5a3bb2023-06-14 13:24:24 -04001639 "logcat", // TODO(b/246997908): cannot convert proto_libraries which implicitly include other srcs in the same directory
1640
Jason Wuee51c542023-06-13 14:54:56 -04001641 "expresscatalogvalidator", // TODO(b/246997908): cannot convert proto_libraries which implicitly include other srcs in the same directory
1642
Sam Delmerico96c15502023-06-12 16:09:09 -04001643 // depends on other //art modules
1644 "libart-for-test",
1645 "libart_generated_headers",
1646 "libart-runtime-gtest",
1647 "libartd-runtime-gtest",
Yu Liub6e0a642023-08-09 23:42:23 +00001648 "libart-unstripped",
1649
1650 // depends on libart-unstripped and new module type llvm_prebuilt_build_tool
1651 "check_cfi",
Jihoon Kang49defa62023-08-22 19:43:59 +00001652
Jihoon Kangf51ec392023-08-23 05:24:02 +00001653 // depends on unconverted module tradefed
1654 "HelloWorldPerformanceTest",
Romain Jobredeaux890d6ea2023-08-23 10:53:07 -04001655
1656 // r8 is a java_binary, which creates an implicit "r8.jar" target, but the
1657 // same package contains a "r8.jar" file which gets overshadowed by the implicit target.
1658 // We don't need this target as we're not using the Soong wrapper for now
1659 "r8",
Jihoon Kang04b7d802023-08-23 22:10:15 +00001660
1661 // Depends on the module defined in the directory not bp2build default allowed
1662 "ota_from_raw_img",
Vinh Tran92260512023-09-11 10:30:13 -04001663
1664 // TODO(b/299924782): Fix linking error
1665 "libbinder_on_trusty_mock",
1666
1667 // TODO(b/299943581): Depends on aidl filegroups with implicit headers
1668 "libdataloader_aidl-cpp",
1669 "libincremental_manager_aidl-cpp",
1670
1671 // TODO(b/299974637) Fix linking error
1672 "libbinder_rpc_unstable",
Jingwen Chene12c0832023-08-25 09:00:16 +00001673
1674 // TODO(b/297356704) sdk_version is unset.
1675 "VendorAtomCodeGenJavaTest",
1676
1677 // android_test from allowlisted packages, but with unconverted deps
1678 "MtsLibnativehelperLazyTestCases",
1679 "ObjenesisTck",
1680 "DevCodelabTest",
1681 "MtsTimeZoneDataTestCases",
1682 "NanoAndroidTest",
1683 "MtsLibnativehelperTestCases",
Sam Delmerico24c56032022-03-28 19:53:03 +00001684 }
1685
Chris Parsons66fc7452022-11-04 13:26:17 -04001686 // Bazel prod-mode allowlist. Modules in this list are built by Bazel
1687 // in either prod mode or staging mode.
Jingwen Chen889f2f22022-12-16 08:16:01 +00001688 ProdMixedBuildsEnabledList = []string{
Jingwen Chen01addfc2023-03-13 12:49:52 +00001689 // M5: tzdata launch
Jingwen Chen889f2f22022-12-16 08:16:01 +00001690 "com.android.tzdata",
1691 "test1_com.android.tzdata",
Jingwen Chen61342112023-04-11 08:49:01 +00001692 "test3_com.android.tzdata",
Jingwen Chen01addfc2023-03-13 12:49:52 +00001693 // M7: adbd launch
Jingwen Chen98bf5cc2022-12-14 13:27:25 +00001694 "com.android.adbd",
1695 "test_com.android.adbd",
1696 "adbd_test",
1697 "adb_crypto_test",
1698 "adb_pairing_auth_test",
1699 "adb_pairing_connection_test",
1700 "adb_tls_connection_test",
Jingwen Chen01addfc2023-03-13 12:49:52 +00001701 // M9: mixed builds for mainline trains launch
1702 "api_fingerprint",
Sam Delmerico96e53702023-04-07 15:09:37 -04001703 // M11: neuralnetworks launch
1704 "com.android.neuralnetworks",
1705 "test_com.android.neuralnetworks",
1706 "libneuralnetworks",
1707 "libneuralnetworks_static",
Trevor Radcliffe06101242023-06-29 22:30:18 +00001708 // M13: media.swcodec launch
1709 "com.android.media.swcodec",
1710 "test_com.android.media.swcodec",
1711 "libstagefright_foundation",
1712 "libcodec2_hidl@1.0",
1713 }
Yu Liub1274232023-06-21 22:37:32 +00001714
Trevor Radcliffee3c6a292023-07-07 19:29:04 +00001715 // Staging-mode allowlist. Modules in this list are only built
1716 // by Bazel with --bazel-mode-staging. This list should contain modules
1717 // which will soon be added to the prod allowlist.
1718 // It is implicit that all modules in ProdMixedBuildsEnabledList will
1719 // also be built - do not add them to this list.
1720 StagingMixedBuildsEnabledList = []string{}
1721
Yu Liue4312402023-01-18 09:15:31 -08001722 // These should be the libs that are included by the apexes in the ProdMixedBuildsEnabledList
Jingwen Chen01addfc2023-03-13 12:49:52 +00001723 ProdDclaMixedBuildsEnabledList = []string{
Yu Liue4312402023-01-18 09:15:31 -08001724 "libbase",
1725 "libc++",
1726 "libcrypto",
1727 "libcutils",
Trevor Radcliffe06101242023-06-29 22:30:18 +00001728 "libstagefright_flacdec",
1729 "libutils",
1730 }
Yu Liub1274232023-06-21 22:37:32 +00001731
Trevor Radcliffee3c6a292023-07-07 19:29:04 +00001732 // These should be the libs that are included by the apexes in the StagingMixedBuildsEnabledList
1733 StagingDclaMixedBuildsEnabledList = []string{}
1734
Yu Liue4312402023-01-18 09:15:31 -08001735 // TODO(b/269342245): Enable the rest of the DCLA libs
1736 // "libssl",
Jeongik Chae114e602023-03-19 00:12:39 +09001737
Jeongik Chab745e2e2023-04-11 14:28:43 +09001738 // The list of module types which are expected to spend lots of build time.
1739 // With `--ninja_weight_source=soong`, ninja builds these module types and deps first.
1740 HugeModuleTypePrefixMap = map[string]int{
1741 "rust_": HIGH_PRIORITIZED_WEIGHT,
1742 "droidstubs": DEFAULT_PRIORITIZED_WEIGHT,
1743 "art_": DEFAULT_PRIORITIZED_WEIGHT,
1744 "ndk_library": DEFAULT_PRIORITIZED_WEIGHT,
Jeongik Chae114e602023-03-19 00:12:39 +09001745 }
Cole Faustbc65a3f2023-08-01 16:38:55 +00001746
1747 BazelSandwichTargets = []struct {
1748 Label string
1749 Host bool
1750 }{
1751 {
1752 Label: "//build/bazel/examples/partitions:system_image",
1753 Host: false,
1754 },
Cole Faust9a6fa982023-09-08 12:00:39 -07001755 {
1756 Label: "//build/bazel/examples/partitions:run_test",
1757 Host: false,
1758 },
Cole Faustbc65a3f2023-08-01 16:38:55 +00001759 }
Sam Delmerico24c56032022-03-28 19:53:03 +00001760)