blob: 40e366e8811f1d8a3d4103a39f8fc1575f853cbf [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
36)
37
38var (
39 Bp2buildDefaultConfig = Bp2BuildConfig{
Sasha Smundak8bea2672022-08-04 13:31:14 -070040 "art": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040041 "art/libartbase": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +000042 "art/libartpalette": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040043 "art/libdexfile": Bp2BuildDefaultTrueRecursively,
44 "art/libnativebridge": Bp2BuildDefaultTrueRecursively,
45 "art/runtime": Bp2BuildDefaultTrueRecursively,
46 "art/tools": Bp2BuildDefaultTrue,
47 "bionic": Bp2BuildDefaultTrueRecursively,
48 "bootable/recovery/tools/recovery_l10n": Bp2BuildDefaultTrue,
49
Cole Faust324a92e2022-08-23 15:29:05 -070050 "build/bazel": Bp2BuildDefaultTrueRecursively,
51 "build/make/target/product/security": Bp2BuildDefaultTrue,
52 "build/make/tools/signapk": Bp2BuildDefaultTrue,
53 "build/make/tools/zipalign": Bp2BuildDefaultTrueRecursively,
54 "build/soong": Bp2BuildDefaultTrue,
55 "build/soong/cc/libbuildversion": Bp2BuildDefaultTrue, // Skip tests subdir
56 "build/soong/cc/ndkstubgen": Bp2BuildDefaultTrue,
57 "build/soong/cc/symbolfile": Bp2BuildDefaultTrue,
Sasha Smundak8bea2672022-08-04 13:31:14 -070058 "build/soong/licenses": Bp2BuildDefaultTrue,
Cole Faust324a92e2022-08-23 15:29:05 -070059 "build/soong/linkerconfig": Bp2BuildDefaultTrueRecursively,
60 "build/soong/scripts": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040061
62 "cts/common/device-side/nativetesthelper/jni": Bp2BuildDefaultTrueRecursively,
63 "development/apps/DevelopmentSettings": Bp2BuildDefaultTrue,
64 "development/apps/Fallback": Bp2BuildDefaultTrue,
65 "development/apps/WidgetPreview": Bp2BuildDefaultTrue,
66 "development/samples/BasicGLSurfaceView": Bp2BuildDefaultTrue,
67 "development/samples/BluetoothChat": Bp2BuildDefaultTrue,
68 "development/samples/BrokenKeyDerivation": Bp2BuildDefaultTrue,
69 "development/samples/Compass": Bp2BuildDefaultTrue,
70 "development/samples/ContactManager": Bp2BuildDefaultTrue,
71 "development/samples/FixedGridLayout": Bp2BuildDefaultTrue,
72 "development/samples/HelloEffects": Bp2BuildDefaultTrue,
73 "development/samples/Home": Bp2BuildDefaultTrue,
74 "development/samples/HoneycombGallery": Bp2BuildDefaultTrue,
75 "development/samples/JetBoy": Bp2BuildDefaultTrue,
76 "development/samples/KeyChainDemo": Bp2BuildDefaultTrue,
77 "development/samples/LceDemo": Bp2BuildDefaultTrue,
78 "development/samples/LunarLander": Bp2BuildDefaultTrue,
79 "development/samples/MultiResolution": Bp2BuildDefaultTrue,
80 "development/samples/MultiWindow": Bp2BuildDefaultTrue,
81 "development/samples/NotePad": Bp2BuildDefaultTrue,
82 "development/samples/Obb": Bp2BuildDefaultTrue,
83 "development/samples/RSSReader": Bp2BuildDefaultTrue,
84 "development/samples/ReceiveShareDemo": Bp2BuildDefaultTrue,
85 "development/samples/SearchableDictionary": Bp2BuildDefaultTrue,
86 "development/samples/SipDemo": Bp2BuildDefaultTrue,
87 "development/samples/SkeletonApp": Bp2BuildDefaultTrue,
88 "development/samples/Snake": Bp2BuildDefaultTrue,
89 "development/samples/SpellChecker/": Bp2BuildDefaultTrueRecursively,
90 "development/samples/ThemedNavBarKeyboard": Bp2BuildDefaultTrue,
91 "development/samples/ToyVpn": Bp2BuildDefaultTrue,
92 "development/samples/TtsEngine": Bp2BuildDefaultTrue,
93 "development/samples/USB/AdbTest": Bp2BuildDefaultTrue,
94 "development/samples/USB/MissileLauncher": Bp2BuildDefaultTrue,
95 "development/samples/VoiceRecognitionService": Bp2BuildDefaultTrue,
96 "development/samples/VoicemailProviderDemo": Bp2BuildDefaultTrue,
97 "development/samples/WiFiDirectDemo": Bp2BuildDefaultTrue,
98 "development/sdk": Bp2BuildDefaultTrueRecursively,
99
100 "external/aac": Bp2BuildDefaultTrueRecursively,
101 "external/arm-optimized-routines": Bp2BuildDefaultTrueRecursively,
102 "external/auto/android-annotation-stubs": Bp2BuildDefaultTrueRecursively,
Sasha Smundak8bea2672022-08-04 13:31:14 -0700103 "external/auto": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400104 "external/auto/common": Bp2BuildDefaultTrueRecursively,
105 "external/auto/service": Bp2BuildDefaultTrueRecursively,
106 "external/boringssl": Bp2BuildDefaultTrueRecursively,
107 "external/bouncycastle": Bp2BuildDefaultTrue,
108 "external/brotli": Bp2BuildDefaultTrue,
109 "external/conscrypt": Bp2BuildDefaultTrue,
110 "external/e2fsprogs": Bp2BuildDefaultTrueRecursively,
111 "external/eigen": Bp2BuildDefaultTrueRecursively,
112 "external/erofs-utils": Bp2BuildDefaultTrueRecursively,
113 "external/error_prone": Bp2BuildDefaultTrueRecursively,
114 "external/expat": Bp2BuildDefaultTrueRecursively,
115 "external/f2fs-tools": Bp2BuildDefaultTrue,
116 "external/flac": Bp2BuildDefaultTrueRecursively,
117 "external/fmtlib": Bp2BuildDefaultTrueRecursively,
118 "external/google-benchmark": Bp2BuildDefaultTrueRecursively,
119 "external/googletest": Bp2BuildDefaultTrueRecursively,
120 "external/gwp_asan": Bp2BuildDefaultTrueRecursively,
121 "external/hamcrest": Bp2BuildDefaultTrueRecursively,
122 "external/icu": Bp2BuildDefaultTrueRecursively,
123 "external/icu/android_icu4j": Bp2BuildDefaultFalse, // java rules incomplete
124 "external/icu/icu4j": Bp2BuildDefaultFalse, // java rules incomplete
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400125 "external/jacoco": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400126 "external/jarjar": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400127 "external/javassist": Bp2BuildDefaultTrueRecursively,
128 "external/javaparser": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400129 "external/javapoet": Bp2BuildDefaultTrueRecursively,
130 "external/jemalloc_new": Bp2BuildDefaultTrueRecursively,
131 "external/jsoncpp": Bp2BuildDefaultTrueRecursively,
132 "external/junit": Bp2BuildDefaultTrueRecursively,
133 "external/libavc": Bp2BuildDefaultTrueRecursively,
134 "external/libcap": Bp2BuildDefaultTrueRecursively,
135 "external/libcxx": Bp2BuildDefaultTrueRecursively,
136 "external/libcxxabi": Bp2BuildDefaultTrueRecursively,
137 "external/libevent": Bp2BuildDefaultTrueRecursively,
138 "external/libgav1": Bp2BuildDefaultTrueRecursively,
139 "external/libhevc": Bp2BuildDefaultTrueRecursively,
140 "external/libjpeg-turbo": Bp2BuildDefaultTrueRecursively,
141 "external/libmpeg2": Bp2BuildDefaultTrueRecursively,
142 "external/libpng": Bp2BuildDefaultTrueRecursively,
Cole Faustc843b992022-08-02 18:06:50 -0700143 "external/libvpx": Bp2BuildDefaultTrueRecursively,
Cole Faust92e92e42022-08-26 16:12:42 -0700144 "external/libyuv": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400145 "external/lz4/lib": Bp2BuildDefaultTrue,
146 "external/lzma/C": Bp2BuildDefaultTrueRecursively,
147 "external/mdnsresponder": Bp2BuildDefaultTrueRecursively,
148 "external/minijail": Bp2BuildDefaultTrueRecursively,
Jingwen Chen537242c2022-08-24 11:53:27 +0000149 "external/openscreen": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400150 "external/pcre": Bp2BuildDefaultTrueRecursively,
151 "external/protobuf": Bp2BuildDefaultTrueRecursively,
152 "external/python/six": Bp2BuildDefaultTrueRecursively,
153 "external/rappor": Bp2BuildDefaultTrueRecursively,
154 "external/scudo": Bp2BuildDefaultTrueRecursively,
155 "external/selinux/libselinux": Bp2BuildDefaultTrueRecursively,
156 "external/selinux/libsepol": Bp2BuildDefaultTrueRecursively,
Cole Faustfe2ab362022-08-26 16:55:11 -0700157 "external/speex": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400158 "external/toybox": Bp2BuildDefaultTrueRecursively,
159 "external/zlib": Bp2BuildDefaultTrueRecursively,
160 "external/zopfli": Bp2BuildDefaultTrueRecursively,
161 "external/zstd": Bp2BuildDefaultTrueRecursively,
162
Vinh Tranb01eb602022-08-25 19:14:28 -0400163 "frameworks/av": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400164 "frameworks/av/media/codecs": Bp2BuildDefaultTrueRecursively,
Jingwen Chenb2f584b2022-08-17 10:31:21 +0000165 "frameworks/av/media/liberror": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400166 "frameworks/av/services/minijail": Bp2BuildDefaultTrueRecursively,
Jingwen Chen8ebc6202022-09-14 11:48:21 +0000167 "frameworks/av/media/module/minijail": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400168 "frameworks/base/libs/androidfw": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400169 "frameworks/base/media/tests/MediaDump": Bp2BuildDefaultTrue,
Sam Delmerico97bd1272022-08-25 14:45:31 -0400170 "frameworks/base/services/tests/servicestests/aidl": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400171 "frameworks/base/startop/apps/test": Bp2BuildDefaultTrue,
172 "frameworks/base/tests/appwidgets/AppWidgetHostTest": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400173 "frameworks/base/tools/aapt2": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400174 "frameworks/native/libs/adbd_auth": Bp2BuildDefaultTrueRecursively,
175 "frameworks/native/libs/arect": Bp2BuildDefaultTrueRecursively,
176 "frameworks/native/libs/math": Bp2BuildDefaultTrueRecursively,
177 "frameworks/native/libs/nativebase": Bp2BuildDefaultTrueRecursively,
178 "frameworks/native/opengl/tests/gl2_cameraeye": Bp2BuildDefaultTrue,
179 "frameworks/native/opengl/tests/gl2_java": Bp2BuildDefaultTrue,
180 "frameworks/native/opengl/tests/testLatency": Bp2BuildDefaultTrue,
181 "frameworks/native/opengl/tests/testPauseResume": Bp2BuildDefaultTrue,
182 "frameworks/native/opengl/tests/testViewport": Bp2BuildDefaultTrue,
183 "frameworks/proto_logging/stats/stats_log_api_gen": Bp2BuildDefaultTrueRecursively,
184
Liz Kammer1c921162022-08-17 16:58:32 -0400185 "hardware/interfaces": Bp2BuildDefaultTrue,
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +0000186 "hardware/interfaces/common/aidl": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400187 "hardware/interfaces/configstore/1.0": Bp2BuildDefaultTrue,
188 "hardware/interfaces/configstore/1.1": Bp2BuildDefaultTrue,
189 "hardware/interfaces/configstore/utils": Bp2BuildDefaultTrue,
Vinh Tran99fd6502022-09-09 18:36:24 -0400190 "hardware/interfaces/graphics/allocator/aidl": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400191 "hardware/interfaces/graphics/allocator/2.0": Bp2BuildDefaultTrue,
192 "hardware/interfaces/graphics/allocator/3.0": Bp2BuildDefaultTrue,
193 "hardware/interfaces/graphics/allocator/4.0": Bp2BuildDefaultTrue,
194 "hardware/interfaces/graphics/bufferqueue/1.0": Bp2BuildDefaultTrue,
195 "hardware/interfaces/graphics/bufferqueue/2.0": Bp2BuildDefaultTrue,
196 "hardware/interfaces/graphics/common/1.0": Bp2BuildDefaultTrue,
197 "hardware/interfaces/graphics/common/1.1": Bp2BuildDefaultTrue,
198 "hardware/interfaces/graphics/common/1.2": Bp2BuildDefaultTrue,
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +0000199 "hardware/interfaces/graphics/common/aidl": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400200 "hardware/interfaces/graphics/mapper/2.0": Bp2BuildDefaultTrue,
201 "hardware/interfaces/graphics/mapper/2.1": Bp2BuildDefaultTrue,
202 "hardware/interfaces/graphics/mapper/3.0": Bp2BuildDefaultTrue,
203 "hardware/interfaces/graphics/mapper/4.0": Bp2BuildDefaultTrue,
204 "hardware/interfaces/media/1.0": Bp2BuildDefaultTrue,
205 "hardware/interfaces/media/bufferpool/2.0": Bp2BuildDefaultTrue,
206 "hardware/interfaces/media/c2/1.0": Bp2BuildDefaultTrue,
207 "hardware/interfaces/media/c2/1.1": Bp2BuildDefaultTrue,
208 "hardware/interfaces/media/c2/1.2": Bp2BuildDefaultTrue,
209 "hardware/interfaces/media/omx/1.0": Bp2BuildDefaultTrue,
210 "hardware/interfaces/neuralnetworks/1.0": Bp2BuildDefaultTrue,
211 "hardware/interfaces/neuralnetworks/1.1": Bp2BuildDefaultTrue,
212 "hardware/interfaces/neuralnetworks/1.2": Bp2BuildDefaultTrue,
213 "hardware/interfaces/neuralnetworks/1.3": Bp2BuildDefaultTrue,
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +0000214 "hardware/interfaces/neuralnetworks/aidl": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400215
216 "libnativehelper": Bp2BuildDefaultTrueRecursively,
217
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400218 "packages/apps/DevCamera": Bp2BuildDefaultTrue,
219 "packages/apps/HTMLViewer": Bp2BuildDefaultTrue,
220 "packages/apps/Protips": Bp2BuildDefaultTrue,
Sasha Smundak31327e92022-09-18 17:10:54 -0700221 "packages/apps/SafetyRegulatoryInfo": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400222 "packages/apps/WallpaperPicker": Bp2BuildDefaultTrue,
223 "packages/modules/StatsD/lib/libstatssocket": Bp2BuildDefaultTrueRecursively,
224 "packages/modules/adb": Bp2BuildDefaultTrue,
225 "packages/modules/adb/apex": Bp2BuildDefaultTrue,
226 "packages/modules/adb/crypto": Bp2BuildDefaultTrueRecursively,
227 "packages/modules/adb/libs": Bp2BuildDefaultTrueRecursively,
228 "packages/modules/adb/pairing_auth": Bp2BuildDefaultTrueRecursively,
229 "packages/modules/adb/pairing_connection": Bp2BuildDefaultTrueRecursively,
230 "packages/modules/adb/proto": Bp2BuildDefaultTrueRecursively,
231 "packages/modules/adb/tls": Bp2BuildDefaultTrueRecursively,
Jingwen Chenb2f584b2022-08-17 10:31:21 +0000232 "packages/providers/MediaProvider/tools/dialogs": Bp2BuildDefaultFalse, // TODO(b/242834374)
Jingwen Chen6bffe552022-09-14 11:34:34 +0000233 "packages/modules/NeuralNetworks/driver/cache": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400234 "packages/screensavers/Basic": Bp2BuildDefaultTrue,
Jingwen Chenb2f584b2022-08-17 10:31:21 +0000235 "packages/services/Car/tests/SampleRearViewCamera": Bp2BuildDefaultFalse, // TODO(b/242834321)
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400236
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +0000237 "platform_testing/tests/example": Bp2BuildDefaultTrueRecursively,
238
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400239 "prebuilts/clang/host/linux-x86": Bp2BuildDefaultTrueRecursively,
240 "prebuilts/runtime/mainline/platform/sdk": Bp2BuildDefaultTrueRecursively,
241 "prebuilts/sdk/current/extras/app-toolkit": Bp2BuildDefaultTrue,
242 "prebuilts/sdk/current/support": Bp2BuildDefaultTrue,
Sasha Smundak8bea2672022-08-04 13:31:14 -0700243 "prebuilts/tools": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400244 "prebuilts/tools/common/m2": Bp2BuildDefaultTrue,
245
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000246 "system/apex": Bp2BuildDefaultFalse, // TODO(b/207466993): flaky failures
247 "system/apex/apexer": Bp2BuildDefaultTrue,
248 "system/apex/libs": Bp2BuildDefaultTrueRecursively,
249 "system/apex/proto": Bp2BuildDefaultTrueRecursively,
250 "system/apex/tools": Bp2BuildDefaultTrueRecursively,
251 "system/core/debuggerd": Bp2BuildDefaultTrueRecursively,
252 "system/core/diagnose_usb": Bp2BuildDefaultTrueRecursively,
253 "system/core/libasyncio": Bp2BuildDefaultTrue,
254 "system/core/libcrypto_utils": Bp2BuildDefaultTrueRecursively,
255 "system/core/libcutils": Bp2BuildDefaultTrueRecursively,
256 "system/core/libpackagelistparser": Bp2BuildDefaultTrueRecursively,
257 "system/core/libprocessgroup": Bp2BuildDefaultTrue,
258 "system/core/libprocessgroup/cgrouprc": Bp2BuildDefaultTrue,
259 "system/core/libprocessgroup/cgrouprc_format": Bp2BuildDefaultTrue,
260 "system/core/libsystem": Bp2BuildDefaultTrueRecursively,
Jingwen Chenf0616002022-09-01 14:28:55 +0000261 "system/core/libsysutils": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000262 "system/core/libutils": Bp2BuildDefaultTrueRecursively,
263 "system/core/libvndksupport": Bp2BuildDefaultTrueRecursively,
264 "system/core/property_service/libpropertyinfoparser": Bp2BuildDefaultTrueRecursively,
265 "system/core/property_service/libpropertyinfoserializer": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400266 "system/incremental_delivery/incfs": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000267 "system/libartpalette": Bp2BuildDefaultTrueRecursively,
268 "system/libbase": Bp2BuildDefaultTrueRecursively,
269 "system/libfmq": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400270 "system/libhidl/libhidlmemory": Bp2BuildDefaultTrue,
271 "system/libhidl/transport": Bp2BuildDefaultTrue,
272 "system/libhidl/transport/allocator/1.0": Bp2BuildDefaultTrue,
Yu Liudf4413a2022-07-23 21:24:30 -0700273 "system/libhidl/transport/base/1.0": Bp2BuildDefaultTrue,
274 "system/libhidl/transport/manager/1.0": Bp2BuildDefaultTrue,
275 "system/libhidl/transport/manager/1.1": Bp2BuildDefaultTrue,
276 "system/libhidl/transport/manager/1.2": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400277 "system/libhidl/transport/memory/1.0": Bp2BuildDefaultTrue,
278 "system/libhidl/transport/memory/token/1.0": Bp2BuildDefaultTrue,
279 "system/libhidl/transport/safe_union/1.0": Bp2BuildDefaultTrue,
280 "system/libhidl/transport/token/1.0": Bp2BuildDefaultTrue,
281 "system/libhidl/transport/token/1.0/utils": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000282 "system/libhwbinder": Bp2BuildDefaultTrueRecursively,
283 "system/libprocinfo": Bp2BuildDefaultTrue,
284 "system/libziparchive": Bp2BuildDefaultTrueRecursively,
Jingwen Chenf0616002022-09-01 14:28:55 +0000285 "system/logging": Bp2BuildDefaultTrueRecursively,
Sasha Smundak8bea2672022-08-04 13:31:14 -0700286 "system/media": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000287 "system/media/audio": Bp2BuildDefaultTrueRecursively,
Cole Faustfe2ab362022-08-26 16:55:11 -0700288 "system/media/audio_utils": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000289 "system/memory/libion": Bp2BuildDefaultTrueRecursively,
290 "system/memory/libmemunreachable": Bp2BuildDefaultTrueRecursively,
291 "system/sepolicy/apex": Bp2BuildDefaultTrueRecursively,
Jingwen Chen537242c2022-08-24 11:53:27 +0000292 "system/testing/gtest_extras": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000293 "system/timezone/apex": Bp2BuildDefaultTrueRecursively,
294 "system/timezone/output_data": Bp2BuildDefaultTrueRecursively,
Sam Delmerico8dfa46a2022-08-30 15:09:36 -0400295 "system/tools/aidl/build/tests_bp2build": Bp2BuildDefaultTrue,
Liz Kammer09d831e2022-09-16 09:02:26 -0400296 "system/tools/sysprop": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000297 "system/unwinding/libunwindstack": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400298
Vinh Tran583a07d2022-09-20 17:25:34 -0400299 "frameworks/proto_logging/stats": Bp2BuildDefaultTrueRecursively,
300
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400301 "tools/apksig": Bp2BuildDefaultTrue,
302 "tools/platform-compat/java/android/compat": Bp2BuildDefaultTrueRecursively,
303 "tools/tradefederation/prebuilts/filegroups": Bp2BuildDefaultTrueRecursively,
Sam Delmerico24c56032022-03-28 19:53:03 +0000304 }
305
306 Bp2buildKeepExistingBuildFile = map[string]bool{
307 // This is actually build/bazel/build.BAZEL symlinked to ./BUILD
308 ".":/*recursive = */ false,
309
Cole Faust324a92e2022-08-23 15:29:05 -0700310 "build/bazel":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000311 "build/bazel_common_rules":/* recursive = */ true,
312 // build/make/tools/signapk BUILD file is generated, so build/make/tools is not recursive.
313 "build/make/tools":/* recursive = */ false,
314 "build/pesto":/* recursive = */ true,
Liz Kammer15088e42022-08-12 16:37:40 -0400315 "build/soong/ui/metrics/bp2build_progress_metrics_proto":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000316
317 // external/bazelbuild-rules_android/... is needed by mixed builds, otherwise mixed builds analysis fails
318 // e.g. ERROR: Analysis of target '@soong_injection//mixed_builds:buildroot' failed
319 "external/bazelbuild-rules_android":/* recursive = */ true,
Sasha Smundak9d2f1742022-08-04 13:28:38 -0700320 "external/bazelbuild-rules_license":/* recursive = */ true,
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400321 "external/bazelbuild-kotlin-rules":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000322 "external/bazel-skylib":/* recursive = */ true,
323 "external/guava":/* recursive = */ true,
324 "external/jsr305":/* recursive = */ true,
Cole Faustea602c52022-08-31 14:48:26 -0700325 "external/protobuf":/* recursive = */ false,
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400326 "frameworks/base/tools/codegen":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000327 "frameworks/ex/common":/* recursive = */ true,
328
329 "packages/apps/Music":/* recursive = */ true,
330 "packages/apps/QuickSearchBox":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000331
Romain Jobredeaux29197972022-05-30 22:02:31 -0400332 "prebuilts/bazel":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000333 "prebuilts/bundletool":/* recursive = */ true,
Cole Faustea602c52022-08-31 14:48:26 -0700334 "prebuilts/clang/host/linux-x86":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000335 "prebuilts/gcc":/* recursive = */ true,
Jingwen Chen23ca2d22022-05-19 09:53:56 +0000336 "prebuilts/build-tools":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000337 "prebuilts/jdk/jdk11":/* recursive = */ false,
Cole Faust7071a052022-07-29 15:58:33 -0700338 "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 +0000339 "prebuilts/sdk":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000340 "prebuilts/sdk/tools":/* recursive = */ false,
341 "prebuilts/r8":/* recursive = */ false,
342 }
343
344 Bp2buildModuleAlwaysConvertList = []string{
Liz Kammer09d831e2022-09-16 09:02:26 -0400345 "libidmap2_policies",
346 "libSurfaceFlingerProp",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400347 // cc mainline modules
Liz Kammerbe1315e2022-05-10 09:15:31 -0400348 "code_coverage.policy",
349 "code_coverage.policy.other",
350 "codec2_soft_exports",
Vinh Tran99fd6502022-09-09 18:36:24 -0400351 "codecs_g711dec",
Liz Kammer5068eae2022-05-11 17:24:29 -0400352 "com.android.media.swcodec-androidManifest",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400353 "com.android.media.swcodec-ld.config.txt",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400354 "com.android.media.swcodec-mediaswcodec.rc",
Liz Kammer5068eae2022-05-11 17:24:29 -0400355 "com.android.media.swcodec.certificate",
356 "com.android.media.swcodec.key",
Vinh Tranfd446d62022-09-21 17:30:20 -0400357 "com.android.neuralnetworks",
Liz Kammer5068eae2022-05-11 17:24:29 -0400358 "com.android.neuralnetworks-androidManifest",
359 "com.android.neuralnetworks.certificate",
360 "com.android.neuralnetworks.key",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400361 "flatbuffer_headers",
362 "gemmlowp_headers",
363 "gl_headers",
Vinh Tran99fd6502022-09-09 18:36:24 -0400364 "libaidlcommonsupport",
Liz Kammer63367e12022-06-13 19:35:12 +0000365 "libandroid_runtime_lazy",
Liz Kammer5068eae2022-05-11 17:24:29 -0400366 "libandroid_runtime_vm_headers",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400367 "libaudioclient_aidl_conversion_util",
Vinh Tran9f6796a2022-08-16 13:10:31 -0400368 "libbinder",
369 "libbinder_device_interface_sources",
Vinh Tran444154d2022-08-16 13:10:31 -0400370 "libbinder_aidl",
Liz Kammer63367e12022-06-13 19:35:12 +0000371 "libbinder_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400372 "libbinder_headers_platform_shared",
Vinh Tran99fd6502022-09-09 18:36:24 -0400373 "libbinderthreadstateutils",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400374 "libbluetooth-types-header",
Liz Kammer63367e12022-06-13 19:35:12 +0000375 "libbufferhub_headers",
376 "libcodec2",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400377 "libcodec2_headers",
378 "libcodec2_internal",
379 "libdmabufheap",
Liz Kammer63367e12022-06-13 19:35:12 +0000380 "libdvr_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400381 "libgsm",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400382 "libgui_bufferqueue_sources",
Vinh Tran99fd6502022-09-09 18:36:24 -0400383 "libgrallocusage",
384 "libgralloctypes",
385 "libnativewindow",
Vinh Tranfd446d62022-09-21 17:30:20 -0400386 "libneuralnetworks",
Vinh Tran99fd6502022-09-09 18:36:24 -0400387 "libgraphicsenv",
Liz Kammer63367e12022-06-13 19:35:12 +0000388 "libhardware",
Liz Kammer5068eae2022-05-11 17:24:29 -0400389 "libhardware_headers",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400390 "libnativeloader-headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400391 "libnativewindow_headers",
392 "libneuralnetworks_headers",
Vinh Tran583a07d2022-09-20 17:25:34 -0400393 "libneuralnetworks_packageinfo",
Liz Kammer5068eae2022-05-11 17:24:29 -0400394 "libopus",
Liz Kammer63367e12022-06-13 19:35:12 +0000395 "libpdx_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400396 "libprocpartition",
Liz Kammer63367e12022-06-13 19:35:12 +0000397 "libruy_static",
Cole Faust6b29f592022-08-09 09:50:56 -0700398 "libandroidio",
399 "libandroidio_srcs",
Liz Kammer5068eae2022-05-11 17:24:29 -0400400 "libserviceutils",
Vinh Tran99fd6502022-09-09 18:36:24 -0400401 "libstagefright_amrnbenc",
402 "libstagefright_amrnbdec",
403 "libstagefright_amrwbdec",
404 "libstagefright_amrwbenc",
405 "libstagefright_amrnb_common",
Liz Kammer5068eae2022-05-11 17:24:29 -0400406 "libstagefright_enc_common",
Vinh Tran99fd6502022-09-09 18:36:24 -0400407 "libstagefright_flacdec",
408 "libstagefright_foundation",
Liz Kammer5068eae2022-05-11 17:24:29 -0400409 "libstagefright_foundation_headers",
410 "libstagefright_headers",
Vinh Tran99fd6502022-09-09 18:36:24 -0400411 "libstagefright_m4vh263dec",
412 "libstagefright_m4vh263enc",
413 "libstagefright_mp3dec",
414 "libstagefright_mp3dec_headers",
Liz Kammer63367e12022-06-13 19:35:12 +0000415 "libsurfaceflinger_headers",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400416 "libsync",
Liz Kammer5068eae2022-05-11 17:24:29 -0400417 "libtextclassifier_hash_headers",
418 "libtextclassifier_hash_static",
Liz Kammer63367e12022-06-13 19:35:12 +0000419 "libtflite_kernel_utils",
420 "libtinyxml2",
Vinh Tran99fd6502022-09-09 18:36:24 -0400421 "libgui_aidl",
422 "libui",
Liz Kammer5068eae2022-05-11 17:24:29 -0400423 "libui-types",
Liz Kammer63367e12022-06-13 19:35:12 +0000424 "libui_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400425 "libvorbisidec",
426 "media_ndk_headers",
Liz Kammer63367e12022-06-13 19:35:12 +0000427 "media_plugin_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400428 "mediaswcodec.policy",
429 "mediaswcodec.xml",
Vinh Tran99fd6502022-09-09 18:36:24 -0400430 "neuralnetworks_types",
Vinh Tran38534232022-09-13 18:50:31 -0400431 "neuralnetworks_utils_hal_aidl",
Vinh Tran99fd6502022-09-09 18:36:24 -0400432 "neuralnetworks_utils_hal_common",
Vinh Tran583a07d2022-09-20 17:25:34 -0400433 "neuralnetworks_utils_hal_service",
Vinh Tran99fd6502022-09-09 18:36:24 -0400434 "neuralnetworks_utils_hal_1_0",
435 "neuralnetworks_utils_hal_1_1",
436 "neuralnetworks_utils_hal_1_2",
437 "neuralnetworks_utils_hal_1_3",
438 "libneuralnetworks_common",
Vinh Tran583a07d2022-09-20 17:25:34 -0400439 // packagemanager_aidl_interface is created implicitly in packagemanager_aidl module
440 "packagemanager_aidl_interface",
Liz Kammer63367e12022-06-13 19:35:12 +0000441 "philox_random",
Liz Kammer5068eae2022-05-11 17:24:29 -0400442 "philox_random_headers",
443 "server_configurable_flags",
Vinh Tranf19b6582022-09-21 17:01:49 -0400444 "statslog_neuralnetworks.cpp",
445 "statslog_neuralnetworks.h",
Liz Kammer5068eae2022-05-11 17:24:29 -0400446 "tensorflow_headers",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400447
Vinh Tran99fd6502022-09-09 18:36:24 -0400448 "libgui_headers",
449 "libstagefright_bufferpool@2.0",
450 "libstagefright_bufferpool@2.0.1",
Vinh Tranc169c542022-09-13 13:13:06 -0400451 "libSurfaceFlingerProp",
Vinh Tran99fd6502022-09-09 18:36:24 -0400452
Jingwen Chen9009dc22022-08-04 15:26:46 +0000453 // fastboot
454 "bootimg_headers",
455 "fastboot",
456 "libfastboot",
457 "liblp",
458 "libstorage_literals_headers",
459
Sam Delmerico24c56032022-03-28 19:53:03 +0000460 //external/avb
461 "avbtool",
462 "libavb",
463 "avb_headers",
464
Alix5918d642022-06-27 20:57:44 +0000465 //external/libxml2
466 "xmllint",
467 "libxml2",
468
Sam Delmerico24c56032022-03-28 19:53:03 +0000469 //external/fec
470 "libfec_rs",
471
472 //system/core/libsparse
473 "libsparse",
474
475 //system/extras/ext4_utils
476 "libext4_utils",
Cole Faust01243362022-06-02 12:11:12 -0700477 "mke2fs_conf",
Sam Delmerico24c56032022-03-28 19:53:03 +0000478
479 //system/extras/libfec
480 "libfec",
481
482 //system/extras/squashfs_utils
483 "libsquashfs_utils",
484
485 //system/extras/verity/fec
486 "fec",
487
488 //packages/apps/Car/libs/car-ui-lib/car-ui-androidx
489 // genrule dependencies for java_imports
490 "car-ui-androidx-annotation-nodeps",
491 "car-ui-androidx-collection-nodeps",
492 "car-ui-androidx-core-common-nodeps",
493 "car-ui-androidx-lifecycle-common-nodeps",
494 "car-ui-androidx-constraintlayout-solver-nodeps",
Yu Liudf4413a2022-07-23 21:24:30 -0700495
496 //system/libhidl
497 // needed by cc_hidl_library
498 "libhidlbase",
Vinh Tran444154d2022-08-16 13:10:31 -0400499
500 //frameworks/native
501 "framework_native_aidl_binder",
502 "framework_native_aidl_gui",
503
504 //frameworks/native/libs/input
505 "inputconstants_aidl",
Vinh Tranc3873e82022-08-23 20:33:25 -0400506
507 // needed for aidl_interface's ndk backend
508 "libbinder_ndk",
Jingwen Chen537242c2022-08-24 11:53:27 +0000509
510 "libusb",
Jingwen Chenf0616002022-09-01 14:28:55 +0000511
512 // needed by liblogd
513 "ILogcatManagerService_aidl",
514 "libincremental_aidl-cpp",
515 "incremental_aidl",
Jingwen Chen2247aca2022-09-09 10:47:43 +0000516
517 //frameworks/native/cmds/cmd
518 "libcmd",
Jingwen Chenadc07fa2022-09-21 13:13:48 +0000519
520 //system/core/fs_mgr/libdm
521 "libdm",
522
523 //system/core/fs_mgr/libfiemap
524 "libfiemap_headers",
525 "libfiemap_passthrough_srcs",
526 "libfiemap_srcs",
527
528 //system/gsid
529 "libgsi",
530 "libgsi_headers",
531
532 //system/core/libkeyutils
533 "libkeyutils",
534
535 //bootable/recovery/minadbd
536 "libminadbd_headers",
537
538 //bootable/recovery/otautil
539 "libotautil",
540
541 //system/vold
542 "libvold_headers",
543
544 //system/extras/libfscrypt
545 "libfscrypt",
546
547 //system/core/fs_mgr
548 "libfstab",
549
550 //bootable/recovery/fuse_sideload
551 "libfusesideload",
552
553 //system/core/fs_mgr/libfs_avb
554 "libfs_avb",
555
556 //system/core/fs_mgr
557 "libfs_mgr",
Sam Delmerico24c56032022-03-28 19:53:03 +0000558 }
559
560 Bp2buildModuleTypeAlwaysConvertList = []string{
Sasha Smundak8bea2672022-08-04 13:31:14 -0700561 "license",
Liz Kammer45faf8f2022-06-02 16:00:54 -0400562 "linker_config",
Sam Delmerico24c56032022-03-28 19:53:03 +0000563 "java_import",
564 "java_import_host",
Trevor Radcliffead3d1232022-09-01 16:25:10 +0000565 "sysprop_library",
Sam Delmerico97bd1272022-08-25 14:45:31 -0400566 "aidl_interface_headers",
Sam Delmerico24c56032022-03-28 19:53:03 +0000567 }
568
569 Bp2buildModuleDoNotConvertList = []string{
570 // cc bugs
Jingwen Chenf0616002022-09-01 14:28:55 +0000571 "libactivitymanager_aidl", // TODO(b/207426160): Unsupported use of aidl sources (via Dactivity_manager_procstate_aidl) in a cc_library
572
573 // TODO(b/198619163) module has same name as source
Jingwen Chenf0616002022-09-01 14:28:55 +0000574 "logtagd.rc",
575
Sam Delmerico24c56032022-03-28 19:53:03 +0000576 "libgtest_ndk_c++", "libgtest_main_ndk_c++", // TODO(b/201816222): Requires sdk_version support.
Jingwen Chen537242c2022-08-24 11:53:27 +0000577
578 // TODO(b/202876379): has arch-variant static_executable
579 "linkerconfig",
580 "mdnsd",
581 "libcutils_test_static",
582 "KernelLibcutilsTest",
583
Cole Faust7071a052022-07-29 15:58:33 -0700584 "linker", // TODO(b/228316882): cc_binary uses link_crt
Cole Faust7071a052022-07-29 15:58:33 -0700585 "versioner", // TODO(b/228313961): depends on prebuilt shared library libclang-cpp_host as a shared library, which does not supply expected providers for a shared library
Liz Kammer63367e12022-06-13 19:35:12 +0000586 "art_libartbase_headers", // TODO(b/236268577): Header libraries do not support export_shared_libs_headers
587 "apexer_test", // Requires aapt2
Cole Faust91a2e102022-05-31 14:56:48 -0700588 "apexer_test_host_tools",
589 "host_apex_verifier",
Cole Faust7071a052022-07-29 15:58:33 -0700590 "tjbench", // TODO(b/240563612): Stem property
Sam Delmerico24c56032022-03-28 19:53:03 +0000591
592 // java bugs
593 "libbase_ndk", // TODO(b/186826477): fails to link libctscamera2_jni for device (required for CtsCameraTestCases)
594
595 // python protos
Cole Faust53b62092022-05-12 15:37:02 -0700596 "libprotobuf-python", // Has a handcrafted alternative
Sam Delmerico24c56032022-03-28 19:53:03 +0000597
598 // genrule incompatibilities
599 "brotli-fuzzer-corpus", // TODO(b/202015218): outputs are in location incompatible with bazel genrule handling.
600 "platform_tools_properties", "build_tools_source_properties", // TODO(b/203369847): multiple genrules in the same package creating the same file
601
602 // aar support
603 "prebuilt_car-ui-androidx-core-common", // TODO(b/224773339), genrule dependency creates an .aar, not a .jar
604 "prebuilt_platform-robolectric-4.4-prebuilt", // aosp/1999250, needs .aar support in Jars
605 "prebuilt_platform-robolectric-4.5.1-prebuilt", // aosp/1999250, needs .aar support in Jars
606
607 // path property for filegroups
608 "conscrypt", // TODO(b/210751803), we don't handle path property for filegroups
609 "conscrypt-for-host", // TODO(b/210751803), we don't handle path property for filegroups
610 "host-libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups
611 "libprotobuf-internal-protos", // TODO(b/210751803), we don't handle path property for filegroups
612 "libprotobuf-internal-python-srcs", // TODO(b/210751803), we don't handle path property for filegroups
613 "libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups
614 "libprotobuf-java-util-full", // TODO(b/210751803), we don't handle path property for filegroups
Sam Delmerico79985812022-03-23 20:20:42 +0000615 "auto_value_plugin_resources", // TODO(b/210751803), we don't handle path property for filegroups
Sam Delmerico24c56032022-03-28 19:53:03 +0000616
617 // go deps:
Liz Kammer09d831e2022-09-16 09:02:26 -0400618 "aapt2-protos", // depends on soong_zip, a go binary
Sam Delmerico24c56032022-03-28 19:53:03 +0000619 "analyze_bcpf", // depends on bpmodify a blueprint_go_binary.
620 "apex-protos", // depends on soong_zip, a go binary
621 "generated_android_icu4j_src_files", "generated_android_icu4j_test_files", "icu4c_test_data", // depends on unconverted modules: soong_zip
622 "host_bionic_linker_asm", // depends on extract_linker, a go binary.
623 "host_bionic_linker_script", // depends on extract_linker, a go binary.
624 "libc_musl_sysroot_bionic_arch_headers", // depends on soong_zip
625 "libc_musl_sysroot_bionic_headers", // 218405924, depends on soong_zip and generates duplicate srcs
626 "libc_musl_sysroot_libc++_headers", "libc_musl_sysroot_libc++abi_headers", // depends on soong_zip, zip2zip
Liz Kammer09d831e2022-09-16 09:02:26 -0400627 "libc_musl_sysroot_zlib_headers", // depends on soong_zip and zip2zip
Sam Delmerico24c56032022-03-28 19:53:03 +0000628 "robolectric-sqlite4java-native", // depends on soong_zip, a go binary
629 "robolectric_tzdata", // depends on soong_zip, a go binary
630
631 // rust support
632 "libtombstoned_client_rust_bridge_code", "libtombstoned_client_wrapper", // rust conversions are not supported
633
634 // unconverted deps
Trevor Radcliffeef9c9002022-05-13 20:55:35 +0000635 "CarHTMLViewer", // depends on unconverted modules android.car-stubs, car-ui-lib
Trevor Radcliffeef9c9002022-05-13 20:55:35 +0000636 "adb", // depends on unconverted modules: AdbWinApi, libandroidfw, libopenscreen-discovery, libopenscreen-platform-impl, libusb, bin2c_fastdeployagent, AdbWinUsbApi
637 "android_icu4j_srcgen", // depends on unconverted modules: currysrc
638 "android_icu4j_srcgen_binary", // depends on unconverted modules: android_icu4j_srcgen, currysrc
639 "apex_manifest_proto_java", // b/210751803, depends on libprotobuf-java-full
640 "art-script", // depends on unconverted modules: dalvikvm, dex2oat
641 "bin2c_fastdeployagent", // depends on unconverted modules: deployagent
Sam Delmerico24c56032022-03-28 19:53:03 +0000642 "com.android.runtime", // depends on unconverted modules: bionic-linker-config, linkerconfig
Sam Delmerico24c56032022-03-28 19:53:03 +0000643 "currysrc", // depends on unconverted modules: currysrc_org.eclipse, guavalib, jopt-simple-4.9
644 "dex2oat-script", // depends on unconverted modules: dex2oat
645 "generated_android_icu4j_resources", // depends on unconverted modules: android_icu4j_srcgen_binary, soong_zip
646 "generated_android_icu4j_test_resources", // depends on unconverted modules: android_icu4j_srcgen_binary, soong_zip
647 "host-libprotobuf-java-nano", // b/220869005, depends on libprotobuf-java-nano
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400648 "jacoco-stubs", // b/245767077, depends on droidstubs
Liz Kammer6a824f62022-08-09 13:23:01 -0400649 "libapexutil", // depends on unconverted modules: apex-info-list-tinyxml
Sam Delmerico24c56032022-03-28 19:53:03 +0000650 "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
651 "libart-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libart-compiler, libdexfile, libprofile, libartbase, libartbase-art-gtest
652 "libart_headers", // depends on unconverted modules: art_libartbase_headers
Liz Kammer3d13adc2022-08-09 09:26:54 -0400653 "libartbase-art-gtest", // depends on unconverted modules: libgtest_isolated, libart, libart-compiler, libdexfile, libprofile
654 "libartbased-art-gtest", // depends on unconverted modules: libgtest_isolated, libartd, libartd-compiler, libdexfiled, libprofiled
Sam Delmerico24c56032022-03-28 19:53:03 +0000655 "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
656 "libartd-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libartd-compiler, libdexfiled, libprofiled, libartbased, libartbased-art-gtest
Zi Wang0a8a1292022-08-30 06:27:01 +0000657 "libdebuggerd", // depends on unconverted module: libdexfile
Sam Delmerico24c56032022-03-28 19:53:03 +0000658 "libdebuggerd_handler", // depends on unconverted module libdebuggerd_handler_core
659 "libdebuggerd_handler_core", "libdebuggerd_handler_fallback", // depends on unconverted module libdebuggerd
Sam Delmerico24c56032022-03-28 19:53:03 +0000660 "libdexfiled", // depends on unconverted modules: dexfile_operator_srcs, libartbased, libartpalette
661 "libfastdeploy_host", // depends on unconverted modules: libandroidfw, libusb, AdbWinApi
662 "libgmock_main_ndk", // depends on unconverted modules: libgtest_ndk_c++
663 "libgmock_ndk", // depends on unconverted modules: libgtest_ndk_c++
664 "libnativehelper_lazy_mts_jni", "libnativehelper_mts_jni", // depends on unconverted modules: libnativetesthelper_jni, libgmock_ndk
665 "libnativetesthelper_jni", // depends on unconverted modules: libgtest_ndk_c++
666 "libprotobuf-java-nano", // b/220869005, depends on non-public_current SDK
Vinh Tranc3873e82022-08-23 20:33:25 -0400667 "libstatslog", // depends on unconverted modules: libstatspull, statsd-aidl-ndk
Sam Delmerico24c56032022-03-28 19:53:03 +0000668 "libstatslog_art", // depends on unconverted modules: statslog_art.cpp, statslog_art.h
669 "linker_reloc_bench_main", // depends on unconverted modules: liblinker_reloc_bench_*
670 "pbtombstone", "crash_dump", // depends on libdebuggerd, libunwindstack
Vinh Tranf19b6582022-09-21 17:01:49 -0400671 "robolectric-sqlite4java-0.282", // depends on unconverted modules: robolectric-sqlite4java-import, robolectric-sqlite4java-native
672 "static_crasher", // depends on unconverted modules: libdebuggerd_handler
673 "test_fips", // depends on unconverted modules: adb
674 "timezone-host", // depends on unconverted modules: art.module.api.annotations
675 "truth-host-prebuilt", // depends on unconverted modules: truth-prebuilt
676 "truth-prebuilt", // depends on unconverted modules: asm-7.0, guava
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxbff2e882022-04-20 18:44:54 +0000677
Jingwen Chen5012e072022-08-04 15:04:43 +0000678 // '//bionic/libc:libc_bp2build_cc_library_static' is duplicated in the 'deps' attribute of rule
679 "toybox-static",
Wei Li81852ca2022-07-27 00:22:06 -0700680
Liz Kammer09d831e2022-09-16 09:02:26 -0400681 // aidl files not created
682 "overlayable_policy_aidl_interface",
683
Jingwen Chen537242c2022-08-24 11:53:27 +0000684 // cc_test related.
685 // Failing host cc_tests
686 "memunreachable_unit_test",
687 "libprocinfo_test",
688 "ziparchive-tests",
689 "gtest_isolated_tests",
690 "libunwindstack_unit_test",
691 "task_profiles_test",
692 "power_tests", // failing test on server, but not on host
693
694 // reflect: call of reflect.Value.NumField on interface Value
695 // affects all cc_tests that depend on art_defaults
696 "libnativebridge-tests",
697 "libnativeloader_test",
698 "art_libnativebridge_cts_tests",
699 "art_standalone_libdexfile_external_tests",
700 "art_standalone_libdexfile_support_tests",
701 "libnativebridge-lazy-tests",
702 "libnativebridge-test-case",
703 "libnativebridge2-test-case",
704 "libnativebridge3-test-case",
705 "libnativebridge6-test-case",
706 "libnativebridge6prezygotefork",
707
Liz Kammer09d831e2022-09-16 09:02:26 -0400708 "libandroidfw_tests", "aapt2_tests", // failing due to data path issues
709
Jingwen Chen537242c2022-08-24 11:53:27 +0000710 // cc_test with unconverted deps, or are device-only (and not verified to pass yet)
711 "AMRWBEncTest",
Jingwen Chenf0616002022-09-01 14:28:55 +0000712 "AmrnbDecoderTest", // depends on unconverted modules: libaudioutils, libsndfile
713 "AmrnbEncoderTest", // depends on unconverted modules: libaudioutils, libsndfile
714 "AmrwbDecoderTest", // depends on unconverted modules: libsndfile, libaudioutils
715 "AmrwbEncoderTest", // depends on unconverted modules: libaudioutils, libsndfile
Jingwen Chen537242c2022-08-24 11:53:27 +0000716 "Mp3DecoderTest", // depends on unconverted modules: libsndfile, libaudioutils
717 "Mpeg4H263DecoderTest", // depends on unconverted modules: libstagefright_foundation
718 "Mpeg4H263EncoderTest",
Jingwen Chen537242c2022-08-24 11:53:27 +0000719 "avcdec",
720 "avcenc",
721 "bionic-benchmarks-tests",
722 "bionic-fortify-runtime-asan-test",
723 "bionic-stress-tests",
724 "bionic-unit-tests",
725 "bionic-unit-tests-glibc",
726 "bionic-unit-tests-static",
727 "boringssl_crypto_test",
728 "boringssl_ssl_test",
729 "cfi_test_helper",
730 "cfi_test_helper2",
731 "cintltst32",
732 "cintltst64",
733 "compare",
734 "cpuid",
735 "debuggerd_test", // depends on unconverted modules: libdebuggerd
736 "elftls_dlopen_ie_error_helper",
737 "exec_linker_helper",
738 "fastdeploy_test", // depends on unconverted modules: AdbWinApi, libadb_host, libandroidfw, libfastdeploy_host, libopenscreen-discovery, libopenscreen-platform-impl, libusb
739 "fdtrack_test",
740 "google-benchmark-test",
741 "googletest-param-test-test_ndk", // depends on unconverted modules: libgtest_ndk_c++
742 "gtest-typed-test_test",
743 "gtest-typed-test_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
744 "gtest_ndk_tests", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
745 "gtest_ndk_tests_no_main", // depends on unconverted modules: libgtest_ndk_c++
746 "gtest_prod_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
747 "gtest_tests",
748 "gtest_tests_no_main",
749 "gwp_asan_unittest",
750 "half_test",
751 "hashcombine_test",
752 "hevcdec",
753 "hevcenc",
754 "hwbinderThroughputTest", // depends on unconverted modules: android.hardware.tests.libhwbinder@1.0-impl.test, android.hardware.tests.libhwbinder@1.0
755 "i444tonv12_eg",
756 "icu4c_sample_break",
757 "intltest32",
758 "intltest64",
759 "ion-unit-tests",
760 "jemalloc5_integrationtests",
761 "jemalloc5_unittests",
762 "ld_config_test_helper",
763 "ld_preload_test_helper",
764 "libBionicCtsGtestMain", // depends on unconverted modules: libgtest_isolated
765 "libBionicLoaderTests", // depends on unconverted modules: libmeminfo
766 "libapexutil_tests", // depends on unconverted modules: apex-info-list-tinyxml, libapexutil
Jingwen Chen537242c2022-08-24 11:53:27 +0000767 "libcutils_sockets_test",
768 "libexpectedutils_test",
769 "libhwbinder_latency",
Jingwen Chenf0616002022-09-01 14:28:55 +0000770 "liblog-host-test", // failing tests
Jingwen Chen537242c2022-08-24 11:53:27 +0000771 "libminijail_test",
772 "libminijail_unittest_gtest",
773 "libpackagelistparser_test",
774 "libprotobuf_vendor_suffix_test",
775 "libstagefright_amrnbdec_test", // depends on unconverted modules: libsndfile, libaudioutils
776 "libstagefright_amrnbenc_test",
777 "libstagefright_amrwbdec_test", // depends on unconverted modules: libsndfile, libaudioutils
778 "libstagefright_m4vh263enc_test",
779 "libstagefright_mp3dec_test", // depends on unconverted modules: libsndfile, libaudioutils
780 "libstatssocket_test",
781 "libvndksupport-tests",
782 "libyuv_unittest",
783 "linker-unit-tests",
784 "malloc_debug_system_tests",
785 "malloc_debug_unit_tests",
786 "malloc_hooks_system_tests",
787 "mat_test",
788 "mathtest",
789 "memunreachable_binder_test", // depends on unconverted modules: libbinder
790 "memunreachable_test",
791 "metadata_tests",
792 "minijail0_cli_unittest_gtest",
793 "mpeg2dec",
794 "mvcdec",
795 "ns_hidden_child_helper",
796 "pngtest",
797 "preinit_getauxval_test_helper",
798 "preinit_syscall_test_helper",
799 "psnr",
800 "quat_test",
801 "rappor-tests", // depends on unconverted modules: jsr305, guava
802 "scudo_unit_tests",
803 "stats-log-api-gen-test", // depends on unconverted modules: libstats_proto_host
804 "syscall_filter_unittest_gtest",
805 "sysprop_test", // depends on unconverted modules: libcom.android.sysprop.tests
806 "thread_exit_cb_helper",
807 "tls_properties_helper",
808 "ulp",
809 "vec_test",
810 "yuvconstants",
811 "yuvconvert",
812 "zipalign_tests",
Jingwen Chen537242c2022-08-24 11:53:27 +0000813
814 // cc_test_library
815 "clang_diagnostic_tests",
816 "exec_linker_helper_lib",
817 "fortify_disabled_for_tidy",
818 "ld_config_test_helper_lib1",
819 "ld_config_test_helper_lib2",
820 "ld_config_test_helper_lib3",
821 "ld_preload_test_helper_lib1",
822 "ld_preload_test_helper_lib2",
823 "libBionicElfTlsLoaderTests",
824 "libBionicElfTlsTests",
825 "libBionicElfTlsTests",
826 "libBionicFramePointerTests",
827 "libBionicFramePointerTests",
828 "libBionicStandardTests",
829 "libBionicStandardTests",
830 "libBionicTests",
831 "libart-broken",
832 "libatest_simple_zip",
833 "libcfi-test",
834 "libcfi-test-bad",
835 "libcrash_test",
836 // "libcrypto_fuzz_unsafe",
837 "libdl_preempt_test_1",
838 "libdl_preempt_test_2",
839 "libdl_test_df_1_global",
840 "libdlext_test",
841 "libdlext_test_different_soname",
842 "libdlext_test_fd",
843 "libdlext_test_norelro",
844 "libdlext_test_recursive",
845 "libdlext_test_zip",
846 "libfortify1-new-tests-clang",
847 "libfortify1-new-tests-clang",
848 "libfortify1-tests-clang",
849 "libfortify1-tests-clang",
850 "libfortify2-new-tests-clang",
851 "libfortify2-new-tests-clang",
852 "libfortify2-tests-clang",
853 "libfortify2-tests-clang",
854 "libgnu-hash-table-library",
855 "libicutest_static",
856 "liblinker_reloc_bench_000",
857 "liblinker_reloc_bench_001",
858 "liblinker_reloc_bench_002",
859 "liblinker_reloc_bench_003",
860 "liblinker_reloc_bench_004",
861 "liblinker_reloc_bench_005",
862 "liblinker_reloc_bench_006",
863 "liblinker_reloc_bench_007",
864 "liblinker_reloc_bench_008",
865 "liblinker_reloc_bench_009",
866 "liblinker_reloc_bench_010",
867 "liblinker_reloc_bench_011",
868 "liblinker_reloc_bench_012",
869 "liblinker_reloc_bench_013",
870 "liblinker_reloc_bench_014",
871 "liblinker_reloc_bench_015",
872 "liblinker_reloc_bench_016",
873 "liblinker_reloc_bench_017",
874 "liblinker_reloc_bench_018",
875 "liblinker_reloc_bench_019",
876 "liblinker_reloc_bench_020",
877 "liblinker_reloc_bench_021",
878 "liblinker_reloc_bench_022",
879 "liblinker_reloc_bench_023",
880 "liblinker_reloc_bench_024",
881 "liblinker_reloc_bench_025",
882 "liblinker_reloc_bench_026",
883 "liblinker_reloc_bench_027",
884 "liblinker_reloc_bench_028",
885 "liblinker_reloc_bench_029",
886 "liblinker_reloc_bench_030",
887 "liblinker_reloc_bench_031",
888 "liblinker_reloc_bench_032",
889 "liblinker_reloc_bench_033",
890 "liblinker_reloc_bench_034",
891 "liblinker_reloc_bench_035",
892 "liblinker_reloc_bench_036",
893 "liblinker_reloc_bench_037",
894 "liblinker_reloc_bench_038",
895 "liblinker_reloc_bench_039",
896 "liblinker_reloc_bench_040",
897 "liblinker_reloc_bench_041",
898 "liblinker_reloc_bench_042",
899 "liblinker_reloc_bench_043",
900 "liblinker_reloc_bench_044",
901 "liblinker_reloc_bench_045",
902 "liblinker_reloc_bench_046",
903 "liblinker_reloc_bench_047",
904 "liblinker_reloc_bench_048",
905 "liblinker_reloc_bench_049",
906 "liblinker_reloc_bench_050",
907 "liblinker_reloc_bench_051",
908 "liblinker_reloc_bench_052",
909 "liblinker_reloc_bench_053",
910 "liblinker_reloc_bench_054",
911 "liblinker_reloc_bench_055",
912 "liblinker_reloc_bench_056",
913 "liblinker_reloc_bench_057",
914 "liblinker_reloc_bench_058",
915 "liblinker_reloc_bench_059",
916 "liblinker_reloc_bench_060",
917 "liblinker_reloc_bench_061",
918 "liblinker_reloc_bench_062",
919 "liblinker_reloc_bench_063",
920 "liblinker_reloc_bench_064",
921 "liblinker_reloc_bench_065",
922 "liblinker_reloc_bench_066",
923 "liblinker_reloc_bench_067",
924 "liblinker_reloc_bench_068",
925 "liblinker_reloc_bench_069",
926 "liblinker_reloc_bench_070",
927 "liblinker_reloc_bench_071",
928 "liblinker_reloc_bench_072",
929 "liblinker_reloc_bench_073",
930 "liblinker_reloc_bench_074",
931 "liblinker_reloc_bench_075",
932 "liblinker_reloc_bench_076",
933 "liblinker_reloc_bench_077",
934 "liblinker_reloc_bench_078",
935 "liblinker_reloc_bench_079",
936 "liblinker_reloc_bench_080",
937 "liblinker_reloc_bench_081",
938 "liblinker_reloc_bench_082",
939 "liblinker_reloc_bench_083",
940 "liblinker_reloc_bench_084",
941 "liblinker_reloc_bench_085",
942 "liblinker_reloc_bench_086",
943 "liblinker_reloc_bench_087",
944 "liblinker_reloc_bench_088",
945 "liblinker_reloc_bench_089",
946 "liblinker_reloc_bench_090",
947 "liblinker_reloc_bench_091",
948 "liblinker_reloc_bench_092",
949 "liblinker_reloc_bench_093",
950 "liblinker_reloc_bench_094",
951 "liblinker_reloc_bench_095",
952 "liblinker_reloc_bench_096",
953 "liblinker_reloc_bench_097",
954 "liblinker_reloc_bench_098",
955 "liblinker_reloc_bench_099",
956 "liblinker_reloc_bench_100",
957 "liblinker_reloc_bench_101",
958 "liblinker_reloc_bench_102",
959 "liblinker_reloc_bench_103",
960 "liblinker_reloc_bench_104",
961 "liblinker_reloc_bench_105",
962 "liblinker_reloc_bench_106",
963 "liblinker_reloc_bench_107",
964 "liblinker_reloc_bench_108",
965 "liblinker_reloc_bench_109",
966 "liblinker_reloc_bench_110",
967 "liblinker_reloc_bench_111",
968 "liblinker_reloc_bench_112",
969 "liblinker_reloc_bench_113",
970 "liblinker_reloc_bench_114",
971 "liblinker_reloc_bench_115",
972 "liblinker_reloc_bench_116",
973 "liblinker_reloc_bench_117",
974 "liblinker_reloc_bench_118",
975 "liblinker_reloc_bench_119",
976 "liblinker_reloc_bench_120",
977 "liblinker_reloc_bench_121",
978 "liblinker_reloc_bench_122",
979 "liblinker_reloc_bench_123",
980 "liblinker_reloc_bench_124",
981 "liblinker_reloc_bench_125",
982 "liblinker_reloc_bench_126",
983 "liblinker_reloc_bench_127",
984 "liblinker_reloc_bench_128",
985 "liblinker_reloc_bench_129",
986 "liblinker_reloc_bench_130",
987 "liblinker_reloc_bench_131",
988 "liblinker_reloc_bench_132",
989 "liblinker_reloc_bench_133",
990 "liblinker_reloc_bench_134",
991 "liblinker_reloc_bench_135",
992 "liblinker_reloc_bench_136",
993 "liblinker_reloc_bench_137",
994 "liblinker_reloc_bench_138",
995 "liblinker_reloc_bench_139",
996 "liblinker_reloc_bench_140",
997 "liblinker_reloc_bench_141",
998 "liblinker_reloc_bench_142",
999 "liblinker_reloc_bench_143",
1000 "liblinker_reloc_bench_144",
1001 "liblinker_reloc_bench_145",
1002 "liblinker_reloc_bench_146",
1003 "liblinker_reloc_bench_147",
1004 "liblinker_reloc_bench_148",
1005 "liblinker_reloc_bench_149",
1006 "liblinker_reloc_bench_150",
1007 "liblinker_reloc_bench_151",
1008 "liblinker_reloc_bench_152",
1009 "liblinker_reloc_bench_153",
1010 "liblinker_reloc_bench_154",
1011 "liblinker_reloc_bench_155",
1012 "liblinker_reloc_bench_156",
1013 "liblinker_reloc_bench_157",
1014 "liblinker_reloc_bench_158",
1015 "liblinker_reloc_bench_159",
1016 "liblinker_reloc_bench_160",
1017 "liblinker_reloc_bench_161",
1018 "liblinker_reloc_bench_162",
1019 "liblinker_reloc_bench_163",
1020 "liblinker_reloc_bench_164",
1021 "liblinker_reloc_bench_165",
1022 "liblinker_reloc_bench_166",
1023 "liblinker_reloc_bench_167",
1024 "liblinker_reloc_bench_168",
1025 "libns_hidden_child_app",
1026 "libns_hidden_child_global",
1027 "libns_hidden_child_internal",
1028 "libns_hidden_child_public",
1029 "libnstest_dlopened",
1030 "libnstest_ns_a_public1",
1031 "libnstest_ns_a_public1_internal",
1032 "libnstest_ns_b_public2",
1033 "libnstest_ns_b_public3",
1034 "libnstest_private",
1035 "libnstest_private_external",
1036 "libnstest_public",
1037 "libnstest_public_internal",
1038 "libnstest_root",
1039 "libnstest_root_not_isolated",
1040 "librelocations-ANDROID_REL",
1041 "librelocations-ANDROID_RELR",
1042 "librelocations-RELR",
1043 "librelocations-fat",
1044 "libsegment_gap_inner",
1045 "libsegment_gap_outer",
1046 // "libssl_fuzz_unsafe",
1047 "libstatssocket_private",
1048 "libsysv-hash-table-library",
1049 "libtest_atexit",
1050 "libtest_check_order_dlsym",
1051 "libtest_check_order_dlsym_1_left",
1052 "libtest_check_order_dlsym_2_right",
1053 "libtest_check_order_dlsym_3_c",
1054 "libtest_check_order_dlsym_a",
1055 "libtest_check_order_dlsym_b",
1056 "libtest_check_order_dlsym_d",
1057 "libtest_check_order_reloc_root",
1058 "libtest_check_order_reloc_root_1",
1059 "libtest_check_order_reloc_root_2",
1060 "libtest_check_order_reloc_siblings",
1061 "libtest_check_order_reloc_siblings_1",
1062 "libtest_check_order_reloc_siblings_2",
1063 "libtest_check_order_reloc_siblings_3",
1064 "libtest_check_order_reloc_siblings_a",
1065 "libtest_check_order_reloc_siblings_b",
1066 "libtest_check_order_reloc_siblings_c",
1067 "libtest_check_order_reloc_siblings_c_1",
1068 "libtest_check_order_reloc_siblings_c_2",
1069 "libtest_check_order_reloc_siblings_d",
1070 "libtest_check_order_reloc_siblings_e",
1071 "libtest_check_order_reloc_siblings_f",
1072 "libtest_check_rtld_next_from_library",
1073 "libtest_dlopen_df_1_global",
1074 "libtest_dlopen_from_ctor",
1075 "libtest_dlopen_from_ctor_main",
1076 "libtest_dlopen_weak_undefined_func",
1077 "libtest_dlsym_df_1_global",
1078 "libtest_dlsym_from_this",
1079 "libtest_dlsym_from_this_child",
1080 "libtest_dlsym_from_this_grandchild",
1081 "libtest_dlsym_weak_func",
1082 "libtest_dt_runpath_a",
1083 "libtest_dt_runpath_b",
1084 "libtest_dt_runpath_c",
1085 "libtest_dt_runpath_d",
1086 "libtest_dt_runpath_d_zip",
1087 "libtest_dt_runpath_x",
1088 "libtest_dt_runpath_y",
1089 "libtest_elftls_dynamic",
1090 "libtest_elftls_dynamic_filler_1",
1091 "libtest_elftls_dynamic_filler_2",
1092 "libtest_elftls_dynamic_filler_3",
1093 "libtest_elftls_shared_var",
1094 "libtest_elftls_shared_var_ie",
1095 "libtest_elftls_tprel",
1096 "libtest_empty",
1097 "libtest_ifunc",
1098 "libtest_ifunc_variable",
1099 "libtest_ifunc_variable_impl",
1100 "libtest_indirect_thread_local_dtor",
1101 "libtest_init_fini_order_child",
1102 "libtest_init_fini_order_grand_child",
1103 "libtest_init_fini_order_root",
1104 "libtest_init_fini_order_root2",
1105 "libtest_missing_symbol",
1106 "libtest_missing_symbol_child_private",
1107 "libtest_missing_symbol_child_public",
1108 "libtest_missing_symbol_root",
1109 "libtest_nodelete_1",
1110 "libtest_nodelete_2",
1111 "libtest_nodelete_dt_flags_1",
1112 "libtest_pthread_atfork",
1113 "libtest_relo_check_dt_needed_order",
1114 "libtest_relo_check_dt_needed_order_1",
1115 "libtest_relo_check_dt_needed_order_2",
1116 "libtest_simple",
1117 "libtest_thread_local_dtor",
1118 "libtest_thread_local_dtor2",
1119 "libtest_two_parents_child",
1120 "libtest_two_parents_parent1",
1121 "libtest_two_parents_parent2",
1122 "libtest_versioned_lib",
1123 "libtest_versioned_libv1",
1124 "libtest_versioned_libv2",
1125 "libtest_versioned_otherlib",
1126 "libtest_versioned_otherlib_empty",
1127 "libtest_versioned_uselibv1",
1128 "libtest_versioned_uselibv2",
1129 "libtest_versioned_uselibv2_other",
1130 "libtest_versioned_uselibv3_other",
1131 "libtest_with_dependency",
1132 "libtest_with_dependency_loop",
1133 "libtest_with_dependency_loop_a",
1134 "libtest_with_dependency_loop_b",
1135 "libtest_with_dependency_loop_b_tmp",
1136 "libtest_with_dependency_loop_c",
1137 "libtestshared",
Vinh Tran583a07d2022-09-20 17:25:34 -04001138
1139 // depends on unconverted libprotobuf-java-nano
1140 "dnsresolverprotosnano",
1141 "launcherprotosnano",
1142 "datastallprotosnano",
1143 "devicepolicyprotosnano",
Sam Delmerico24c56032022-03-28 19:53:03 +00001144 }
1145
1146 Bp2buildCcLibraryStaticOnlyList = []string{}
1147
1148 MixedBuildsDisabledList = []string{
Liz Kammer63367e12022-06-13 19:35:12 +00001149 "libruy_static", "libtflite_kernel_utils", // TODO(b/237315968); Depend on prebuilt stl, not from source
1150
Sam Delmerico24c56032022-03-28 19:53:03 +00001151 "art_libdexfile_dex_instruction_list_header", // breaks libart_mterp.armng, header not found
1152
1153 "libbrotli", // http://b/198585397, ld.lld: error: bionic/libc/arch-arm64/generic/bionic/memmove.S:95:(.text+0x10): relocation R_AARCH64_CONDBR19 out of range: -1404176 is not in [-1048576, 1048575]; references __memcpy
1154 "minijail_constants_json", // http://b/200899432, bazel-built cc_genrule does not work in mixed build when it is a dependency of another soong module.
1155
1156 "cap_names.h", // TODO(b/204913827) runfiles need to be handled in mixed builds
1157 "libcap", // TODO(b/204913827) runfiles need to be handled in mixed builds
1158 "libprotobuf-cpp-full", "libprotobuf-cpp-lite", // Unsupported product&vendor suffix. b/204811222 and b/204810610.
1159
1160 // Depends on libprotobuf-cpp-*
1161 "libadb_pairing_connection",
1162 "libadb_pairing_connection_static",
1163 "libadb_pairing_server", "libadb_pairing_server_static",
1164
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxa56e9702022-02-23 18:39:59 -05001165 // TODO(b/240563612) Needing `stem` selection support for cc_binary
Sam Delmerico24c56032022-03-28 19:53:03 +00001166 "crasher",
Sam Delmerico277795c2022-02-25 17:04:37 +00001167
1168 // java_import[_host] issues
1169 // tradefed prebuilts depend on libprotobuf
1170 "prebuilt_tradefed",
1171 "prebuilt_tradefed-test-framework",
1172 // handcrafted BUILD.bazel files in //prebuilts/...
1173 "prebuilt_r8lib-prebuilt",
1174 "prebuilt_sdk-core-lambda-stubs",
1175 "prebuilt_android-support-collections-nodeps",
1176 "prebuilt_android-arch-core-common-nodeps",
1177 "prebuilt_android-arch-lifecycle-common-java8-nodeps",
1178 "prebuilt_android-arch-lifecycle-common-nodeps",
1179 "prebuilt_android-support-annotations-nodeps",
1180 "prebuilt_android-arch-paging-common-nodeps",
1181 "prebuilt_android-arch-room-common-nodeps",
Sam Delmerico0b66fb22022-08-23 15:17:29 -04001182 // TODO(b/217750501) exclude_dirs property not supported
1183 "prebuilt_kotlin-reflect",
1184 "prebuilt_kotlin-stdlib",
1185 "prebuilt_kotlin-stdlib-jdk7",
1186 "prebuilt_kotlin-stdlib-jdk8",
1187 "prebuilt_kotlin-test",
1188 // TODO(b/217750501) exclude_files property not supported
1189 "prebuilt_platform-robolectric-4.4-prebuilt",
1190 "prebuilt_platform-robolectric-4.5.1-prebuilt",
1191 "prebuilt_currysrc_org.eclipse",
Vinh Tran583a07d2022-09-20 17:25:34 -04001192
1193 // TODO(b/247782695 and/or b/242847534) Fix mixed build between unconverted gensrcs and converted filegroup
1194 "libstats_atom_enum_protos",
1195 "data_stall_event_proto",
1196 "device_policy_proto",
1197 "dns_resolver_proto",
1198 "launcher_proto",
1199 "network_stack_proto",
1200 "srcs_bluetooth_protos",
1201 "srcs_bluetooth_leaudio_protos",
1202 "style_proto",
1203 "tethering_proto",
1204 "text_classifier_proto",
1205 "libstats_atom_message_protos",
Sam Delmerico24c56032022-03-28 19:53:03 +00001206 }
Chris Parsonsef615e52022-08-18 22:04:11 -04001207
1208 ProdMixedBuildsEnabledList = []string{
Chris Parsons543c8c42022-09-08 11:40:24 -04001209 "com.android.adbd",
Chris Parsonsef615e52022-08-18 22:04:11 -04001210 }
Sam Delmerico24c56032022-03-28 19:53:03 +00001211)