blob: 34b191efa8f3973e201dcb1460306d954ca7fbd7 [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,
Wei Li74e3e002023-04-26 12:15:55 -070068 "build/make/tools/protos": Bp2BuildDefaultTrue,
Wei Li7d8f6182022-10-11 14:38:16 -070069 "build/make/tools/releasetools": Bp2BuildDefaultTrue,
Wei Li74e3e002023-04-26 12:15:55 -070070 "build/make/tools/sbom": Bp2BuildDefaultTrue,
Cole Faust324a92e2022-08-23 15:29:05 -070071 "build/make/tools/signapk": Bp2BuildDefaultTrue,
72 "build/make/tools/zipalign": Bp2BuildDefaultTrueRecursively,
73 "build/soong": Bp2BuildDefaultTrue,
74 "build/soong/cc/libbuildversion": Bp2BuildDefaultTrue, // Skip tests subdir
75 "build/soong/cc/ndkstubgen": Bp2BuildDefaultTrue,
76 "build/soong/cc/symbolfile": Bp2BuildDefaultTrue,
Sasha Smundak8bea2672022-08-04 13:31:14 -070077 "build/soong/licenses": Bp2BuildDefaultTrue,
Cole Faust324a92e2022-08-23 15:29:05 -070078 "build/soong/linkerconfig": Bp2BuildDefaultTrueRecursively,
79 "build/soong/scripts": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040080
81 "cts/common/device-side/nativetesthelper/jni": Bp2BuildDefaultTrueRecursively,
Jingwen Chen1ec77852022-11-07 14:36:12 +000082
83 "dalvik/tools/dexdeps": Bp2BuildDefaultTrueRecursively,
84
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040085 "development/apps/DevelopmentSettings": Bp2BuildDefaultTrue,
86 "development/apps/Fallback": Bp2BuildDefaultTrue,
87 "development/apps/WidgetPreview": Bp2BuildDefaultTrue,
Spandan Dasb3d5c482023-05-15 18:49:23 +000088 "development/python-packages/adb": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040089 "development/samples/BasicGLSurfaceView": Bp2BuildDefaultTrue,
90 "development/samples/BluetoothChat": Bp2BuildDefaultTrue,
91 "development/samples/BrokenKeyDerivation": Bp2BuildDefaultTrue,
92 "development/samples/Compass": Bp2BuildDefaultTrue,
93 "development/samples/ContactManager": Bp2BuildDefaultTrue,
94 "development/samples/FixedGridLayout": Bp2BuildDefaultTrue,
95 "development/samples/HelloEffects": Bp2BuildDefaultTrue,
96 "development/samples/Home": Bp2BuildDefaultTrue,
97 "development/samples/HoneycombGallery": Bp2BuildDefaultTrue,
98 "development/samples/JetBoy": Bp2BuildDefaultTrue,
99 "development/samples/KeyChainDemo": Bp2BuildDefaultTrue,
100 "development/samples/LceDemo": Bp2BuildDefaultTrue,
101 "development/samples/LunarLander": Bp2BuildDefaultTrue,
102 "development/samples/MultiResolution": Bp2BuildDefaultTrue,
103 "development/samples/MultiWindow": Bp2BuildDefaultTrue,
104 "development/samples/NotePad": Bp2BuildDefaultTrue,
105 "development/samples/Obb": Bp2BuildDefaultTrue,
106 "development/samples/RSSReader": Bp2BuildDefaultTrue,
107 "development/samples/ReceiveShareDemo": Bp2BuildDefaultTrue,
108 "development/samples/SearchableDictionary": Bp2BuildDefaultTrue,
109 "development/samples/SipDemo": Bp2BuildDefaultTrue,
110 "development/samples/SkeletonApp": Bp2BuildDefaultTrue,
111 "development/samples/Snake": Bp2BuildDefaultTrue,
112 "development/samples/SpellChecker/": Bp2BuildDefaultTrueRecursively,
113 "development/samples/ThemedNavBarKeyboard": Bp2BuildDefaultTrue,
114 "development/samples/ToyVpn": Bp2BuildDefaultTrue,
115 "development/samples/TtsEngine": Bp2BuildDefaultTrue,
116 "development/samples/USB/AdbTest": Bp2BuildDefaultTrue,
117 "development/samples/USB/MissileLauncher": Bp2BuildDefaultTrue,
118 "development/samples/VoiceRecognitionService": Bp2BuildDefaultTrue,
119 "development/samples/VoicemailProviderDemo": Bp2BuildDefaultTrue,
120 "development/samples/WiFiDirectDemo": Bp2BuildDefaultTrue,
121 "development/sdk": Bp2BuildDefaultTrueRecursively,
122
123 "external/aac": Bp2BuildDefaultTrueRecursively,
Spandan Das390a6d62023-08-01 22:50:46 +0000124 "external/abseil-cpp": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400125 "external/arm-optimized-routines": Bp2BuildDefaultTrueRecursively,
Sasha Smundak8bea2672022-08-04 13:31:14 -0700126 "external/auto": Bp2BuildDefaultTrue,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000127 "external/auto/android-annotation-stubs": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400128 "external/auto/common": Bp2BuildDefaultTrueRecursively,
129 "external/auto/service": Bp2BuildDefaultTrueRecursively,
130 "external/boringssl": Bp2BuildDefaultTrueRecursively,
131 "external/bouncycastle": Bp2BuildDefaultTrue,
132 "external/brotli": Bp2BuildDefaultTrue,
Wei Li7d8f6182022-10-11 14:38:16 -0700133 "external/bsdiff": Bp2BuildDefaultTrueRecursively,
134 "external/bzip2": Bp2BuildDefaultTrueRecursively,
Alixe2667872023-04-24 14:57:32 +0000135 "external/clang/lib": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400136 "external/conscrypt": Bp2BuildDefaultTrue,
137 "external/e2fsprogs": Bp2BuildDefaultTrueRecursively,
138 "external/eigen": Bp2BuildDefaultTrueRecursively,
139 "external/erofs-utils": Bp2BuildDefaultTrueRecursively,
140 "external/error_prone": Bp2BuildDefaultTrueRecursively,
Usta Shresthad66f2ce2023-03-15 15:01:59 -0400141 "external/escapevelocity": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400142 "external/expat": Bp2BuildDefaultTrueRecursively,
143 "external/f2fs-tools": Bp2BuildDefaultTrue,
144 "external/flac": Bp2BuildDefaultTrueRecursively,
Liz Kammere848bb22023-06-29 09:21:50 -0400145 "external/flatbuffers": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400146 "external/fmtlib": Bp2BuildDefaultTrueRecursively,
Cole Faust17cd19c2023-06-08 12:26:42 -0700147 "external/fsverity-utils": Bp2BuildDefaultTrueRecursively,
Spandan Das2a8f9002023-08-16 17:49:25 +0000148 "external/gflags": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400149 "external/google-benchmark": Bp2BuildDefaultTrueRecursively,
150 "external/googletest": Bp2BuildDefaultTrueRecursively,
Liz Kammere848bb22023-06-29 09:21:50 -0400151 "external/guava": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400152 "external/gwp_asan": Bp2BuildDefaultTrueRecursively,
153 "external/hamcrest": Bp2BuildDefaultTrueRecursively,
154 "external/icu": Bp2BuildDefaultTrueRecursively,
155 "external/icu/android_icu4j": Bp2BuildDefaultFalse, // java rules incomplete
156 "external/icu/icu4j": Bp2BuildDefaultFalse, // java rules incomplete
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400157 "external/jacoco": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400158 "external/jarjar": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400159 "external/javaparser": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400160 "external/javapoet": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000161 "external/javassist": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400162 "external/jemalloc_new": Bp2BuildDefaultTrueRecursively,
163 "external/jsoncpp": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux0bffcb82023-02-03 10:15:47 -0500164 "external/jsr305": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux47773342023-01-11 16:27:34 -0500165 "external/jsr330": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400166 "external/junit": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux47773342023-01-11 16:27:34 -0500167 "external/kotlinc": Bp2BuildDefaultTrueRecursively,
Vinh Tran1b6a4612022-09-30 16:36:59 -0400168 "external/libaom": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400169 "external/libavc": Bp2BuildDefaultTrueRecursively,
170 "external/libcap": Bp2BuildDefaultTrueRecursively,
171 "external/libcxx": Bp2BuildDefaultTrueRecursively,
172 "external/libcxxabi": Bp2BuildDefaultTrueRecursively,
Wei Li7d8f6182022-10-11 14:38:16 -0700173 "external/libdivsufsort": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000174 "external/libdrm": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400175 "external/libevent": Bp2BuildDefaultTrueRecursively,
176 "external/libgav1": Bp2BuildDefaultTrueRecursively,
177 "external/libhevc": Bp2BuildDefaultTrueRecursively,
178 "external/libjpeg-turbo": Bp2BuildDefaultTrueRecursively,
179 "external/libmpeg2": Bp2BuildDefaultTrueRecursively,
180 "external/libpng": Bp2BuildDefaultTrueRecursively,
Cole Faustc843b992022-08-02 18:06:50 -0700181 "external/libvpx": Bp2BuildDefaultTrueRecursively,
Cole Faust92e92e42022-08-26 16:12:42 -0700182 "external/libyuv": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400183 "external/lz4/lib": Bp2BuildDefaultTrue,
Wei Li7d8f6182022-10-11 14:38:16 -0700184 "external/lz4/programs": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400185 "external/lzma/C": Bp2BuildDefaultTrueRecursively,
186 "external/mdnsresponder": Bp2BuildDefaultTrueRecursively,
187 "external/minijail": Bp2BuildDefaultTrueRecursively,
Colin Cross20c89f12022-12-05 16:47:44 -0800188 "external/musl": Bp2BuildDefaultTrueRecursively,
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000189 "external/objenesis": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000190 "external/openscreen": Bp2BuildDefaultTrueRecursively,
Spandan Das6960ac12022-11-22 04:45:05 +0000191 "external/ow2-asm": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400192 "external/pcre": Bp2BuildDefaultTrueRecursively,
193 "external/protobuf": Bp2BuildDefaultTrueRecursively,
Spandan Das390a6d62023-08-01 22:50:46 +0000194 "external/python/pyyaml/lib/yaml": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400195 "external/python/six": Bp2BuildDefaultTrueRecursively,
Spandan Das77ce1272023-08-02 04:52:25 +0000196 "external/python/jinja/src": Bp2BuildDefaultTrueRecursively,
197 "external/python/markupsafe/src": Bp2BuildDefaultTrueRecursively,
198 "external/python/setuptools": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400199 "external/rappor": Bp2BuildDefaultTrueRecursively,
200 "external/scudo": Bp2BuildDefaultTrueRecursively,
Cole Faust6cac8cb2023-06-15 15:01:30 -0700201 "external/selinux/checkpolicy": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400202 "external/selinux/libselinux": Bp2BuildDefaultTrueRecursively,
203 "external/selinux/libsepol": Bp2BuildDefaultTrueRecursively,
Cole Faustfe2ab362022-08-26 16:55:11 -0700204 "external/speex": Bp2BuildDefaultTrueRecursively,
Liz Kammerf0ab5462023-04-04 11:38:54 -0400205 "external/sqlite": Bp2BuildDefaultTrueRecursively,
Jingwen Chen263d4002023-03-29 07:15:10 +0000206 "external/tinyalsa": Bp2BuildDefaultTrueRecursively,
207 "external/tinyalsa_new": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400208 "external/toybox": Bp2BuildDefaultTrueRecursively,
209 "external/zlib": Bp2BuildDefaultTrueRecursively,
210 "external/zopfli": Bp2BuildDefaultTrueRecursively,
211 "external/zstd": Bp2BuildDefaultTrueRecursively,
212
Jingwen Chen1ec77852022-11-07 14:36:12 +0000213 "frameworks/av": Bp2BuildDefaultTrue,
Liz Kammerf0ab5462023-04-04 11:38:54 -0400214 "frameworks/av/media/audioaidlconversion": Bp2BuildDefaultTrueRecursively,
Vinh Tran1b6a4612022-09-30 16:36:59 -0400215 "frameworks/av/media/codec2/components/aom": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000216 "frameworks/av/media/codecs": Bp2BuildDefaultTrueRecursively,
Jingwen Chenb2f584b2022-08-17 10:31:21 +0000217 "frameworks/av/media/liberror": Bp2BuildDefaultTrueRecursively,
Liz Kammerf0ab5462023-04-04 11:38:54 -0400218 "frameworks/av/media/libmediahelper": Bp2BuildDefaultTrue,
Chris Parsons52b842a2022-12-19 11:45:23 -0500219 "frameworks/av/media/libshmem": Bp2BuildDefaultTrueRecursively,
Liz Kammere7a47122023-05-12 08:44:51 -0400220 "frameworks/av/media/module/codecs": Bp2BuildDefaultTrueRecursively,
221 "frameworks/av/media/module/foundation": Bp2BuildDefaultTrueRecursively,
Jingwen Chen8ebc6202022-09-14 11:48:21 +0000222 "frameworks/av/media/module/minijail": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000223 "frameworks/av/services/minijail": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400224 "frameworks/base/libs/androidfw": Bp2BuildDefaultTrue,
Vinh Tran320aecf2023-04-28 11:21:25 -0400225 "frameworks/base/libs/services": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400226 "frameworks/base/media/tests/MediaDump": Bp2BuildDefaultTrue,
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400227 "frameworks/base/proto": Bp2BuildDefaultTrue,
Liz Kammere7a47122023-05-12 08:44:51 -0400228 "frameworks/base/services/tests/servicestests/aidl": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400229 "frameworks/base/startop/apps/test": Bp2BuildDefaultTrue,
230 "frameworks/base/tests/appwidgets/AppWidgetHostTest": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400231 "frameworks/base/tools/aapt2": Bp2BuildDefaultTrue,
Alix9d562792023-03-02 17:12:30 +0000232 "frameworks/base/tools/codegen": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000233 "frameworks/base/tools/streaming_proto": Bp2BuildDefaultTrueRecursively,
Vinh Tran9b09bc52023-02-21 09:56:25 -0500234 "frameworks/hardware/interfaces/stats/aidl": Bp2BuildDefaultTrue,
Liz Kammere7a47122023-05-12 08:44:51 -0400235 "frameworks/libs/modules-utils/build": Bp2BuildDefaultTrueRecursively,
Motomu Utsumi44591552023-08-22 12:03:16 +0900236 "frameworks/libs/net/common/native": Bp2BuildDefaultTrueRecursively, // TODO(b/296014682): Remove this path
Liz Kammere848bb22023-06-29 09:21:50 -0400237 "frameworks/native": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400238 "frameworks/native/libs/adbd_auth": Bp2BuildDefaultTrueRecursively,
239 "frameworks/native/libs/arect": Bp2BuildDefaultTrueRecursively,
Vinh Tran220fb8b2022-10-04 12:04:17 -0400240 "frameworks/native/libs/gui": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400241 "frameworks/native/libs/math": Bp2BuildDefaultTrueRecursively,
242 "frameworks/native/libs/nativebase": Bp2BuildDefaultTrueRecursively,
Liz Kammerf0ab5462023-04-04 11:38:54 -0400243 "frameworks/native/libs/permission": Bp2BuildDefaultTrueRecursively,
Vinh Tran220fb8b2022-10-04 12:04:17 -0400244 "frameworks/native/libs/vr": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400245 "frameworks/native/opengl/tests/gl2_cameraeye": Bp2BuildDefaultTrue,
246 "frameworks/native/opengl/tests/gl2_java": Bp2BuildDefaultTrue,
247 "frameworks/native/opengl/tests/testLatency": Bp2BuildDefaultTrue,
248 "frameworks/native/opengl/tests/testPauseResume": Bp2BuildDefaultTrue,
249 "frameworks/native/opengl/tests/testViewport": Bp2BuildDefaultTrue,
Jingwen Chena0519422022-09-28 08:01:57 +0000250 "frameworks/native/services/batteryservice": Bp2BuildDefaultTrue,
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxb12ff592022-09-01 15:04:04 +0000251 "frameworks/proto_logging/stats": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400252
Liz Kammere76510b2023-03-20 17:30:51 -0400253 "hardware/interfaces": Bp2BuildDefaultTrue,
254 "hardware/interfaces/audio/aidl": Bp2BuildDefaultTrue,
255 "hardware/interfaces/audio/aidl/common": Bp2BuildDefaultTrue,
Jingwen Chen263d4002023-03-29 07:15:10 +0000256 "hardware/interfaces/audio/aidl/default": Bp2BuildDefaultTrue,
257 "hardware/interfaces/audio/aidl/sounddose": Bp2BuildDefaultTrue,
Spandan Das8fe96ce2023-08-18 17:10:23 +0000258 "hardware/interfaces/camera/metadata/aidl": Bp2BuildDefaultTrueRecursively,
Liz Kammere76510b2023-03-20 17:30:51 -0400259 "hardware/interfaces/common/aidl": Bp2BuildDefaultTrue,
260 "hardware/interfaces/common/fmq/aidl": Bp2BuildDefaultTrue,
261 "hardware/interfaces/common/support": Bp2BuildDefaultTrue,
262 "hardware/interfaces/configstore/1.0": Bp2BuildDefaultTrue,
263 "hardware/interfaces/configstore/1.1": Bp2BuildDefaultTrue,
264 "hardware/interfaces/configstore/utils": Bp2BuildDefaultTrue,
265 "hardware/interfaces/graphics/allocator/2.0": Bp2BuildDefaultTrue,
266 "hardware/interfaces/graphics/allocator/3.0": Bp2BuildDefaultTrue,
267 "hardware/interfaces/graphics/allocator/4.0": Bp2BuildDefaultTrue,
268 "hardware/interfaces/graphics/allocator/aidl": Bp2BuildDefaultTrue,
269 "hardware/interfaces/graphics/bufferqueue/1.0": Bp2BuildDefaultTrue,
270 "hardware/interfaces/graphics/bufferqueue/2.0": Bp2BuildDefaultTrue,
271 "hardware/interfaces/graphics/common/1.0": Bp2BuildDefaultTrue,
272 "hardware/interfaces/graphics/common/1.1": Bp2BuildDefaultTrue,
273 "hardware/interfaces/graphics/common/1.2": Bp2BuildDefaultTrue,
274 "hardware/interfaces/graphics/common/aidl": Bp2BuildDefaultTrue,
275 "hardware/interfaces/graphics/mapper/2.0": Bp2BuildDefaultTrue,
276 "hardware/interfaces/graphics/mapper/2.1": Bp2BuildDefaultTrue,
277 "hardware/interfaces/graphics/mapper/3.0": Bp2BuildDefaultTrue,
278 "hardware/interfaces/graphics/mapper/4.0": Bp2BuildDefaultTrue,
279 "hardware/interfaces/health/1.0": Bp2BuildDefaultTrue,
280 "hardware/interfaces/health/1.0/default": Bp2BuildDefaultTrue,
281 "hardware/interfaces/health/2.0": Bp2BuildDefaultTrue,
282 "hardware/interfaces/health/2.0/default": Bp2BuildDefaultTrue,
283 "hardware/interfaces/health/2.0/utils": Bp2BuildDefaultTrueRecursively,
284 "hardware/interfaces/health/2.1": Bp2BuildDefaultTrue,
285 "hardware/interfaces/health/aidl": Bp2BuildDefaultTrue,
286 "hardware/interfaces/health/utils": Bp2BuildDefaultTrueRecursively,
287 "hardware/interfaces/media/1.0": Bp2BuildDefaultTrue,
288 "hardware/interfaces/media/bufferpool": Bp2BuildDefaultTrueRecursively,
289 "hardware/interfaces/media/bufferpool/aidl/default/tests": Bp2BuildDefaultFalseRecursively,
290 "hardware/interfaces/media/c2/1.0": Bp2BuildDefaultTrue,
291 "hardware/interfaces/media/c2/1.1": Bp2BuildDefaultTrue,
292 "hardware/interfaces/media/c2/1.2": Bp2BuildDefaultTrue,
293 "hardware/interfaces/media/omx/1.0": Bp2BuildDefaultTrue,
294 "hardware/interfaces/neuralnetworks": Bp2BuildDefaultTrueRecursively,
295 "hardware/interfaces/neuralnetworks/aidl/vts": Bp2BuildDefaultFalseRecursively,
296 "hardware/interfaces/neuralnetworks/1.0/vts": Bp2BuildDefaultFalseRecursively,
297 "hardware/interfaces/neuralnetworks/1.1/vts": Bp2BuildDefaultFalseRecursively,
298 "hardware/interfaces/neuralnetworks/1.2/vts": Bp2BuildDefaultFalseRecursively,
299 "hardware/interfaces/neuralnetworks/1.3/vts": Bp2BuildDefaultFalseRecursively,
300 "hardware/interfaces/neuralnetworks/1.4/vts": Bp2BuildDefaultFalseRecursively,
Liz Kammer1c921162022-08-17 16:58:32 -0400301
302 "libnativehelper": Bp2BuildDefaultTrueRecursively,
303
Alix79f853d2023-02-10 15:57:01 +0000304 "packages/apps/DevCamera": Bp2BuildDefaultTrue,
305 "packages/apps/HTMLViewer": Bp2BuildDefaultTrue,
306 "packages/apps/Protips": Bp2BuildDefaultTrue,
307 "packages/apps/SafetyRegulatoryInfo": Bp2BuildDefaultTrue,
308 "packages/apps/WallpaperPicker": Bp2BuildDefaultTrue,
309 "packages/modules/NeuralNetworks/driver/cache": Bp2BuildDefaultTrueRecursively,
310 "packages/modules/StatsD/lib/libstatssocket": Bp2BuildDefaultTrueRecursively,
311 "packages/modules/adb": Bp2BuildDefaultTrue,
312 "packages/modules/adb/apex": Bp2BuildDefaultTrue,
Liz Kammer01c09ca2023-08-09 15:47:54 -0400313 "packages/modules/adb/fastdeploy": Bp2BuildDefaultTrue,
Alix79f853d2023-02-10 15:57:01 +0000314 "packages/modules/adb/crypto": Bp2BuildDefaultTrueRecursively,
315 "packages/modules/adb/libs": Bp2BuildDefaultTrueRecursively,
316 "packages/modules/adb/pairing_auth": Bp2BuildDefaultTrueRecursively,
317 "packages/modules/adb/pairing_connection": Bp2BuildDefaultTrueRecursively,
318 "packages/modules/adb/proto": Bp2BuildDefaultTrueRecursively,
319 "packages/modules/adb/tls": Bp2BuildDefaultTrueRecursively,
Motomu Utsumi44591552023-08-22 12:03:16 +0900320 "packages/modules/Connectivity/staticlibs/native": Bp2BuildDefaultTrueRecursively,
Jingwen Chen263d4002023-03-29 07:15:10 +0000321 "packages/modules/Gki/libkver": Bp2BuildDefaultTrue,
Alix79f853d2023-02-10 15:57:01 +0000322 "packages/modules/NetworkStack/common/captiveportal": Bp2BuildDefaultTrue,
Yu Liue1ab66d2023-03-24 10:53:02 -0700323 "packages/modules/NeuralNetworks/apex": Bp2BuildDefaultTrue,
MarkDacekb9e11c52023-04-26 21:28:16 +0000324 "packages/modules/NeuralNetworks/apex/testing": Bp2BuildDefaultTrue,
Alix79f853d2023-02-10 15:57:01 +0000325 "packages/providers/MediaProvider/tools/dialogs": Bp2BuildDefaultFalse, // TODO(b/242834374)
326 "packages/screensavers/Basic": Bp2BuildDefaultTrue,
327 "packages/services/Car/tests/SampleRearViewCamera": Bp2BuildDefaultFalse, // TODO(b/242834321)
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400328
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +0000329 "platform_testing/tests/example": Bp2BuildDefaultTrueRecursively,
330
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400331 "prebuilts/clang/host/linux-x86": Bp2BuildDefaultTrueRecursively,
332 "prebuilts/gradle-plugin": Bp2BuildDefaultTrueRecursively,
333 "prebuilts/runtime/mainline/platform/sdk": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux8242b432023-05-04 10:16:26 -0400334 "prebuilts/sdk": Bp2BuildDefaultTrue,
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400335 "prebuilts/sdk/current/androidx": Bp2BuildDefaultTrue,
336 "prebuilts/sdk/current/androidx-legacy": Bp2BuildDefaultTrue,
337 "prebuilts/sdk/current/extras/constraint-layout-x": Bp2BuildDefaultTrue,
338 "prebuilts/sdk/current/extras/material-design-x": Bp2BuildDefaultTrue,
339 "prebuilts/sdk/current/extras/app-toolkit": Bp2BuildDefaultTrue,
340 "prebuilts/sdk/current/support": Bp2BuildDefaultTrue,
341 "prebuilts/tools": Bp2BuildDefaultTrue,
342 "prebuilts/tools/common/m2": Bp2BuildDefaultTrue,
Romain Jobredeaux890d6ea2023-08-23 10:53:07 -0400343 "prebuilts/r8": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400344
Alixb4e09a02022-09-27 15:36:01 +0000345 "sdk/dumpeventlog": Bp2BuildDefaultTrue,
Romain Jobredeaux77488af2022-11-07 16:53:19 +0000346 "sdk/eventanalyzer": Bp2BuildDefaultTrue,
Alixb4e09a02022-09-27 15:36:01 +0000347
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000348 "system/apex": Bp2BuildDefaultFalse, // TODO(b/207466993): flaky failures
349 "system/apex/apexer": Bp2BuildDefaultTrue,
350 "system/apex/libs": Bp2BuildDefaultTrueRecursively,
Jingwen Chena1a17752023-06-15 11:06:34 +0000351 "system/apex/libs/libapexsupport": Bp2BuildDefaultFalseRecursively, // TODO(b/267572288): depends on rust
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000352 "system/apex/proto": Bp2BuildDefaultTrueRecursively,
353 "system/apex/tools": Bp2BuildDefaultTrueRecursively,
354 "system/core/debuggerd": Bp2BuildDefaultTrueRecursively,
355 "system/core/diagnose_usb": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000356 "system/core/healthd": Bp2BuildDefaultTrue,
357 "system/core/healthd/testdata": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000358 "system/core/libasyncio": Bp2BuildDefaultTrue,
359 "system/core/libcrypto_utils": Bp2BuildDefaultTrueRecursively,
360 "system/core/libcutils": Bp2BuildDefaultTrueRecursively,
361 "system/core/libpackagelistparser": Bp2BuildDefaultTrueRecursively,
362 "system/core/libprocessgroup": Bp2BuildDefaultTrue,
363 "system/core/libprocessgroup/cgrouprc": Bp2BuildDefaultTrue,
364 "system/core/libprocessgroup/cgrouprc_format": Bp2BuildDefaultTrue,
Cole Faust17cd19c2023-06-08 12:26:42 -0700365 "system/core/libsparse": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000366 "system/core/libsuspend": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000367 "system/core/libsystem": Bp2BuildDefaultTrueRecursively,
Jingwen Chenf0616002022-09-01 14:28:55 +0000368 "system/core/libsysutils": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000369 "system/core/libutils": Bp2BuildDefaultTrueRecursively,
370 "system/core/libvndksupport": Bp2BuildDefaultTrueRecursively,
Wei Li7d8f6182022-10-11 14:38:16 -0700371 "system/core/mkbootfs": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000372 "system/core/property_service/libpropertyinfoparser": Bp2BuildDefaultTrueRecursively,
373 "system/core/property_service/libpropertyinfoserializer": Bp2BuildDefaultTrueRecursively,
Cole Faust17cd19c2023-06-08 12:26:42 -0700374 "system/extras/f2fs_utils": Bp2BuildDefaultTrueRecursively,
Yu Liuf27bb3b2022-10-03 14:15:01 -0700375 "system/extras/toolchain-extras": Bp2BuildDefaultTrue,
Cole Faust17cd19c2023-06-08 12:26:42 -0700376 "system/extras/verity": Bp2BuildDefaultTrueRecursively,
Chris Parsons52b842a2022-12-19 11:45:23 -0500377 "system/hardware/interfaces/media": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400378 "system/incremental_delivery/incfs": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000379 "system/libartpalette": Bp2BuildDefaultTrueRecursively,
380 "system/libbase": Bp2BuildDefaultTrueRecursively,
381 "system/libfmq": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400382 "system/libhidl/libhidlmemory": Bp2BuildDefaultTrue,
383 "system/libhidl/transport": Bp2BuildDefaultTrue,
384 "system/libhidl/transport/allocator/1.0": Bp2BuildDefaultTrue,
Yu Liudf4413a2022-07-23 21:24:30 -0700385 "system/libhidl/transport/base/1.0": Bp2BuildDefaultTrue,
386 "system/libhidl/transport/manager/1.0": Bp2BuildDefaultTrue,
387 "system/libhidl/transport/manager/1.1": Bp2BuildDefaultTrue,
388 "system/libhidl/transport/manager/1.2": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400389 "system/libhidl/transport/memory/1.0": Bp2BuildDefaultTrue,
390 "system/libhidl/transport/memory/token/1.0": Bp2BuildDefaultTrue,
391 "system/libhidl/transport/safe_union/1.0": Bp2BuildDefaultTrue,
392 "system/libhidl/transport/token/1.0": Bp2BuildDefaultTrue,
393 "system/libhidl/transport/token/1.0/utils": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000394 "system/libhwbinder": Bp2BuildDefaultTrueRecursively,
395 "system/libprocinfo": Bp2BuildDefaultTrue,
Jingwen Chen263d4002023-03-29 07:15:10 +0000396 "system/libvintf": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000397 "system/libziparchive": Bp2BuildDefaultTrueRecursively,
Jingwen Chenf0616002022-09-01 14:28:55 +0000398 "system/logging": Bp2BuildDefaultTrueRecursively,
Sasha Smundak8bea2672022-08-04 13:31:14 -0700399 "system/media": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000400 "system/media/audio": Bp2BuildDefaultTrueRecursively,
Jingwen Chen263d4002023-03-29 07:15:10 +0000401 "system/media/alsa_utils": Bp2BuildDefaultTrueRecursively,
Cole Faustfe2ab362022-08-26 16:55:11 -0700402 "system/media/audio_utils": Bp2BuildDefaultTrueRecursively,
Spandan Das8fe96ce2023-08-18 17:10:23 +0000403 "system/media/camera": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000404 "system/memory/libion": Bp2BuildDefaultTrueRecursively,
405 "system/memory/libmemunreachable": Bp2BuildDefaultTrueRecursively,
406 "system/sepolicy/apex": Bp2BuildDefaultTrueRecursively,
Cole Faust17cd19c2023-06-08 12:26:42 -0700407 "system/security/fsverity": Bp2BuildDefaultTrueRecursively,
Jingwen Chen537242c2022-08-24 11:53:27 +0000408 "system/testing/gtest_extras": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000409 "system/timezone/apex": Bp2BuildDefaultTrueRecursively,
410 "system/timezone/output_data": Bp2BuildDefaultTrueRecursively,
Jingwen Chen61342112023-04-11 08:49:01 +0000411 "system/timezone/testdata": Bp2BuildDefaultTrueRecursively,
412 "system/timezone/testing": Bp2BuildDefaultTrueRecursively,
Sam Delmerico8dfa46a2022-08-30 15:09:36 -0400413 "system/tools/aidl/build/tests_bp2build": Bp2BuildDefaultTrue,
Jingwen Chen263d4002023-03-29 07:15:10 +0000414 "system/tools/aidl/metadata": Bp2BuildDefaultTrue,
415 "system/tools/hidl/metadata": Bp2BuildDefaultTrue,
Wei Li7d8f6182022-10-11 14:38:16 -0700416 "system/tools/mkbootimg": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400417 "system/tools/sysprop": Bp2BuildDefaultTrue,
Jingwen Chen263d4002023-03-29 07:15:10 +0000418 "system/tools/xsdc/utils": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000419 "system/unwinding/libunwindstack": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400420
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400421 "tools/apifinder": Bp2BuildDefaultTrue,
Dan Albertf1235a82023-04-13 16:39:28 +0000422 "tools/apksig": Bp2BuildDefaultTrue,
423 "tools/external_updater": Bp2BuildDefaultTrueRecursively,
424 "tools/metalava": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400425 "tools/platform-compat/java/android/compat": Bp2BuildDefaultTrueRecursively,
426 "tools/tradefederation/prebuilts/filegroups": Bp2BuildDefaultTrueRecursively,
Sam Delmerico24c56032022-03-28 19:53:03 +0000427 }
428
429 Bp2buildKeepExistingBuildFile = map[string]bool{
430 // This is actually build/bazel/build.BAZEL symlinked to ./BUILD
431 ".":/*recursive = */ false,
432
Cole Faust324a92e2022-08-23 15:29:05 -0700433 "build/bazel":/* recursive = */ true,
Kevin Dagostino92f33d92022-11-02 20:29:07 +0000434 "build/make/core":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000435 "build/bazel_common_rules":/* recursive = */ true,
Cole Faust10b94de2023-03-31 17:38:33 -0700436 "build/make/target/product/security":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000437 // build/make/tools/signapk BUILD file is generated, so build/make/tools is not recursive.
438 "build/make/tools":/* recursive = */ false,
439 "build/pesto":/* recursive = */ true,
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000440 "build/soong":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000441
442 // external/bazelbuild-rules_android/... is needed by mixed builds, otherwise mixed builds analysis fails
443 // e.g. ERROR: Analysis of target '@soong_injection//mixed_builds:buildroot' failed
444 "external/bazelbuild-rules_android":/* recursive = */ true,
Vinh Tran79587fa2023-08-18 13:50:00 -0400445 "external/bazelbuild-rules_cc":/* recursive = */ true,
Romain Jobredeaux01e6b2c2023-07-19 15:27:13 -0400446 "external/bazelbuild-rules_java":/* recursive = */ true,
Sasha Smundak9d2f1742022-08-04 13:28:38 -0700447 "external/bazelbuild-rules_license":/* recursive = */ true,
Spandan Das4a5bc5c2023-06-26 03:44:04 +0000448 "external/bazelbuild-rules_go":/* recursive = */ true,
Vinh Tranf5e59812023-08-03 19:47:30 +0000449 "external/bazelbuild-rules_python":/* recursive = */ true,
Vinh Tranfe1ecfc2023-06-27 22:20:15 -0400450 "external/bazelbuild-rules_rust":/* recursive = */ true,
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400451 "external/bazelbuild-kotlin-rules":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000452 "external/bazel-skylib":/* recursive = */ true,
Cole Faustea602c52022-08-31 14:48:26 -0700453 "external/protobuf":/* recursive = */ false,
Cole Faustde12be32022-11-19 15:14:48 -0800454 "external/python/absl-py":/* recursive = */ true,
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000455
Trevor Radcliffe391a25d2023-03-22 20:22:27 +0000456 "external/compiler-rt/lib/cfi":/* recursive = */ false,
457
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000458 // this BUILD file is globbed by //external/icu/icu4c/source:icu4c_test_data's "data/**/*".
459 "external/icu/icu4c/source/data/unidata/norm2":/* recursive = */ false,
460
Romain Jobredeaux0bffcb82023-02-03 10:15:47 -0500461 // Building manually due to b/179889880: resource files cross package boundary
Sam Delmerico24c56032022-03-28 19:53:03 +0000462 "packages/apps/Music":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000463
Yu Liu56ccb1a2022-11-12 10:47:07 -0800464 "prebuilts/abi-dumps/platform":/* recursive = */ true,
465 "prebuilts/abi-dumps/ndk":/* recursive = */ true,
Romain Jobredeaux29197972022-05-30 22:02:31 -0400466 "prebuilts/bazel":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000467 "prebuilts/bundletool":/* recursive = */ true,
Cole Faustea602c52022-08-31 14:48:26 -0700468 "prebuilts/clang/host/linux-x86":/* recursive = */ false,
Yu Liu56ccb1a2022-11-12 10:47:07 -0800469 "prebuilts/clang-tools":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000470 "prebuilts/gcc":/* recursive = */ true,
Jingwen Chen23ca2d22022-05-19 09:53:56 +0000471 "prebuilts/build-tools":/* recursive = */ true,
Romain Jobredeauxd4e1a152023-03-17 11:02:01 -0400472 "prebuilts/jdk/jdk17":/* recursive = */ true,
Cole Faust7071a052022-07-29 15:58:33 -0700473 "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 +0000474 "prebuilts/sdk":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000475 "prebuilts/sdk/tools":/* recursive = */ false,
476 "prebuilts/r8":/* recursive = */ false,
Kevin Dagostino3e2da942022-11-20 07:16:47 +0000477 "prebuilts/runtime":/* recursive = */ false,
Vinh Tranfe1ecfc2023-06-27 22:20:15 -0400478 "prebuilts/rust":/* recursive = */ true,
Kevin Dagostino92f33d92022-11-02 20:29:07 +0000479
Kevin Dagostino3e2da942022-11-20 07:16:47 +0000480 // not recursive due to conflicting workspace paths in tools/atest/bazel/rules
481 "tools/asuite/atest":/* recursive = */ false,
482 "tools/asuite/atest/bazel/reporter":/* recursive = */ true,
Yu Liu828c4062023-01-23 20:56:46 +0000483
484 // TODO(b/266459895): remove this and the placeholder BUILD file after re-enabling libunwindstack
485 "external/rust/crates/rustc-demangle-capi":/* recursive = */ false,
Chris Parsons8152a942023-06-06 16:17:50 +0000486
487 // Used for testing purposes only. Should not actually exist in the real source tree.
488 "testpkg/keep_build_file":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000489 }
490
491 Bp2buildModuleAlwaysConvertList = []string{
Liz Kammer877b8462023-08-04 16:38:22 -0400492 // ext
493 "tagsoup",
494
495 // framework-res
496 "remote-color-resources-compile-public",
497 "remote-color-resources-compile-colors",
498
499 // framework-minus-apex
500 "android.mime.types.minimized",
501 "debian.mime.types.minimized",
502 "framework-javastream-protos",
503 "libview-inspector-annotation-processor",
504
505 // services
506 "apache-commons-math",
507 "cbor-java",
508 "icu4j_calendar_astronomer",
509 "json",
510 "remote-color-resources-compile-public",
511 "statslog-art-java-gen",
512 "statslog-framework-java-gen",
513
514 "AndroidCommonLint",
515 "ImmutabilityAnnotation",
516 "ImmutabilityAnnotationProcessorHostLibrary",
517
Liz Kammer09d831e2022-09-16 09:02:26 -0400518 "libidmap2_policies",
519 "libSurfaceFlingerProp",
Liz Kammere848bb22023-06-29 09:21:50 -0400520 "toolbox_input_labels",
521
Liz Kammerbe1315e2022-05-10 09:15:31 -0400522 // cc mainline modules
Liz Kammera7bea312023-05-04 09:51:56 -0400523
524 // com.android.media.swcodec
Vinh Tran2dbc7452022-09-29 10:49:07 -0400525 "com.android.media.swcodec",
Liz Kammer5068eae2022-05-11 17:24:29 -0400526 "com.android.media.swcodec-androidManifest",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400527 "com.android.media.swcodec-ld.config.txt",
Vinh Tran2dbc7452022-09-29 10:49:07 -0400528 "com.android.media.swcodec-mediaswcodec.32rc",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400529 "com.android.media.swcodec-mediaswcodec.rc",
Liz Kammer5068eae2022-05-11 17:24:29 -0400530 "com.android.media.swcodec.certificate",
531 "com.android.media.swcodec.key",
Liz Kammera7bea312023-05-04 09:51:56 -0400532 "test_com.android.media.swcodec",
533
534 // deps
535 "code_coverage.policy",
536 "code_coverage.policy.other",
537 "codec2_soft_exports",
Spandan Das8d6bf5e2023-05-19 00:18:49 +0000538 "compatibility_matrix_schema",
Vinh Tran3cb9ade2022-10-20 12:17:42 -0400539 "framework-connectivity-protos",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400540 "gemmlowp_headers",
541 "gl_headers",
Liz Kammer63367e12022-06-13 19:35:12 +0000542 "libandroid_runtime_lazy",
Liz Kammer5068eae2022-05-11 17:24:29 -0400543 "libandroid_runtime_vm_headers",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400544 "libaudioclient_aidl_conversion_util",
Vinh Tran9f6796a2022-08-16 13:10:31 -0400545 "libbinder",
546 "libbinder_device_interface_sources",
Vinh Tran444154d2022-08-16 13:10:31 -0400547 "libbinder_aidl",
Liz Kammer63367e12022-06-13 19:35:12 +0000548 "libbinder_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400549 "libbinder_headers_platform_shared",
Vinh Tran99fd6502022-09-09 18:36:24 -0400550 "libbinderthreadstateutils",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400551 "libbluetooth-types-header",
Liz Kammer63367e12022-06-13 19:35:12 +0000552 "libcodec2",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400553 "libcodec2_headers",
554 "libcodec2_internal",
555 "libdmabufheap",
Liz Kammer5068eae2022-05-11 17:24:29 -0400556 "libgsm",
Vinh Tran99fd6502022-09-09 18:36:24 -0400557 "libgrallocusage",
558 "libgralloctypes",
559 "libnativewindow",
Vinh Tranfd446d62022-09-21 17:30:20 -0400560 "libneuralnetworks",
Sam Delmerico646dcfa2023-04-07 14:38:32 -0400561 "libneuralnetworks_static",
Vinh Tran99fd6502022-09-09 18:36:24 -0400562 "libgraphicsenv",
Liz Kammer63367e12022-06-13 19:35:12 +0000563 "libhardware",
Liz Kammer5068eae2022-05-11 17:24:29 -0400564 "libhardware_headers",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400565 "libnativeloader-headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400566 "libnativewindow_headers",
567 "libneuralnetworks_headers",
Vinh Tran583a07d2022-09-20 17:25:34 -0400568 "libneuralnetworks_packageinfo",
Liz Kammer5068eae2022-05-11 17:24:29 -0400569 "libopus",
570 "libprocpartition",
Liz Kammer63367e12022-06-13 19:35:12 +0000571 "libruy_static",
Cole Faust6b29f592022-08-09 09:50:56 -0700572 "libandroidio",
573 "libandroidio_srcs",
Liz Kammer5068eae2022-05-11 17:24:29 -0400574 "libserviceutils",
Liz Kammer63367e12022-06-13 19:35:12 +0000575 "libsurfaceflinger_headers",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400576 "libsync",
Liz Kammer5068eae2022-05-11 17:24:29 -0400577 "libtextclassifier_hash_headers",
578 "libtextclassifier_hash_static",
Liz Kammer63367e12022-06-13 19:35:12 +0000579 "libtflite_kernel_utils",
580 "libtinyxml2",
Vinh Tran99fd6502022-09-09 18:36:24 -0400581 "libui",
Liz Kammer5068eae2022-05-11 17:24:29 -0400582 "libui-types",
Liz Kammer63367e12022-06-13 19:35:12 +0000583 "libui_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400584 "libvorbisidec",
585 "media_ndk_headers",
Liz Kammer63367e12022-06-13 19:35:12 +0000586 "media_plugin_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400587 "mediaswcodec.policy",
588 "mediaswcodec.xml",
Vinh Tran99fd6502022-09-09 18:36:24 -0400589 "neuralnetworks_types",
Vinh Tran99fd6502022-09-09 18:36:24 -0400590 "libneuralnetworks_common",
Vinh Tran583a07d2022-09-20 17:25:34 -0400591 // packagemanager_aidl_interface is created implicitly in packagemanager_aidl module
592 "packagemanager_aidl_interface",
Liz Kammer63367e12022-06-13 19:35:12 +0000593 "philox_random",
Liz Kammer5068eae2022-05-11 17:24:29 -0400594 "philox_random_headers",
595 "server_configurable_flags",
Vinh Tran3cb9ade2022-10-20 12:17:42 -0400596 "service-permission-streaming-proto-sources",
Vinh Tranf19b6582022-09-21 17:01:49 -0400597 "statslog_neuralnetworks.cpp",
598 "statslog_neuralnetworks.h",
Liz Kammer5068eae2022-05-11 17:24:29 -0400599 "tensorflow_headers",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400600
Vinh Tran99fd6502022-09-09 18:36:24 -0400601 "libstagefright_bufferpool@2.0",
602 "libstagefright_bufferpool@2.0.1",
Vinh Tranc169c542022-09-13 13:13:06 -0400603 "libSurfaceFlingerProp",
Vinh Tran99fd6502022-09-09 18:36:24 -0400604
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxb12ff592022-09-01 15:04:04 +0000605 // prebuilts
606 "prebuilt_stats-log-api-gen",
607
Jingwen Chen9009dc22022-08-04 15:26:46 +0000608 // fastboot
Jingwen Chen9009dc22022-08-04 15:26:46 +0000609 "fastboot",
610 "libfastboot",
611 "liblp",
612 "libstorage_literals_headers",
613
Liz Kammerf0ab5462023-04-04 11:38:54 -0400614 "PluginCoreLib",
615 "dagger2",
616 "dagger2-android-annotation-stubs",
617 "dagger2-bootstrap-compiler",
618 "dagger2-producers",
619 "okio-lib",
620 "setupdesign-strings",
621
Sam Delmerico24c56032022-03-28 19:53:03 +0000622 //external/avb
623 "avbtool",
624 "libavb",
625 "avb_headers",
626
Alix5918d642022-06-27 20:57:44 +0000627 //external/libxml2
628 "xmllint",
629 "libxml2",
630
Sam Delmerico24c56032022-03-28 19:53:03 +0000631 //external/fec
632 "libfec_rs",
633
Vinh Tran320aecf2023-04-28 11:21:25 -0400634 //frameworks/base/core/java
635 "IDropBoxManagerService_aidl",
636
Sam Delmerico24c56032022-03-28 19:53:03 +0000637 //system/extras/ext4_utils
638 "libext4_utils",
Cole Faust01243362022-06-02 12:11:12 -0700639 "mke2fs_conf",
Cole Faust17cd19c2023-06-08 12:26:42 -0700640 "mkuserimg_mke2fs",
641 "blk_alloc_to_base_fs",
Sam Delmerico24c56032022-03-28 19:53:03 +0000642
643 //system/extras/libfec
644 "libfec",
645
646 //system/extras/squashfs_utils
647 "libsquashfs_utils",
648
Sam Delmerico24c56032022-03-28 19:53:03 +0000649 //packages/apps/Car/libs/car-ui-lib/car-ui-androidx
650 // genrule dependencies for java_imports
651 "car-ui-androidx-annotation-nodeps",
652 "car-ui-androidx-collection-nodeps",
653 "car-ui-androidx-core-common-nodeps",
654 "car-ui-androidx-lifecycle-common-nodeps",
655 "car-ui-androidx-constraintlayout-solver-nodeps",
Yu Liudf4413a2022-07-23 21:24:30 -0700656
657 //system/libhidl
Jingwen Chen263d4002023-03-29 07:15:10 +0000658 "libhidlbase", // needed by cc_hidl_library
659 "libhidl_gtest_helper",
Vinh Tran444154d2022-08-16 13:10:31 -0400660
Vinh Tran444154d2022-08-16 13:10:31 -0400661 //frameworks/native/libs/input
662 "inputconstants_aidl",
Vinh Tranc3873e82022-08-23 20:33:25 -0400663
664 // needed for aidl_interface's ndk backend
665 "libbinder_ndk",
Jingwen Chen537242c2022-08-24 11:53:27 +0000666
667 "libusb",
Jingwen Chenf0616002022-09-01 14:28:55 +0000668
669 // needed by liblogd
670 "ILogcatManagerService_aidl",
671 "libincremental_aidl-cpp",
672 "incremental_aidl",
Jingwen Chen2247aca2022-09-09 10:47:43 +0000673
674 //frameworks/native/cmds/cmd
675 "libcmd",
Jingwen Chenadc07fa2022-09-21 13:13:48 +0000676
Jihoon Kang37d6d452023-08-18 18:07:38 +0000677 //system/chre
678 "chre_api",
679
Jingwen Chenadc07fa2022-09-21 13:13:48 +0000680 //system/core/fs_mgr/libdm
681 "libdm",
682
683 //system/core/fs_mgr/libfiemap
684 "libfiemap_headers",
685 "libfiemap_passthrough_srcs",
686 "libfiemap_srcs",
687
688 //system/gsid
689 "libgsi",
690 "libgsi_headers",
691
692 //system/core/libkeyutils
693 "libkeyutils",
694
Jingwen Chenadc07fa2022-09-21 13:13:48 +0000695 //bootable/recovery/otautil
696 "libotautil",
697
698 //system/vold
699 "libvold_headers",
700
701 //system/extras/libfscrypt
702 "libfscrypt",
703
704 //system/core/fs_mgr
705 "libfstab",
706
707 //bootable/recovery/fuse_sideload
708 "libfusesideload",
709
710 //system/core/fs_mgr/libfs_avb
711 "libfs_avb",
712
713 //system/core/fs_mgr
714 "libfs_mgr",
Yu Liubf7c03e2022-09-22 12:12:26 -0700715
716 "libcodec2_hidl@1.0",
717 "libcodec2_hidl@1.1",
718 "libcodec2_hidl@1.2",
719 "libcodec2_hidl_plugin_stub",
720 "libcodec2_hidl_plugin",
Yu Liu41a58a92023-07-24 23:31:48 +0000721 "libcodec2_hal_common",
Yu Liubf7c03e2022-09-22 12:12:26 -0700722 "libstagefright_bufferqueue_helper_novndk",
Yu Liubf7c03e2022-09-22 12:12:26 -0700723 "libGLESv2",
724 "libEGL",
725 "libcodec2_vndk",
726 "libnativeloader_lazy",
727 "libnativeloader",
728 "libEGL_getProcAddress",
729 "libEGL_blobCache",
Vinh Tran32a98a52022-09-23 13:08:34 -0400730
Yu Liu8c981532022-09-27 12:47:26 -0700731 "mediaswcodec",
732 "libmedia_headers",
733 "libmedia_codecserviceregistrant",
734 "libsfplugin_ccodec_utils",
735 "libcodec2_soft_aacenc",
736 "libcodec2_soft_amrnbdec",
737 "libcodec2_soft_amrnbenc",
738 "libcodec2_soft_amrwbdec",
739 "libcodec2_soft_amrwbenc",
740 "libcodec2_soft_hevcdec",
741 "libcodec2_soft_hevcenc",
742 "libcodec2_soft_g711alawdec",
743 "libcodec2_soft_g711mlawdec",
744 "libcodec2_soft_mpeg2dec",
745 "libcodec2_soft_h263dec",
746 "libcodec2_soft_h263enc",
747 "libcodec2_soft_mpeg4dec",
748 "libcodec2_soft_mpeg4enc",
749 "libcodec2_soft_mp3dec",
750 "libcodec2_soft_vorbisdec",
751 "libcodec2_soft_opusdec",
752 "libcodec2_soft_opusenc",
753 "libcodec2_soft_vp8dec",
754 "libcodec2_soft_vp9dec",
755 "libcodec2_soft_av1dec_gav1",
756 "libcodec2_soft_vp8enc",
757 "libcodec2_soft_vp9enc",
758 "libcodec2_soft_rawdec",
759 "libcodec2_soft_flacdec",
760 "libcodec2_soft_flacenc",
761 "libcodec2_soft_gsmdec",
762 "libcodec2_soft_avcdec",
763 "libcodec2_soft_avcenc",
764 "libcodec2_soft_aacdec",
765 "libcodec2_soft_common",
Alix8062f4d2022-11-14 21:38:07 +0000766
767 // kotlin srcs in java libs
Alix8062f4d2022-11-14 21:38:07 +0000768 "kotlinx_atomicfu",
Alix7c8eaeb2022-11-16 15:44:55 +0000769
770 // kotlin srcs in java binary
771 "AnalyzerKt",
772 "trebuchet-core",
Alix36795a72023-01-20 16:10:52 +0000773
774 // kotlin srcs in android_library
775 "renderscript_toolkit",
Romain Jobredeaux0bffcb82023-02-03 10:15:47 -0500776
777 //kotlin srcs in android_binary
778 "MusicKotlin",
Zi Wang75a38e72023-02-15 22:52:47 -0800779
Romain Jobredeaux2eef2e12023-02-24 12:07:08 -0500780 // java_library with prebuilt sdk_version
781 "android-common",
782
Zi Wang75a38e72023-02-15 22:52:47 -0800783 // checked in current.txt for merged_txts
784 "non-updatable-current.txt",
785 "non-updatable-system-current.txt",
786 "non-updatable-module-lib-current.txt",
787 "non-updatable-system-server-current.txt",
Zi Wangb31a8332023-03-06 15:21:35 -0800788
789 // for api_fingerprint.txt generation
790 "api_fingerprint",
Alixf848bf82023-03-06 19:43:55 +0000791
792 // allowlisting for kotlinx_coroutines
Liz Kammerf0ab5462023-04-04 11:38:54 -0400793 "annotations",
794 "kotlinx-coroutines-android-annotation-stubs",
795 "kotlinx-coroutines-core",
Alixf848bf82023-03-06 19:43:55 +0000796 "kotlinx_coroutines",
Romain Jobredeauxe7370ea2023-04-04 10:30:14 -0400797 "kotlinx_coroutines-device",
798 "kotlinx_coroutines-host",
Sam Delmerico9d71a842023-03-16 16:24:54 -0400799
800 // for building com.android.neuralnetworks
801 "libimapper_stablec",
802 "libimapper_providerutils",
Alixe5085eb2023-01-31 19:38:41 +0000803
804 // min_sdk_version in android_app
805 "CtsShimUpgrade",
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400806
Liz Kammerf0ab5462023-04-04 11:38:54 -0400807 "art_cmdlineparser_headers",
808
Romain Jobredeauxaa6e25d2022-08-10 10:12:59 -0400809 // Mainline Module Apps
810 "CaptivePortalLogin",
Romain Jobredeaux039fc062023-07-17 12:06:31 -0400811 "ModuleMetadata",
Sam Delmericobefbf052023-04-28 11:23:58 -0400812
813 "libstagefright_headers",
Spandan Dasebbea2a2023-05-10 02:05:43 +0000814
815 // aidl
816 "aidl",
817 "libaidl-common",
Alixb29a3cd2023-05-09 20:37:49 +0000818
819 // java_resources containing only a single filegroup
820 "libauto_value_plugin",
821 "auto_value_plugin_resources",
822 "auto_value_extension",
Spandan Dasab5f1c52023-05-19 00:18:49 +0000823
824 // Used by xsd_config
825 "xsdc",
Yu Liu2c0b8902023-06-05 11:13:00 -0700826
827 // cc_test that can be run by b test
828 "binderRpcWireProtocolTest",
829 "binderUnitTest",
830 "cpu_features-bit_utils_test",
831 "liblp_test",
832 "android.hardware.audio.common.test.utility_tests",
833 "HalAudioStreamWorkerTest",
834 "libjavacore-unit-tests",
835 "NeuralNetworksTest_utils",
836 "NeuralNetworksTest_logtag",
837 "NeuralNetworksTest_operations",
838 "nanoapp_chqts_shared_tests",
839 "fakeservicemanager_test",
840 "tristate_test",
841 "binderUtilsHostTest",
842 "run_dex2oat_test",
843 "bluetooth-address-unit-tests",
Jihoon Kangc44be962023-06-06 16:35:29 +0000844
845 // for platform_compat_config
846 "process-compat-config",
Alixe2667872023-04-24 14:57:32 +0000847
848 // cc_* modules with rscript srcs
849 "rstest-latency",
850 "libRScpp_static",
851 "rs-headers",
852 "rs_script_api",
853 "libRSDispatch",
Spandan Das0766b4f2023-07-21 17:25:31 +0000854
855 // hal_unit_tests and deps
856 "android.hardware.contexthub_interface", // created implicitly by android.hardware.contexthub
857 "chre_flatbuffers",
858 "event_logger",
859 "hal_unit_tests",
yike1aaeea32023-07-26 22:19:09 +0000860
861 "merge_annotation_zips_test",
Sam Delmerico24c56032022-03-28 19:53:03 +0000862 }
863
864 Bp2buildModuleTypeAlwaysConvertList = []string{
Spandan Dasd58630f2022-09-08 01:04:22 +0000865 "aidl_interface_headers",
Zi Wangb2179e32023-01-31 15:53:30 -0800866 "bpf",
Zi Wang75a38e72023-02-15 22:52:47 -0800867 "combined_apis",
Sasha Smundak8bea2672022-08-04 13:31:14 -0700868 "license",
Liz Kammer45faf8f2022-06-02 16:00:54 -0400869 "linker_config",
Sam Delmerico24c56032022-03-28 19:53:03 +0000870 "java_import",
871 "java_import_host",
Zi Wangb2179e32023-01-31 15:53:30 -0800872 "java_sdk_library",
Trevor Radcliffead3d1232022-09-01 16:25:10 +0000873 "sysprop_library",
Spandan Das8d6bf5e2023-05-19 00:18:49 +0000874 "xsd_config",
Sam Delmerico24c56032022-03-28 19:53:03 +0000875 }
876
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000877 // Add the names of modules that bp2build should never convert, if it is
878 // in the package allowlist. An error will be thrown if a module must
879 // not be here and in the alwaysConvert lists.
880 //
881 // For prebuilt modules (e.g. android_library_import), remember to add
882 // the "prebuilt_" prefix to the name, so that it's differentiable from
883 // the source versions within Soong's module graph.
Sam Delmerico24c56032022-03-28 19:53:03 +0000884 Bp2buildModuleDoNotConvertList = []string{
yike1aaeea32023-07-26 22:19:09 +0000885 // TODO(b/263326760): Failed already.
886 "minijail_compiler_unittest",
887 "minijail_parser_unittest",
888
Vinh Tran220fb8b2022-10-04 12:04:17 -0400889 // Depends on unconverted libandroid, libgui
890 "dvr_buffer_queue-test",
891 "dvr_display-test",
892 // Depends on unconverted libchrome
893 "pdx_benchmarks",
894 "buffer_hub_queue-test",
895 "buffer_hub_queue_producer-test",
896
Sam Delmerico24c56032022-03-28 19:53:03 +0000897 // cc bugs
Jingwen Chenf0616002022-09-01 14:28:55 +0000898
899 // TODO(b/198619163) module has same name as source
Jingwen Chenf0616002022-09-01 14:28:55 +0000900 "logtagd.rc",
901
Sam Delmerico24c56032022-03-28 19:53:03 +0000902 "libgtest_ndk_c++", "libgtest_main_ndk_c++", // TODO(b/201816222): Requires sdk_version support.
Jingwen Chen537242c2022-08-24 11:53:27 +0000903
904 // TODO(b/202876379): has arch-variant static_executable
905 "linkerconfig",
906 "mdnsd",
907 "libcutils_test_static",
908 "KernelLibcutilsTest",
909
Liz Kammerf0ab5462023-04-04 11:38:54 -0400910 "linker", // TODO(b/228316882): cc_binary uses link_crt
911 "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 -0400912
913 // requires host tools for apexer
914 "apexer_test", "apexer_test_host_tools", "host_apex_verifier",
Sam Delmerico24c56032022-03-28 19:53:03 +0000915
916 // java bugs
Jihoon Kangb06d8a52023-08-22 17:13:26 +0000917 "libbase_ndk", // TODO(b/186826477): fails to link libctscamera2_jni for device (required for CtsCameraTestCases)
918 "bouncycastle", // TODO(b/274474005): Need support for custom system_modules.
919 "bouncycastle-test-lib", // TODO(b/274474005): Reverse dependency of bouncycastle
Sam Delmerico24c56032022-03-28 19:53:03 +0000920
Sam Delmerico24c56032022-03-28 19:53:03 +0000921 // genrule incompatibilities
922 "brotli-fuzzer-corpus", // TODO(b/202015218): outputs are in location incompatible with bazel genrule handling.
923 "platform_tools_properties", "build_tools_source_properties", // TODO(b/203369847): multiple genrules in the same package creating the same file
924
925 // aar support
Chris Parsons9f0e5522022-12-08 14:12:54 -0500926 "prebuilt_car-ui-androidx-core-common", // TODO(b/224773339), genrule dependency creates an .aar, not a .jar
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000927 // ERROR: The dependencies for the following 1 jar(s) are not complete.
928 // 1.bazel-out/android_target-fastbuild/bin/prebuilts/tools/common/m2/_aar/robolectric-monitor-1.0.2-alpha1/classes_and_libs_merged.jar
929 "prebuilt_robolectric-monitor-1.0.2-alpha1",
Sam Delmerico24c56032022-03-28 19:53:03 +0000930
931 // path property for filegroups
932 "conscrypt", // TODO(b/210751803), we don't handle path property for filegroups
933 "conscrypt-for-host", // TODO(b/210751803), we don't handle path property for filegroups
934 "host-libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups
Sam Delmerico24c56032022-03-28 19:53:03 +0000935 "libprotobuf-internal-python-srcs", // TODO(b/210751803), we don't handle path property for filegroups
936 "libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups
937 "libprotobuf-java-util-full", // TODO(b/210751803), we don't handle path property for filegroups
938
939 // go deps:
Jingwen Chenf50817d2022-09-21 06:46:08 +0000940 "analyze_bcpf", // depends on bpmodify a blueprint_go_binary.
Cole Faustd82f0362023-04-12 17:32:19 -0700941 "analyze_bcpf_test", // depends on bpmodify a blueprint_go_binary.
Jingwen Chenf50817d2022-09-21 06:46:08 +0000942 "host_bionic_linker_asm", // depends on extract_linker, a go binary.
943 "host_bionic_linker_script", // depends on extract_linker, a go binary.
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000944
Sam Delmerico24c56032022-03-28 19:53:03 +0000945 // rust support
946 "libtombstoned_client_rust_bridge_code", "libtombstoned_client_wrapper", // rust conversions are not supported
947
948 // unconverted deps
Cole Faustd82f0362023-04-12 17:32:19 -0700949 "apexer_with_DCLA_preprocessing_test", // depends on unconverted modules: apexer_test_host_tools, com.android.example.apex
Trevor Radcliffeef9c9002022-05-13 20:55:35 +0000950 "adb", // depends on unconverted modules: AdbWinApi, libandroidfw, libopenscreen-discovery, libopenscreen-platform-impl, libusb, bin2c_fastdeployagent, AdbWinUsbApi
951 "android_icu4j_srcgen", // depends on unconverted modules: currysrc
952 "android_icu4j_srcgen_binary", // depends on unconverted modules: android_icu4j_srcgen, currysrc
Cole Faustd82f0362023-04-12 17:32:19 -0700953 "apex_compression_test", // depends on unconverted modules: soong_zip, com.android.example.apex
Trevor Radcliffeef9c9002022-05-13 20:55:35 +0000954 "apex_manifest_proto_java", // b/210751803, depends on libprotobuf-java-full
955 "art-script", // depends on unconverted modules: dalvikvm, dex2oat
956 "bin2c_fastdeployagent", // depends on unconverted modules: deployagent
Cole Faustd82f0362023-04-12 17:32:19 -0700957 "CarHTMLViewer", // depends on unconverted modules android.car-stubs, car-ui-lib
Sam Delmerico24c56032022-03-28 19:53:03 +0000958 "com.android.runtime", // depends on unconverted modules: bionic-linker-config, linkerconfig
Sam Delmerico24c56032022-03-28 19:53:03 +0000959 "currysrc", // depends on unconverted modules: currysrc_org.eclipse, guavalib, jopt-simple-4.9
960 "dex2oat-script", // depends on unconverted modules: dex2oat
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000961 "generated_android_icu4j_resources", // depends on unconverted modules: android_icu4j_srcgen_binary
962 "generated_android_icu4j_test_resources", // depends on unconverted modules: android_icu4j_srcgen_binary
Sam Delmerico24c56032022-03-28 19:53:03 +0000963 "host-libprotobuf-java-nano", // b/220869005, depends on libprotobuf-java-nano
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400964 "jacoco-stubs", // b/245767077, depends on droidstubs
Liz Kammer6a824f62022-08-09 13:23:01 -0400965 "libapexutil", // depends on unconverted modules: apex-info-list-tinyxml
Sam Delmerico24c56032022-03-28 19:53:03 +0000966 "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
967 "libart-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libart-compiler, libdexfile, libprofile, libartbase, libartbase-art-gtest
968 "libart_headers", // depends on unconverted modules: art_libartbase_headers
Liz Kammer3d13adc2022-08-09 09:26:54 -0400969 "libartbase-art-gtest", // depends on unconverted modules: libgtest_isolated, libart, libart-compiler, libdexfile, libprofile
970 "libartbased-art-gtest", // depends on unconverted modules: libgtest_isolated, libartd, libartd-compiler, libdexfiled, libprofiled
Chris Parsonsc149e812023-07-26 18:51:33 +0000971 "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
972 "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 +0000973 "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 +0000974 "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 +0000975 "libartd-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libartd-compiler, libdexfiled, libprofiled, libartbased, libartbased-art-gtest
Zi Wang0a8a1292022-08-30 06:27:01 +0000976 "libdebuggerd", // depends on unconverted module: libdexfile
Sam Delmerico24c56032022-03-28 19:53:03 +0000977 "libdebuggerd_handler", // depends on unconverted module libdebuggerd_handler_core
978 "libdebuggerd_handler_core", "libdebuggerd_handler_fallback", // depends on unconverted module libdebuggerd
Sam Delmerico24c56032022-03-28 19:53:03 +0000979 "libdexfiled", // depends on unconverted modules: dexfile_operator_srcs, libartbased, libartpalette
Sam Delmerico24c56032022-03-28 19:53:03 +0000980 "libgmock_main_ndk", // depends on unconverted modules: libgtest_ndk_c++
981 "libgmock_ndk", // depends on unconverted modules: libgtest_ndk_c++
982 "libnativehelper_lazy_mts_jni", "libnativehelper_mts_jni", // depends on unconverted modules: libnativetesthelper_jni, libgmock_ndk
983 "libnativetesthelper_jni", // depends on unconverted modules: libgtest_ndk_c++
Vinh Tranc3873e82022-08-23 20:33:25 -0400984 "libstatslog", // depends on unconverted modules: libstatspull, statsd-aidl-ndk
Sam Delmerico24c56032022-03-28 19:53:03 +0000985 "libstatslog_art", // depends on unconverted modules: statslog_art.cpp, statslog_art.h
986 "linker_reloc_bench_main", // depends on unconverted modules: liblinker_reloc_bench_*
Sam Delmerico847178f2022-12-15 09:36:35 -0500987 "malloc-rss-benchmark", // depends on unconverted modules: libmeminfo
Sam Delmerico24c56032022-03-28 19:53:03 +0000988 "pbtombstone", "crash_dump", // depends on libdebuggerd, libunwindstack
Cole Faustd82f0362023-04-12 17:32:19 -0700989 "releasetools_test", // depends on unconverted modules: com.android.apex.compressed.v1
Vinh Tranf19b6582022-09-21 17:01:49 -0400990 "robolectric-sqlite4java-0.282", // depends on unconverted modules: robolectric-sqlite4java-import, robolectric-sqlite4java-native
991 "static_crasher", // depends on unconverted modules: libdebuggerd_handler
992 "test_fips", // depends on unconverted modules: adb
993 "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 +0000994
Liz Kammer09d831e2022-09-16 09:02:26 -0400995 // aidl files not created
996 "overlayable_policy_aidl_interface",
997
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000998 //prebuilts/tools/common/m2
999 // depends on //external/okio:okio-lib, which uses kotlin
1000 "wire-runtime",
1001
Jingwen Chena0519422022-09-28 08:01:57 +00001002 // depends on adbd_system_api_recovery, which is a unconverted `phony` module type
1003 "minadbd",
1004
1005 // depends on android.hardware.health-V2.0-java
1006 "android.hardware.health-translate-java",
1007
Jingwen Chen263d4002023-03-29 07:15:10 +00001008 //system/libvintf
1009 // depends on apex-info-list-tinyxml, unconverted xsd_config Soong module type.
Jingwen Chen263d4002023-03-29 07:15:10 +00001010 "libassemblevintf",
1011 "assemble_vintf",
Jingwen Chen263d4002023-03-29 07:15:10 +00001012 "checkvintf",
1013
1014 // depends on audio_policy_configuration_aidl_default, xsd_config module.
1015 "libaudioserviceexampleimpl",
1016 "android.hardware.audio.service-aidl.example",
1017
1018 // depends on //system/tools/aidl/build:aidl_metadata_json, which is an aidl_interfaces_metadata custom Soong type.
1019 "aidl_metadata_in_cpp",
1020 "libaidlmetadata",
Jingwen Chen29c45612023-03-30 05:17:01 +00001021 "libaidlmetadata_test",
Jingwen Chen263d4002023-03-29 07:15:10 +00001022
1023 // depends on //system/tools/hidl/build:hidl_metadata_json, which is an hidl_interfaces_metadata custom Soong type.
1024 "hidl_metadata_in_cpp",
1025 "libhidlmetadata",
Jingwen Chen29c45612023-03-30 05:17:01 +00001026 "hidl_metadata_test",
Jingwen Chen263d4002023-03-29 07:15:10 +00001027
Jingwen Chen537242c2022-08-24 11:53:27 +00001028 // cc_test related.
Jingwen Chenb5edbf92023-03-20 13:17:49 +00001029 // b/274164834 "Could not open Configuration file test.cfg"
1030 "svcenc", "svcdec",
1031
Jingwen Chen537242c2022-08-24 11:53:27 +00001032 // Failing host cc_tests
Jingwen Chen537242c2022-08-24 11:53:27 +00001033 "gtest_isolated_tests",
1034 "libunwindstack_unit_test",
Jingwen Chen537242c2022-08-24 11:53:27 +00001035 "power_tests", // failing test on server, but not on host
1036
1037 // reflect: call of reflect.Value.NumField on interface Value
1038 // affects all cc_tests that depend on art_defaults
1039 "libnativebridge-tests",
1040 "libnativeloader_test",
1041 "art_libnativebridge_cts_tests",
1042 "art_standalone_libdexfile_external_tests",
1043 "art_standalone_libdexfile_support_tests",
1044 "libnativebridge-lazy-tests",
1045 "libnativebridge-test-case",
1046 "libnativebridge2-test-case",
1047 "libnativebridge3-test-case",
1048 "libnativebridge6-test-case",
1049 "libnativebridge6prezygotefork",
1050
Yu Liu9cb66d02023-07-21 17:23:35 -07001051 "libandroidfw_tests", // failing due to data path issues
Liz Kammer09d831e2022-09-16 09:02:26 -04001052
Jingwen Chena485d092023-04-20 12:34:08 +00001053 // error: overriding commands for target
1054 // `out/host/linux-x86/nativetest64/gmock_tests/gmock_tests__cc_runner_test',
1055 // previously defined at out/soong/installs-aosp_arm.mk:64919`
1056 "gmock_tests",
1057
Jingwen Chen537242c2022-08-24 11:53:27 +00001058 // cc_test with unconverted deps, or are device-only (and not verified to pass yet)
1059 "AMRWBEncTest",
Sam Delmericobefbf052023-04-28 11:23:58 -04001060 "AmrnbDecoderTest", // depends on unconverted modules: libaudioutils, libsndfile
1061 "AmrnbEncoderTest", // depends on unconverted modules: libaudioutils, libsndfile
1062 "AmrwbDecoderTest", // depends on unconverted modules: libsndfile, libaudioutils
1063 "AmrwbEncoderTest", // depends on unconverted modules: libaudioutils, libsndfile
1064 "Mp3DecoderTest", // depends on unconverted modules: libsndfile, libaudioutils
Jingwen Chen537242c2022-08-24 11:53:27 +00001065 "avcdec",
1066 "avcenc",
1067 "bionic-benchmarks-tests",
1068 "bionic-fortify-runtime-asan-test",
1069 "bionic-stress-tests",
1070 "bionic-unit-tests",
1071 "bionic-unit-tests-glibc",
1072 "bionic-unit-tests-static",
1073 "boringssl_crypto_test",
1074 "boringssl_ssl_test",
Yu Liu1d03d172023-07-19 21:33:33 +00001075 "boringssl_test_support", //b/244431896
Jingwen Chen537242c2022-08-24 11:53:27 +00001076 "cfi_test_helper",
1077 "cfi_test_helper2",
1078 "cintltst32",
1079 "cintltst64",
1080 "compare",
1081 "cpuid",
1082 "debuggerd_test", // depends on unconverted modules: libdebuggerd
1083 "elftls_dlopen_ie_error_helper",
1084 "exec_linker_helper",
1085 "fastdeploy_test", // depends on unconverted modules: AdbWinApi, libadb_host, libandroidfw, libfastdeploy_host, libopenscreen-discovery, libopenscreen-platform-impl, libusb
1086 "fdtrack_test",
1087 "google-benchmark-test",
1088 "googletest-param-test-test_ndk", // depends on unconverted modules: libgtest_ndk_c++
1089 "gtest-typed-test_test",
1090 "gtest-typed-test_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
1091 "gtest_ndk_tests", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
1092 "gtest_ndk_tests_no_main", // depends on unconverted modules: libgtest_ndk_c++
1093 "gtest_prod_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
1094 "gtest_tests",
1095 "gtest_tests_no_main",
1096 "gwp_asan_unittest",
1097 "half_test",
1098 "hashcombine_test",
1099 "hevcdec",
1100 "hevcenc",
1101 "hwbinderThroughputTest", // depends on unconverted modules: android.hardware.tests.libhwbinder@1.0-impl.test, android.hardware.tests.libhwbinder@1.0
1102 "i444tonv12_eg",
1103 "icu4c_sample_break",
1104 "intltest32",
1105 "intltest64",
1106 "ion-unit-tests",
1107 "jemalloc5_integrationtests",
1108 "jemalloc5_unittests",
Yu Liucb916322023-08-10 10:58:01 -07001109 "jemalloc5_stresstests", // run by run_jemalloc_tests.sh and will be deleted after V
Jingwen Chen537242c2022-08-24 11:53:27 +00001110 "ld_config_test_helper",
1111 "ld_preload_test_helper",
1112 "libBionicCtsGtestMain", // depends on unconverted modules: libgtest_isolated
1113 "libBionicLoaderTests", // depends on unconverted modules: libmeminfo
1114 "libapexutil_tests", // depends on unconverted modules: apex-info-list-tinyxml, libapexutil
Jingwen Chen537242c2022-08-24 11:53:27 +00001115 "libcutils_sockets_test",
Jingwen Chen537242c2022-08-24 11:53:27 +00001116 "libhwbinder_latency",
Jingwen Chenf0616002022-09-01 14:28:55 +00001117 "liblog-host-test", // failing tests
Jingwen Chen537242c2022-08-24 11:53:27 +00001118 "libminijail_test",
1119 "libminijail_unittest_gtest",
1120 "libpackagelistparser_test",
1121 "libprotobuf_vendor_suffix_test",
1122 "libstagefright_amrnbdec_test", // depends on unconverted modules: libsndfile, libaudioutils
1123 "libstagefright_amrnbenc_test",
1124 "libstagefright_amrwbdec_test", // depends on unconverted modules: libsndfile, libaudioutils
1125 "libstagefright_m4vh263enc_test",
1126 "libstagefright_mp3dec_test", // depends on unconverted modules: libsndfile, libaudioutils
1127 "libstatssocket_test",
1128 "libvndksupport-tests",
1129 "libyuv_unittest",
1130 "linker-unit-tests",
1131 "malloc_debug_system_tests",
1132 "malloc_debug_unit_tests",
1133 "malloc_hooks_system_tests",
1134 "mat_test",
1135 "mathtest",
1136 "memunreachable_binder_test", // depends on unconverted modules: libbinder
1137 "memunreachable_test",
1138 "metadata_tests",
Jingwen Chen537242c2022-08-24 11:53:27 +00001139 "mpeg2dec",
1140 "mvcdec",
1141 "ns_hidden_child_helper",
1142 "pngtest",
1143 "preinit_getauxval_test_helper",
1144 "preinit_syscall_test_helper",
1145 "psnr",
1146 "quat_test",
1147 "rappor-tests", // depends on unconverted modules: jsr305, guava
1148 "scudo_unit_tests",
1149 "stats-log-api-gen-test", // depends on unconverted modules: libstats_proto_host
Jingwen Chen537242c2022-08-24 11:53:27 +00001150 "thread_exit_cb_helper",
1151 "tls_properties_helper",
1152 "ulp",
1153 "vec_test",
1154 "yuvconstants",
1155 "yuvconvert",
Jingwen Chen537242c2022-08-24 11:53:27 +00001156
1157 // cc_test_library
1158 "clang_diagnostic_tests",
1159 "exec_linker_helper_lib",
1160 "fortify_disabled_for_tidy",
1161 "ld_config_test_helper_lib1",
1162 "ld_config_test_helper_lib2",
1163 "ld_config_test_helper_lib3",
1164 "ld_preload_test_helper_lib1",
1165 "ld_preload_test_helper_lib2",
1166 "libBionicElfTlsLoaderTests",
1167 "libBionicElfTlsTests",
1168 "libBionicElfTlsTests",
1169 "libBionicFramePointerTests",
1170 "libBionicFramePointerTests",
1171 "libBionicStandardTests",
1172 "libBionicStandardTests",
1173 "libBionicTests",
1174 "libart-broken",
1175 "libatest_simple_zip",
1176 "libcfi-test",
1177 "libcfi-test-bad",
1178 "libcrash_test",
Liz Kammerf6275092023-04-11 11:06:07 -04001179 "libcrypto_fuzz_unsafe",
Jingwen Chen537242c2022-08-24 11:53:27 +00001180 "libdl_preempt_test_1",
1181 "libdl_preempt_test_2",
1182 "libdl_test_df_1_global",
1183 "libdlext_test",
1184 "libdlext_test_different_soname",
1185 "libdlext_test_fd",
1186 "libdlext_test_norelro",
1187 "libdlext_test_recursive",
1188 "libdlext_test_zip",
Vinh Tran220fb8b2022-10-04 12:04:17 -04001189 "libdvrcommon_test",
Jingwen Chen537242c2022-08-24 11:53:27 +00001190 "libfortify1-new-tests-clang",
1191 "libfortify1-new-tests-clang",
1192 "libfortify1-tests-clang",
1193 "libfortify1-tests-clang",
1194 "libfortify2-new-tests-clang",
1195 "libfortify2-new-tests-clang",
1196 "libfortify2-tests-clang",
1197 "libfortify2-tests-clang",
1198 "libgnu-hash-table-library",
1199 "libicutest_static",
1200 "liblinker_reloc_bench_000",
1201 "liblinker_reloc_bench_001",
1202 "liblinker_reloc_bench_002",
1203 "liblinker_reloc_bench_003",
1204 "liblinker_reloc_bench_004",
1205 "liblinker_reloc_bench_005",
1206 "liblinker_reloc_bench_006",
1207 "liblinker_reloc_bench_007",
1208 "liblinker_reloc_bench_008",
1209 "liblinker_reloc_bench_009",
1210 "liblinker_reloc_bench_010",
1211 "liblinker_reloc_bench_011",
1212 "liblinker_reloc_bench_012",
1213 "liblinker_reloc_bench_013",
1214 "liblinker_reloc_bench_014",
1215 "liblinker_reloc_bench_015",
1216 "liblinker_reloc_bench_016",
1217 "liblinker_reloc_bench_017",
1218 "liblinker_reloc_bench_018",
1219 "liblinker_reloc_bench_019",
1220 "liblinker_reloc_bench_020",
1221 "liblinker_reloc_bench_021",
1222 "liblinker_reloc_bench_022",
1223 "liblinker_reloc_bench_023",
1224 "liblinker_reloc_bench_024",
1225 "liblinker_reloc_bench_025",
1226 "liblinker_reloc_bench_026",
1227 "liblinker_reloc_bench_027",
1228 "liblinker_reloc_bench_028",
1229 "liblinker_reloc_bench_029",
1230 "liblinker_reloc_bench_030",
1231 "liblinker_reloc_bench_031",
1232 "liblinker_reloc_bench_032",
1233 "liblinker_reloc_bench_033",
1234 "liblinker_reloc_bench_034",
1235 "liblinker_reloc_bench_035",
1236 "liblinker_reloc_bench_036",
1237 "liblinker_reloc_bench_037",
1238 "liblinker_reloc_bench_038",
1239 "liblinker_reloc_bench_039",
1240 "liblinker_reloc_bench_040",
1241 "liblinker_reloc_bench_041",
1242 "liblinker_reloc_bench_042",
1243 "liblinker_reloc_bench_043",
1244 "liblinker_reloc_bench_044",
1245 "liblinker_reloc_bench_045",
1246 "liblinker_reloc_bench_046",
1247 "liblinker_reloc_bench_047",
1248 "liblinker_reloc_bench_048",
1249 "liblinker_reloc_bench_049",
1250 "liblinker_reloc_bench_050",
1251 "liblinker_reloc_bench_051",
1252 "liblinker_reloc_bench_052",
1253 "liblinker_reloc_bench_053",
1254 "liblinker_reloc_bench_054",
1255 "liblinker_reloc_bench_055",
1256 "liblinker_reloc_bench_056",
1257 "liblinker_reloc_bench_057",
1258 "liblinker_reloc_bench_058",
1259 "liblinker_reloc_bench_059",
1260 "liblinker_reloc_bench_060",
1261 "liblinker_reloc_bench_061",
1262 "liblinker_reloc_bench_062",
1263 "liblinker_reloc_bench_063",
1264 "liblinker_reloc_bench_064",
1265 "liblinker_reloc_bench_065",
1266 "liblinker_reloc_bench_066",
1267 "liblinker_reloc_bench_067",
1268 "liblinker_reloc_bench_068",
1269 "liblinker_reloc_bench_069",
1270 "liblinker_reloc_bench_070",
1271 "liblinker_reloc_bench_071",
1272 "liblinker_reloc_bench_072",
1273 "liblinker_reloc_bench_073",
1274 "liblinker_reloc_bench_074",
1275 "liblinker_reloc_bench_075",
1276 "liblinker_reloc_bench_076",
1277 "liblinker_reloc_bench_077",
1278 "liblinker_reloc_bench_078",
1279 "liblinker_reloc_bench_079",
1280 "liblinker_reloc_bench_080",
1281 "liblinker_reloc_bench_081",
1282 "liblinker_reloc_bench_082",
1283 "liblinker_reloc_bench_083",
1284 "liblinker_reloc_bench_084",
1285 "liblinker_reloc_bench_085",
1286 "liblinker_reloc_bench_086",
1287 "liblinker_reloc_bench_087",
1288 "liblinker_reloc_bench_088",
1289 "liblinker_reloc_bench_089",
1290 "liblinker_reloc_bench_090",
1291 "liblinker_reloc_bench_091",
1292 "liblinker_reloc_bench_092",
1293 "liblinker_reloc_bench_093",
1294 "liblinker_reloc_bench_094",
1295 "liblinker_reloc_bench_095",
1296 "liblinker_reloc_bench_096",
1297 "liblinker_reloc_bench_097",
1298 "liblinker_reloc_bench_098",
1299 "liblinker_reloc_bench_099",
1300 "liblinker_reloc_bench_100",
1301 "liblinker_reloc_bench_101",
1302 "liblinker_reloc_bench_102",
1303 "liblinker_reloc_bench_103",
1304 "liblinker_reloc_bench_104",
1305 "liblinker_reloc_bench_105",
1306 "liblinker_reloc_bench_106",
1307 "liblinker_reloc_bench_107",
1308 "liblinker_reloc_bench_108",
1309 "liblinker_reloc_bench_109",
1310 "liblinker_reloc_bench_110",
1311 "liblinker_reloc_bench_111",
1312 "liblinker_reloc_bench_112",
1313 "liblinker_reloc_bench_113",
1314 "liblinker_reloc_bench_114",
1315 "liblinker_reloc_bench_115",
1316 "liblinker_reloc_bench_116",
1317 "liblinker_reloc_bench_117",
1318 "liblinker_reloc_bench_118",
1319 "liblinker_reloc_bench_119",
1320 "liblinker_reloc_bench_120",
1321 "liblinker_reloc_bench_121",
1322 "liblinker_reloc_bench_122",
1323 "liblinker_reloc_bench_123",
1324 "liblinker_reloc_bench_124",
1325 "liblinker_reloc_bench_125",
1326 "liblinker_reloc_bench_126",
1327 "liblinker_reloc_bench_127",
1328 "liblinker_reloc_bench_128",
1329 "liblinker_reloc_bench_129",
1330 "liblinker_reloc_bench_130",
1331 "liblinker_reloc_bench_131",
1332 "liblinker_reloc_bench_132",
1333 "liblinker_reloc_bench_133",
1334 "liblinker_reloc_bench_134",
1335 "liblinker_reloc_bench_135",
1336 "liblinker_reloc_bench_136",
1337 "liblinker_reloc_bench_137",
1338 "liblinker_reloc_bench_138",
1339 "liblinker_reloc_bench_139",
1340 "liblinker_reloc_bench_140",
1341 "liblinker_reloc_bench_141",
1342 "liblinker_reloc_bench_142",
1343 "liblinker_reloc_bench_143",
1344 "liblinker_reloc_bench_144",
1345 "liblinker_reloc_bench_145",
1346 "liblinker_reloc_bench_146",
1347 "liblinker_reloc_bench_147",
1348 "liblinker_reloc_bench_148",
1349 "liblinker_reloc_bench_149",
1350 "liblinker_reloc_bench_150",
1351 "liblinker_reloc_bench_151",
1352 "liblinker_reloc_bench_152",
1353 "liblinker_reloc_bench_153",
1354 "liblinker_reloc_bench_154",
1355 "liblinker_reloc_bench_155",
1356 "liblinker_reloc_bench_156",
1357 "liblinker_reloc_bench_157",
1358 "liblinker_reloc_bench_158",
1359 "liblinker_reloc_bench_159",
1360 "liblinker_reloc_bench_160",
1361 "liblinker_reloc_bench_161",
1362 "liblinker_reloc_bench_162",
1363 "liblinker_reloc_bench_163",
1364 "liblinker_reloc_bench_164",
1365 "liblinker_reloc_bench_165",
1366 "liblinker_reloc_bench_166",
1367 "liblinker_reloc_bench_167",
1368 "liblinker_reloc_bench_168",
1369 "libns_hidden_child_app",
1370 "libns_hidden_child_global",
1371 "libns_hidden_child_internal",
1372 "libns_hidden_child_public",
1373 "libnstest_dlopened",
1374 "libnstest_ns_a_public1",
1375 "libnstest_ns_a_public1_internal",
1376 "libnstest_ns_b_public2",
1377 "libnstest_ns_b_public3",
1378 "libnstest_private",
1379 "libnstest_private_external",
1380 "libnstest_public",
1381 "libnstest_public_internal",
1382 "libnstest_root",
1383 "libnstest_root_not_isolated",
1384 "librelocations-ANDROID_REL",
1385 "librelocations-ANDROID_RELR",
1386 "librelocations-RELR",
1387 "librelocations-fat",
1388 "libsegment_gap_inner",
1389 "libsegment_gap_outer",
Liz Kammerf6275092023-04-11 11:06:07 -04001390 "libssl_fuzz_unsafe",
Jingwen Chen537242c2022-08-24 11:53:27 +00001391 "libstatssocket_private",
1392 "libsysv-hash-table-library",
1393 "libtest_atexit",
1394 "libtest_check_order_dlsym",
1395 "libtest_check_order_dlsym_1_left",
1396 "libtest_check_order_dlsym_2_right",
1397 "libtest_check_order_dlsym_3_c",
1398 "libtest_check_order_dlsym_a",
1399 "libtest_check_order_dlsym_b",
1400 "libtest_check_order_dlsym_d",
1401 "libtest_check_order_reloc_root",
1402 "libtest_check_order_reloc_root_1",
1403 "libtest_check_order_reloc_root_2",
1404 "libtest_check_order_reloc_siblings",
1405 "libtest_check_order_reloc_siblings_1",
1406 "libtest_check_order_reloc_siblings_2",
1407 "libtest_check_order_reloc_siblings_3",
1408 "libtest_check_order_reloc_siblings_a",
1409 "libtest_check_order_reloc_siblings_b",
1410 "libtest_check_order_reloc_siblings_c",
1411 "libtest_check_order_reloc_siblings_c_1",
1412 "libtest_check_order_reloc_siblings_c_2",
1413 "libtest_check_order_reloc_siblings_d",
1414 "libtest_check_order_reloc_siblings_e",
1415 "libtest_check_order_reloc_siblings_f",
1416 "libtest_check_rtld_next_from_library",
1417 "libtest_dlopen_df_1_global",
1418 "libtest_dlopen_from_ctor",
1419 "libtest_dlopen_from_ctor_main",
1420 "libtest_dlopen_weak_undefined_func",
1421 "libtest_dlsym_df_1_global",
1422 "libtest_dlsym_from_this",
1423 "libtest_dlsym_from_this_child",
1424 "libtest_dlsym_from_this_grandchild",
1425 "libtest_dlsym_weak_func",
1426 "libtest_dt_runpath_a",
1427 "libtest_dt_runpath_b",
1428 "libtest_dt_runpath_c",
1429 "libtest_dt_runpath_d",
1430 "libtest_dt_runpath_d_zip",
1431 "libtest_dt_runpath_x",
1432 "libtest_dt_runpath_y",
1433 "libtest_elftls_dynamic",
1434 "libtest_elftls_dynamic_filler_1",
1435 "libtest_elftls_dynamic_filler_2",
1436 "libtest_elftls_dynamic_filler_3",
1437 "libtest_elftls_shared_var",
1438 "libtest_elftls_shared_var_ie",
1439 "libtest_elftls_tprel",
1440 "libtest_empty",
1441 "libtest_ifunc",
1442 "libtest_ifunc_variable",
1443 "libtest_ifunc_variable_impl",
1444 "libtest_indirect_thread_local_dtor",
1445 "libtest_init_fini_order_child",
1446 "libtest_init_fini_order_grand_child",
1447 "libtest_init_fini_order_root",
1448 "libtest_init_fini_order_root2",
1449 "libtest_missing_symbol",
1450 "libtest_missing_symbol_child_private",
1451 "libtest_missing_symbol_child_public",
1452 "libtest_missing_symbol_root",
1453 "libtest_nodelete_1",
1454 "libtest_nodelete_2",
1455 "libtest_nodelete_dt_flags_1",
1456 "libtest_pthread_atfork",
1457 "libtest_relo_check_dt_needed_order",
1458 "libtest_relo_check_dt_needed_order_1",
1459 "libtest_relo_check_dt_needed_order_2",
1460 "libtest_simple",
1461 "libtest_thread_local_dtor",
1462 "libtest_thread_local_dtor2",
1463 "libtest_two_parents_child",
1464 "libtest_two_parents_parent1",
1465 "libtest_two_parents_parent2",
1466 "libtest_versioned_lib",
1467 "libtest_versioned_libv1",
1468 "libtest_versioned_libv2",
1469 "libtest_versioned_otherlib",
1470 "libtest_versioned_otherlib_empty",
1471 "libtest_versioned_uselibv1",
1472 "libtest_versioned_uselibv2",
1473 "libtest_versioned_uselibv2_other",
1474 "libtest_versioned_uselibv3_other",
1475 "libtest_with_dependency",
1476 "libtest_with_dependency_loop",
1477 "libtest_with_dependency_loop_a",
1478 "libtest_with_dependency_loop_b",
1479 "libtest_with_dependency_loop_b_tmp",
1480 "libtest_with_dependency_loop_c",
1481 "libtestshared",
Vinh Tran583a07d2022-09-20 17:25:34 -04001482
1483 // depends on unconverted libprotobuf-java-nano
1484 "dnsresolverprotosnano",
1485 "launcherprotosnano",
1486 "datastallprotosnano",
1487 "devicepolicyprotosnano",
Wei Li7d8f6182022-10-11 14:38:16 -07001488 "ota_metadata_proto_java",
1489 "merge_ota",
1490
1491 // releasetools
Wei Li7d8f6182022-10-11 14:38:16 -07001492 "verity_utils",
1493 "check_ota_package_signature",
1494 "check_target_files_vintf",
1495 "releasetools_check_target_files_vintf",
Wei Li7d8f6182022-10-11 14:38:16 -07001496 "ota_from_target_files",
1497 "releasetools_ota_from_target_files",
Wei Li7d8f6182022-10-11 14:38:16 -07001498 "add_img_to_target_files",
1499 "releasetools_add_img_to_target_files",
1500 "fsverity_metadata_generator",
1501 "sign_target_files_apks",
1502
1503 // depends on the support of yacc file
1504 "libapplypatch",
1505 "libapplypatch_modes",
1506 "applypatch",
Yu Liu6c999ef2022-10-19 16:41:10 +00001507
1508 // TODO(b/254476335): disable the following due to this bug
1509 "libapexinfo",
1510 "libapexinfo_tests",
Colin Cross20c89f12022-12-05 16:47:44 -08001511
1512 // uses glob in $(locations)
1513 "libc_musl_sysroot",
Kevin Dagostino2c3be412023-02-07 04:10:27 +00001514
1515 // TODO(b/266459895): depends on libunwindstack
1516 "libutils_test",
Romain Jobredeaux2eef2e12023-02-24 12:07:08 -05001517
Cole Faustd82f0362023-04-12 17:32:19 -07001518 // Has dependencies on other tools like ziptool, bp2build'd data properties don't work with these tests atm
1519 "ziparchive_tests_large",
1520 "mkbootimg_test",
1521 "certify_bootimg_test",
1522
1523 // Despite being _host module types, these require devices to run
1524 "logd_integration_test",
1525 "mobly-hello-world-test",
1526 "mobly-multidevice-test",
1527
Romain Jobredeaux2eef2e12023-02-24 12:07:08 -05001528 // TODO(b/274805756): Support core_platform and current java APIs
1529 "fake-framework",
1530
1531 // TODO(b/277616982): These modules depend on private java APIs, but maybe they don't need to.
1532 "StreamingProtoTest",
1533 "textclassifierprotoslite",
1534 "styleprotoslite",
1535 "CtsPkgInstallerConstants",
1536 "guava-android-testlib",
Sam Delmericobefbf052023-04-28 11:23:58 -04001537
1538 "MetaDataBaseUnitTest", // depends on libstagefright
1539 "AVCUtilsUnitTest", // depends on libstagefright
1540 "ColorUtilsTest", // depends on libmediandk
Wei Li74e3e002023-04-26 12:15:55 -07001541
1542 // python_test_host with test data
1543 "sbom_writers_test",
Zi Wang65b36722023-05-23 15:18:33 -07001544
1545 // TODO(B/283193845): tradefed and its java_test_host dependents
1546 "tradefed",
1547 "permissive_mte_test",
1548 "ICU4CTestRunner",
Usta (Tsering) Shrestha1205d712023-06-20 16:46:59 +00001549 "DeviceLongPollingStubTest",
Liz Kammer01c09ca2023-08-09 15:47:54 -04001550 "FastDeployHostTests",
Zi Wang65b36722023-05-23 15:18:33 -07001551
Sam Delmericoa8a10862023-06-12 14:37:56 -04001552 "libprotobuf-full-test", // TODO(b/246997908): cannot convert proto_libraries which implicitly include other srcs in the same directory
1553 "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 -04001554
Jason Wu5d5a3bb2023-06-14 13:24:24 -04001555 "logcat", // TODO(b/246997908): cannot convert proto_libraries which implicitly include other srcs in the same directory
1556
Jason Wuee51c542023-06-13 14:54:56 -04001557 "expresscatalogvalidator", // TODO(b/246997908): cannot convert proto_libraries which implicitly include other srcs in the same directory
1558
Sam Delmerico96c15502023-06-12 16:09:09 -04001559 // depends on other //art modules
1560 "libart-for-test",
1561 "libart_generated_headers",
1562 "libart-runtime-gtest",
1563 "libartd-runtime-gtest",
Yu Liub6e0a642023-08-09 23:42:23 +00001564 "libart-unstripped",
1565
1566 // depends on libart-unstripped and new module type llvm_prebuilt_build_tool
1567 "check_cfi",
Jihoon Kang49defa62023-08-22 19:43:59 +00001568
1569 // TODO(b/297070571): cannot convert prebuilts_etc module which possess identical name and src properties
1570 "boringssl_self_test.zygote64.rc",
1571 "boringssl_self_test.zygote64_32.rc",
Jihoon Kangf51ec392023-08-23 05:24:02 +00001572
1573 // depends on unconverted module tradefed
1574 "HelloWorldPerformanceTest",
Romain Jobredeaux890d6ea2023-08-23 10:53:07 -04001575
1576 // r8 is a java_binary, which creates an implicit "r8.jar" target, but the
1577 // same package contains a "r8.jar" file which gets overshadowed by the implicit target.
1578 // We don't need this target as we're not using the Soong wrapper for now
1579 "r8",
Jihoon Kang04b7d802023-08-23 22:10:15 +00001580
1581 // Depends on the module defined in the directory not bp2build default allowed
1582 "ota_from_raw_img",
Sam Delmerico24c56032022-03-28 19:53:03 +00001583 }
1584
Chris Parsons66fc7452022-11-04 13:26:17 -04001585 // Bazel prod-mode allowlist. Modules in this list are built by Bazel
1586 // in either prod mode or staging mode.
Jingwen Chen889f2f22022-12-16 08:16:01 +00001587 ProdMixedBuildsEnabledList = []string{
Jingwen Chen01addfc2023-03-13 12:49:52 +00001588 // M5: tzdata launch
Jingwen Chen889f2f22022-12-16 08:16:01 +00001589 "com.android.tzdata",
1590 "test1_com.android.tzdata",
Jingwen Chen61342112023-04-11 08:49:01 +00001591 "test3_com.android.tzdata",
Jingwen Chen01addfc2023-03-13 12:49:52 +00001592 // M7: adbd launch
Jingwen Chen98bf5cc2022-12-14 13:27:25 +00001593 "com.android.adbd",
1594 "test_com.android.adbd",
1595 "adbd_test",
1596 "adb_crypto_test",
1597 "adb_pairing_auth_test",
1598 "adb_pairing_connection_test",
1599 "adb_tls_connection_test",
Jingwen Chen01addfc2023-03-13 12:49:52 +00001600 // M9: mixed builds for mainline trains launch
1601 "api_fingerprint",
Sam Delmerico96e53702023-04-07 15:09:37 -04001602 // M11: neuralnetworks launch
1603 "com.android.neuralnetworks",
1604 "test_com.android.neuralnetworks",
1605 "libneuralnetworks",
1606 "libneuralnetworks_static",
Trevor Radcliffe06101242023-06-29 22:30:18 +00001607 // M13: media.swcodec launch
1608 "com.android.media.swcodec",
1609 "test_com.android.media.swcodec",
1610 "libstagefright_foundation",
1611 "libcodec2_hidl@1.0",
1612 }
Yu Liub1274232023-06-21 22:37:32 +00001613
Trevor Radcliffee3c6a292023-07-07 19:29:04 +00001614 // Staging-mode allowlist. Modules in this list are only built
1615 // by Bazel with --bazel-mode-staging. This list should contain modules
1616 // which will soon be added to the prod allowlist.
1617 // It is implicit that all modules in ProdMixedBuildsEnabledList will
1618 // also be built - do not add them to this list.
1619 StagingMixedBuildsEnabledList = []string{}
1620
Yu Liue4312402023-01-18 09:15:31 -08001621 // These should be the libs that are included by the apexes in the ProdMixedBuildsEnabledList
Jingwen Chen01addfc2023-03-13 12:49:52 +00001622 ProdDclaMixedBuildsEnabledList = []string{
Yu Liue4312402023-01-18 09:15:31 -08001623 "libbase",
1624 "libc++",
1625 "libcrypto",
1626 "libcutils",
Trevor Radcliffe06101242023-06-29 22:30:18 +00001627 "libstagefright_flacdec",
1628 "libutils",
1629 }
Yu Liub1274232023-06-21 22:37:32 +00001630
Trevor Radcliffee3c6a292023-07-07 19:29:04 +00001631 // These should be the libs that are included by the apexes in the StagingMixedBuildsEnabledList
1632 StagingDclaMixedBuildsEnabledList = []string{}
1633
Yu Liue4312402023-01-18 09:15:31 -08001634 // TODO(b/269342245): Enable the rest of the DCLA libs
1635 // "libssl",
Jeongik Chae114e602023-03-19 00:12:39 +09001636
Jeongik Chab745e2e2023-04-11 14:28:43 +09001637 // The list of module types which are expected to spend lots of build time.
1638 // With `--ninja_weight_source=soong`, ninja builds these module types and deps first.
1639 HugeModuleTypePrefixMap = map[string]int{
1640 "rust_": HIGH_PRIORITIZED_WEIGHT,
1641 "droidstubs": DEFAULT_PRIORITIZED_WEIGHT,
1642 "art_": DEFAULT_PRIORITIZED_WEIGHT,
1643 "ndk_library": DEFAULT_PRIORITIZED_WEIGHT,
Jeongik Chae114e602023-03-19 00:12:39 +09001644 }
Cole Faustbc65a3f2023-08-01 16:38:55 +00001645
1646 BazelSandwichTargets = []struct {
1647 Label string
1648 Host bool
1649 }{
1650 {
1651 Label: "//build/bazel/examples/partitions:system_image",
1652 Host: false,
1653 },
Cole Faust39b614a2023-08-23 16:11:26 -07001654 {
1655 Label: "//build/bazel/examples/partitions:run_test",
1656 Host: false,
1657 },
Cole Faustbc65a3f2023-08-01 16:38:55 +00001658 }
Sam Delmerico24c56032022-03-28 19:53:03 +00001659)