blob: 0080067d20c230e5fbda25b8c725169b1092cd58 [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,
Jingwen Chena0519422022-09-28 08:01:57 +000048 "bootable/recovery/minadbd": Bp2BuildDefaultTrue,
49 "bootable/recovery/minui": Bp2BuildDefaultTrue,
50 "bootable/recovery/recovery_utils": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040051 "bootable/recovery/tools/recovery_l10n": Bp2BuildDefaultTrue,
52
Cole Faust324a92e2022-08-23 15:29:05 -070053 "build/bazel": Bp2BuildDefaultTrueRecursively,
54 "build/make/target/product/security": Bp2BuildDefaultTrue,
55 "build/make/tools/signapk": Bp2BuildDefaultTrue,
56 "build/make/tools/zipalign": Bp2BuildDefaultTrueRecursively,
57 "build/soong": Bp2BuildDefaultTrue,
58 "build/soong/cc/libbuildversion": Bp2BuildDefaultTrue, // Skip tests subdir
59 "build/soong/cc/ndkstubgen": Bp2BuildDefaultTrue,
60 "build/soong/cc/symbolfile": Bp2BuildDefaultTrue,
Sasha Smundak8bea2672022-08-04 13:31:14 -070061 "build/soong/licenses": Bp2BuildDefaultTrue,
Cole Faust324a92e2022-08-23 15:29:05 -070062 "build/soong/linkerconfig": Bp2BuildDefaultTrueRecursively,
63 "build/soong/scripts": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -040064
65 "cts/common/device-side/nativetesthelper/jni": Bp2BuildDefaultTrueRecursively,
66 "development/apps/DevelopmentSettings": Bp2BuildDefaultTrue,
67 "development/apps/Fallback": Bp2BuildDefaultTrue,
68 "development/apps/WidgetPreview": Bp2BuildDefaultTrue,
69 "development/samples/BasicGLSurfaceView": Bp2BuildDefaultTrue,
70 "development/samples/BluetoothChat": Bp2BuildDefaultTrue,
71 "development/samples/BrokenKeyDerivation": Bp2BuildDefaultTrue,
72 "development/samples/Compass": Bp2BuildDefaultTrue,
73 "development/samples/ContactManager": Bp2BuildDefaultTrue,
74 "development/samples/FixedGridLayout": Bp2BuildDefaultTrue,
75 "development/samples/HelloEffects": Bp2BuildDefaultTrue,
76 "development/samples/Home": Bp2BuildDefaultTrue,
77 "development/samples/HoneycombGallery": Bp2BuildDefaultTrue,
78 "development/samples/JetBoy": Bp2BuildDefaultTrue,
79 "development/samples/KeyChainDemo": Bp2BuildDefaultTrue,
80 "development/samples/LceDemo": Bp2BuildDefaultTrue,
81 "development/samples/LunarLander": Bp2BuildDefaultTrue,
82 "development/samples/MultiResolution": Bp2BuildDefaultTrue,
83 "development/samples/MultiWindow": Bp2BuildDefaultTrue,
84 "development/samples/NotePad": Bp2BuildDefaultTrue,
85 "development/samples/Obb": Bp2BuildDefaultTrue,
86 "development/samples/RSSReader": Bp2BuildDefaultTrue,
87 "development/samples/ReceiveShareDemo": Bp2BuildDefaultTrue,
88 "development/samples/SearchableDictionary": Bp2BuildDefaultTrue,
89 "development/samples/SipDemo": Bp2BuildDefaultTrue,
90 "development/samples/SkeletonApp": Bp2BuildDefaultTrue,
91 "development/samples/Snake": Bp2BuildDefaultTrue,
92 "development/samples/SpellChecker/": Bp2BuildDefaultTrueRecursively,
93 "development/samples/ThemedNavBarKeyboard": Bp2BuildDefaultTrue,
94 "development/samples/ToyVpn": Bp2BuildDefaultTrue,
95 "development/samples/TtsEngine": Bp2BuildDefaultTrue,
96 "development/samples/USB/AdbTest": Bp2BuildDefaultTrue,
97 "development/samples/USB/MissileLauncher": Bp2BuildDefaultTrue,
98 "development/samples/VoiceRecognitionService": Bp2BuildDefaultTrue,
99 "development/samples/VoicemailProviderDemo": Bp2BuildDefaultTrue,
100 "development/samples/WiFiDirectDemo": Bp2BuildDefaultTrue,
101 "development/sdk": Bp2BuildDefaultTrueRecursively,
102
103 "external/aac": Bp2BuildDefaultTrueRecursively,
104 "external/arm-optimized-routines": Bp2BuildDefaultTrueRecursively,
105 "external/auto/android-annotation-stubs": Bp2BuildDefaultTrueRecursively,
Sasha Smundak8bea2672022-08-04 13:31:14 -0700106 "external/auto": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400107 "external/auto/common": Bp2BuildDefaultTrueRecursively,
108 "external/auto/service": Bp2BuildDefaultTrueRecursively,
109 "external/boringssl": Bp2BuildDefaultTrueRecursively,
110 "external/bouncycastle": Bp2BuildDefaultTrue,
111 "external/brotli": Bp2BuildDefaultTrue,
112 "external/conscrypt": Bp2BuildDefaultTrue,
113 "external/e2fsprogs": Bp2BuildDefaultTrueRecursively,
114 "external/eigen": Bp2BuildDefaultTrueRecursively,
115 "external/erofs-utils": Bp2BuildDefaultTrueRecursively,
116 "external/error_prone": Bp2BuildDefaultTrueRecursively,
117 "external/expat": Bp2BuildDefaultTrueRecursively,
118 "external/f2fs-tools": Bp2BuildDefaultTrue,
119 "external/flac": Bp2BuildDefaultTrueRecursively,
120 "external/fmtlib": Bp2BuildDefaultTrueRecursively,
121 "external/google-benchmark": Bp2BuildDefaultTrueRecursively,
122 "external/googletest": Bp2BuildDefaultTrueRecursively,
123 "external/gwp_asan": Bp2BuildDefaultTrueRecursively,
124 "external/hamcrest": Bp2BuildDefaultTrueRecursively,
125 "external/icu": Bp2BuildDefaultTrueRecursively,
126 "external/icu/android_icu4j": Bp2BuildDefaultFalse, // java rules incomplete
127 "external/icu/icu4j": Bp2BuildDefaultFalse, // java rules incomplete
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400128 "external/jacoco": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400129 "external/jarjar": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400130 "external/javaparser": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400131 "external/javapoet": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000132 "external/javassist": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400133 "external/jemalloc_new": Bp2BuildDefaultTrueRecursively,
134 "external/jsoncpp": Bp2BuildDefaultTrueRecursively,
135 "external/junit": Bp2BuildDefaultTrueRecursively,
136 "external/libavc": Bp2BuildDefaultTrueRecursively,
137 "external/libcap": Bp2BuildDefaultTrueRecursively,
138 "external/libcxx": Bp2BuildDefaultTrueRecursively,
139 "external/libcxxabi": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000140 "external/libdrm": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400141 "external/libevent": Bp2BuildDefaultTrueRecursively,
142 "external/libgav1": Bp2BuildDefaultTrueRecursively,
143 "external/libhevc": Bp2BuildDefaultTrueRecursively,
144 "external/libjpeg-turbo": Bp2BuildDefaultTrueRecursively,
145 "external/libmpeg2": Bp2BuildDefaultTrueRecursively,
146 "external/libpng": Bp2BuildDefaultTrueRecursively,
Cole Faustc843b992022-08-02 18:06:50 -0700147 "external/libvpx": Bp2BuildDefaultTrueRecursively,
Cole Faust92e92e42022-08-26 16:12:42 -0700148 "external/libyuv": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400149 "external/lz4/lib": Bp2BuildDefaultTrue,
150 "external/lzma/C": Bp2BuildDefaultTrueRecursively,
151 "external/mdnsresponder": Bp2BuildDefaultTrueRecursively,
152 "external/minijail": Bp2BuildDefaultTrueRecursively,
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000153 "external/objenesis": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000154 "external/openscreen": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400155 "external/pcre": Bp2BuildDefaultTrueRecursively,
156 "external/protobuf": Bp2BuildDefaultTrueRecursively,
157 "external/python/six": Bp2BuildDefaultTrueRecursively,
158 "external/rappor": Bp2BuildDefaultTrueRecursively,
159 "external/scudo": Bp2BuildDefaultTrueRecursively,
160 "external/selinux/libselinux": Bp2BuildDefaultTrueRecursively,
161 "external/selinux/libsepol": Bp2BuildDefaultTrueRecursively,
Cole Faustfe2ab362022-08-26 16:55:11 -0700162 "external/speex": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400163 "external/toybox": Bp2BuildDefaultTrueRecursively,
164 "external/zlib": Bp2BuildDefaultTrueRecursively,
165 "external/zopfli": Bp2BuildDefaultTrueRecursively,
166 "external/zstd": Bp2BuildDefaultTrueRecursively,
167
Vinh Tranb01eb602022-08-25 19:14:28 -0400168 "frameworks/av": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400169 "frameworks/av/media/codecs": Bp2BuildDefaultTrueRecursively,
Jingwen Chenb2f584b2022-08-17 10:31:21 +0000170 "frameworks/av/media/liberror": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400171 "frameworks/av/services/minijail": Bp2BuildDefaultTrueRecursively,
Jingwen Chen8ebc6202022-09-14 11:48:21 +0000172 "frameworks/av/media/module/minijail": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400173 "frameworks/base/libs/androidfw": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400174 "frameworks/base/media/tests/MediaDump": Bp2BuildDefaultTrue,
Sam Delmerico97bd1272022-08-25 14:45:31 -0400175 "frameworks/base/services/tests/servicestests/aidl": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400176 "frameworks/base/startop/apps/test": Bp2BuildDefaultTrue,
177 "frameworks/base/tests/appwidgets/AppWidgetHostTest": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400178 "frameworks/base/tools/aapt2": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400179 "frameworks/native/libs/adbd_auth": Bp2BuildDefaultTrueRecursively,
180 "frameworks/native/libs/arect": Bp2BuildDefaultTrueRecursively,
181 "frameworks/native/libs/math": Bp2BuildDefaultTrueRecursively,
182 "frameworks/native/libs/nativebase": Bp2BuildDefaultTrueRecursively,
183 "frameworks/native/opengl/tests/gl2_cameraeye": Bp2BuildDefaultTrue,
184 "frameworks/native/opengl/tests/gl2_java": Bp2BuildDefaultTrue,
185 "frameworks/native/opengl/tests/testLatency": Bp2BuildDefaultTrue,
186 "frameworks/native/opengl/tests/testPauseResume": Bp2BuildDefaultTrue,
187 "frameworks/native/opengl/tests/testViewport": Bp2BuildDefaultTrue,
Jingwen Chena0519422022-09-28 08:01:57 +0000188 "frameworks/native/services/batteryservice": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400189 "frameworks/proto_logging/stats/stats_log_api_gen": Bp2BuildDefaultTrueRecursively,
190
Liz Kammer1c921162022-08-17 16:58:32 -0400191 "hardware/interfaces": Bp2BuildDefaultTrue,
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +0000192 "hardware/interfaces/common/aidl": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400193 "hardware/interfaces/configstore/1.0": Bp2BuildDefaultTrue,
194 "hardware/interfaces/configstore/1.1": Bp2BuildDefaultTrue,
195 "hardware/interfaces/configstore/utils": Bp2BuildDefaultTrue,
Vinh Tran99fd6502022-09-09 18:36:24 -0400196 "hardware/interfaces/graphics/allocator/aidl": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400197 "hardware/interfaces/graphics/allocator/2.0": Bp2BuildDefaultTrue,
198 "hardware/interfaces/graphics/allocator/3.0": Bp2BuildDefaultTrue,
199 "hardware/interfaces/graphics/allocator/4.0": Bp2BuildDefaultTrue,
200 "hardware/interfaces/graphics/bufferqueue/1.0": Bp2BuildDefaultTrue,
201 "hardware/interfaces/graphics/bufferqueue/2.0": Bp2BuildDefaultTrue,
202 "hardware/interfaces/graphics/common/1.0": Bp2BuildDefaultTrue,
203 "hardware/interfaces/graphics/common/1.1": Bp2BuildDefaultTrue,
204 "hardware/interfaces/graphics/common/1.2": Bp2BuildDefaultTrue,
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +0000205 "hardware/interfaces/graphics/common/aidl": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400206 "hardware/interfaces/graphics/mapper/2.0": Bp2BuildDefaultTrue,
207 "hardware/interfaces/graphics/mapper/2.1": Bp2BuildDefaultTrue,
208 "hardware/interfaces/graphics/mapper/3.0": Bp2BuildDefaultTrue,
209 "hardware/interfaces/graphics/mapper/4.0": Bp2BuildDefaultTrue,
Jingwen Chena0519422022-09-28 08:01:57 +0000210 "hardware/interfaces/health/1.0": Bp2BuildDefaultTrue,
211 "hardware/interfaces/health/1.0/default": Bp2BuildDefaultTrue,
212 "hardware/interfaces/health/2.0": Bp2BuildDefaultTrue,
213 "hardware/interfaces/health/2.0/default": Bp2BuildDefaultTrue,
214 "hardware/interfaces/health/2.0/utils": Bp2BuildDefaultTrueRecursively,
215 "hardware/interfaces/health/2.1": Bp2BuildDefaultTrue,
216 "hardware/interfaces/health/aidl": Bp2BuildDefaultTrue,
217 "hardware/interfaces/health/utils": Bp2BuildDefaultTrueRecursively,
Liz Kammer1c921162022-08-17 16:58:32 -0400218 "hardware/interfaces/media/1.0": Bp2BuildDefaultTrue,
219 "hardware/interfaces/media/bufferpool/2.0": Bp2BuildDefaultTrue,
220 "hardware/interfaces/media/c2/1.0": Bp2BuildDefaultTrue,
221 "hardware/interfaces/media/c2/1.1": Bp2BuildDefaultTrue,
222 "hardware/interfaces/media/c2/1.2": Bp2BuildDefaultTrue,
223 "hardware/interfaces/media/omx/1.0": Bp2BuildDefaultTrue,
224 "hardware/interfaces/neuralnetworks/1.0": Bp2BuildDefaultTrue,
225 "hardware/interfaces/neuralnetworks/1.1": Bp2BuildDefaultTrue,
226 "hardware/interfaces/neuralnetworks/1.2": Bp2BuildDefaultTrue,
227 "hardware/interfaces/neuralnetworks/1.3": Bp2BuildDefaultTrue,
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +0000228 "hardware/interfaces/neuralnetworks/aidl": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400229
230 "libnativehelper": Bp2BuildDefaultTrueRecursively,
231
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400232 "packages/apps/DevCamera": Bp2BuildDefaultTrue,
233 "packages/apps/HTMLViewer": Bp2BuildDefaultTrue,
234 "packages/apps/Protips": Bp2BuildDefaultTrue,
Sasha Smundak31327e92022-09-18 17:10:54 -0700235 "packages/apps/SafetyRegulatoryInfo": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400236 "packages/apps/WallpaperPicker": Bp2BuildDefaultTrue,
237 "packages/modules/StatsD/lib/libstatssocket": Bp2BuildDefaultTrueRecursively,
238 "packages/modules/adb": Bp2BuildDefaultTrue,
239 "packages/modules/adb/apex": Bp2BuildDefaultTrue,
240 "packages/modules/adb/crypto": Bp2BuildDefaultTrueRecursively,
241 "packages/modules/adb/libs": Bp2BuildDefaultTrueRecursively,
242 "packages/modules/adb/pairing_auth": Bp2BuildDefaultTrueRecursively,
243 "packages/modules/adb/pairing_connection": Bp2BuildDefaultTrueRecursively,
244 "packages/modules/adb/proto": Bp2BuildDefaultTrueRecursively,
245 "packages/modules/adb/tls": Bp2BuildDefaultTrueRecursively,
Jingwen Chenb2f584b2022-08-17 10:31:21 +0000246 "packages/providers/MediaProvider/tools/dialogs": Bp2BuildDefaultFalse, // TODO(b/242834374)
Jingwen Chen6bffe552022-09-14 11:34:34 +0000247 "packages/modules/NeuralNetworks/driver/cache": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400248 "packages/screensavers/Basic": Bp2BuildDefaultTrue,
Jingwen Chenb2f584b2022-08-17 10:31:21 +0000249 "packages/services/Car/tests/SampleRearViewCamera": Bp2BuildDefaultFalse, // TODO(b/242834321)
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400250
Romain Jobredeaux3d516cd2022-09-07 14:24:34 +0000251 "platform_testing/tests/example": Bp2BuildDefaultTrueRecursively,
252
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400253 "prebuilts/clang/host/linux-x86": Bp2BuildDefaultTrueRecursively,
254 "prebuilts/runtime/mainline/platform/sdk": Bp2BuildDefaultTrueRecursively,
255 "prebuilts/sdk/current/extras/app-toolkit": Bp2BuildDefaultTrue,
256 "prebuilts/sdk/current/support": Bp2BuildDefaultTrue,
Sasha Smundak8bea2672022-08-04 13:31:14 -0700257 "prebuilts/tools": Bp2BuildDefaultTrue,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400258 "prebuilts/tools/common/m2": Bp2BuildDefaultTrue,
259
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000260 "system/apex": Bp2BuildDefaultFalse, // TODO(b/207466993): flaky failures
261 "system/apex/apexer": Bp2BuildDefaultTrue,
262 "system/apex/libs": Bp2BuildDefaultTrueRecursively,
263 "system/apex/proto": Bp2BuildDefaultTrueRecursively,
264 "system/apex/tools": Bp2BuildDefaultTrueRecursively,
265 "system/core/debuggerd": Bp2BuildDefaultTrueRecursively,
266 "system/core/diagnose_usb": Bp2BuildDefaultTrueRecursively,
Jingwen Chena0519422022-09-28 08:01:57 +0000267 "system/core/healthd": Bp2BuildDefaultTrue,
268 "system/core/healthd/testdata": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000269 "system/core/libasyncio": Bp2BuildDefaultTrue,
270 "system/core/libcrypto_utils": Bp2BuildDefaultTrueRecursively,
271 "system/core/libcutils": Bp2BuildDefaultTrueRecursively,
272 "system/core/libpackagelistparser": Bp2BuildDefaultTrueRecursively,
273 "system/core/libprocessgroup": Bp2BuildDefaultTrue,
274 "system/core/libprocessgroup/cgrouprc": Bp2BuildDefaultTrue,
275 "system/core/libprocessgroup/cgrouprc_format": Bp2BuildDefaultTrue,
Jingwen Chena0519422022-09-28 08:01:57 +0000276 "system/core/libsuspend": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000277 "system/core/libsystem": Bp2BuildDefaultTrueRecursively,
Jingwen Chenf0616002022-09-01 14:28:55 +0000278 "system/core/libsysutils": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000279 "system/core/libutils": Bp2BuildDefaultTrueRecursively,
280 "system/core/libvndksupport": Bp2BuildDefaultTrueRecursively,
281 "system/core/property_service/libpropertyinfoparser": Bp2BuildDefaultTrueRecursively,
282 "system/core/property_service/libpropertyinfoserializer": Bp2BuildDefaultTrueRecursively,
Liz Kammer09d831e2022-09-16 09:02:26 -0400283 "system/incremental_delivery/incfs": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000284 "system/libartpalette": Bp2BuildDefaultTrueRecursively,
285 "system/libbase": Bp2BuildDefaultTrueRecursively,
286 "system/libfmq": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400287 "system/libhidl/libhidlmemory": Bp2BuildDefaultTrue,
288 "system/libhidl/transport": Bp2BuildDefaultTrue,
289 "system/libhidl/transport/allocator/1.0": Bp2BuildDefaultTrue,
Yu Liudf4413a2022-07-23 21:24:30 -0700290 "system/libhidl/transport/base/1.0": Bp2BuildDefaultTrue,
291 "system/libhidl/transport/manager/1.0": Bp2BuildDefaultTrue,
292 "system/libhidl/transport/manager/1.1": Bp2BuildDefaultTrue,
293 "system/libhidl/transport/manager/1.2": Bp2BuildDefaultTrue,
Liz Kammer1c921162022-08-17 16:58:32 -0400294 "system/libhidl/transport/memory/1.0": Bp2BuildDefaultTrue,
295 "system/libhidl/transport/memory/token/1.0": Bp2BuildDefaultTrue,
296 "system/libhidl/transport/safe_union/1.0": Bp2BuildDefaultTrue,
297 "system/libhidl/transport/token/1.0": Bp2BuildDefaultTrue,
298 "system/libhidl/transport/token/1.0/utils": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000299 "system/libhwbinder": Bp2BuildDefaultTrueRecursively,
300 "system/libprocinfo": Bp2BuildDefaultTrue,
301 "system/libziparchive": Bp2BuildDefaultTrueRecursively,
Jingwen Chenf0616002022-09-01 14:28:55 +0000302 "system/logging": Bp2BuildDefaultTrueRecursively,
Sasha Smundak8bea2672022-08-04 13:31:14 -0700303 "system/media": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000304 "system/media/audio": Bp2BuildDefaultTrueRecursively,
Cole Faustfe2ab362022-08-26 16:55:11 -0700305 "system/media/audio_utils": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000306 "system/memory/libion": Bp2BuildDefaultTrueRecursively,
307 "system/memory/libmemunreachable": Bp2BuildDefaultTrueRecursively,
308 "system/sepolicy/apex": Bp2BuildDefaultTrueRecursively,
Jingwen Chen537242c2022-08-24 11:53:27 +0000309 "system/testing/gtest_extras": Bp2BuildDefaultTrueRecursively,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000310 "system/timezone/apex": Bp2BuildDefaultTrueRecursively,
311 "system/timezone/output_data": Bp2BuildDefaultTrueRecursively,
Sam Delmerico8dfa46a2022-08-30 15:09:36 -0400312 "system/tools/aidl/build/tests_bp2build": Bp2BuildDefaultTrue,
Liz Kammer09d831e2022-09-16 09:02:26 -0400313 "system/tools/sysprop": Bp2BuildDefaultTrue,
Trevor Radcliffec7ceb432022-07-13 17:10:45 +0000314 "system/unwinding/libunwindstack": Bp2BuildDefaultTrueRecursively,
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400315
Vinh Tran583a07d2022-09-20 17:25:34 -0400316 "frameworks/proto_logging/stats": Bp2BuildDefaultTrueRecursively,
317
Romain Jobredeaux5a634d32022-07-27 10:50:12 -0400318 "tools/apksig": Bp2BuildDefaultTrue,
319 "tools/platform-compat/java/android/compat": Bp2BuildDefaultTrueRecursively,
320 "tools/tradefederation/prebuilts/filegroups": Bp2BuildDefaultTrueRecursively,
Sam Delmerico24c56032022-03-28 19:53:03 +0000321 }
322
323 Bp2buildKeepExistingBuildFile = map[string]bool{
324 // This is actually build/bazel/build.BAZEL symlinked to ./BUILD
325 ".":/*recursive = */ false,
326
Cole Faust324a92e2022-08-23 15:29:05 -0700327 "build/bazel":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000328 "build/bazel_common_rules":/* recursive = */ true,
329 // build/make/tools/signapk BUILD file is generated, so build/make/tools is not recursive.
330 "build/make/tools":/* recursive = */ false,
331 "build/pesto":/* recursive = */ true,
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000332 "build/soong":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000333
334 // external/bazelbuild-rules_android/... is needed by mixed builds, otherwise mixed builds analysis fails
335 // e.g. ERROR: Analysis of target '@soong_injection//mixed_builds:buildroot' failed
336 "external/bazelbuild-rules_android":/* recursive = */ true,
Sasha Smundak9d2f1742022-08-04 13:28:38 -0700337 "external/bazelbuild-rules_license":/* recursive = */ true,
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400338 "external/bazelbuild-kotlin-rules":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000339 "external/bazel-skylib":/* recursive = */ true,
340 "external/guava":/* recursive = */ true,
341 "external/jsr305":/* recursive = */ true,
Cole Faustea602c52022-08-31 14:48:26 -0700342 "external/protobuf":/* recursive = */ false,
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000343
344 // this BUILD file is globbed by //external/icu/icu4c/source:icu4c_test_data's "data/**/*".
345 "external/icu/icu4c/source/data/unidata/norm2":/* recursive = */ false,
346
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400347 "frameworks/base/tools/codegen":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000348 "frameworks/ex/common":/* recursive = */ true,
349
350 "packages/apps/Music":/* recursive = */ true,
351 "packages/apps/QuickSearchBox":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000352
Romain Jobredeaux29197972022-05-30 22:02:31 -0400353 "prebuilts/bazel":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000354 "prebuilts/bundletool":/* recursive = */ true,
Cole Faustea602c52022-08-31 14:48:26 -0700355 "prebuilts/clang/host/linux-x86":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000356 "prebuilts/gcc":/* recursive = */ true,
Jingwen Chen23ca2d22022-05-19 09:53:56 +0000357 "prebuilts/build-tools":/* recursive = */ true,
Sam Delmerico24c56032022-03-28 19:53:03 +0000358 "prebuilts/jdk/jdk11":/* recursive = */ false,
Cole Faust7071a052022-07-29 15:58:33 -0700359 "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 +0000360 "prebuilts/sdk":/* recursive = */ false,
Sam Delmerico24c56032022-03-28 19:53:03 +0000361 "prebuilts/sdk/tools":/* recursive = */ false,
362 "prebuilts/r8":/* recursive = */ false,
363 }
364
365 Bp2buildModuleAlwaysConvertList = []string{
Liz Kammer09d831e2022-09-16 09:02:26 -0400366 "libidmap2_policies",
367 "libSurfaceFlingerProp",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400368 // cc mainline modules
Liz Kammerbe1315e2022-05-10 09:15:31 -0400369 "code_coverage.policy",
370 "code_coverage.policy.other",
371 "codec2_soft_exports",
Vinh Tran99fd6502022-09-09 18:36:24 -0400372 "codecs_g711dec",
Liz Kammer5068eae2022-05-11 17:24:29 -0400373 "com.android.media.swcodec-androidManifest",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400374 "com.android.media.swcodec-ld.config.txt",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400375 "com.android.media.swcodec-mediaswcodec.rc",
Liz Kammer5068eae2022-05-11 17:24:29 -0400376 "com.android.media.swcodec.certificate",
377 "com.android.media.swcodec.key",
Vinh Tranfd446d62022-09-21 17:30:20 -0400378 "com.android.neuralnetworks",
Liz Kammer5068eae2022-05-11 17:24:29 -0400379 "com.android.neuralnetworks-androidManifest",
380 "com.android.neuralnetworks.certificate",
381 "com.android.neuralnetworks.key",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400382 "flatbuffer_headers",
383 "gemmlowp_headers",
384 "gl_headers",
Vinh Tran99fd6502022-09-09 18:36:24 -0400385 "libaidlcommonsupport",
Liz Kammer63367e12022-06-13 19:35:12 +0000386 "libandroid_runtime_lazy",
Liz Kammer5068eae2022-05-11 17:24:29 -0400387 "libandroid_runtime_vm_headers",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400388 "libaudioclient_aidl_conversion_util",
Vinh Tran9f6796a2022-08-16 13:10:31 -0400389 "libbinder",
390 "libbinder_device_interface_sources",
Vinh Tran444154d2022-08-16 13:10:31 -0400391 "libbinder_aidl",
Liz Kammer63367e12022-06-13 19:35:12 +0000392 "libbinder_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400393 "libbinder_headers_platform_shared",
Vinh Tran99fd6502022-09-09 18:36:24 -0400394 "libbinderthreadstateutils",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400395 "libbluetooth-types-header",
Liz Kammer63367e12022-06-13 19:35:12 +0000396 "libbufferhub_headers",
397 "libcodec2",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400398 "libcodec2_headers",
399 "libcodec2_internal",
400 "libdmabufheap",
Liz Kammer63367e12022-06-13 19:35:12 +0000401 "libdvr_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400402 "libgsm",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400403 "libgui_bufferqueue_sources",
Vinh Tran99fd6502022-09-09 18:36:24 -0400404 "libgrallocusage",
405 "libgralloctypes",
406 "libnativewindow",
Vinh Tranfd446d62022-09-21 17:30:20 -0400407 "libneuralnetworks",
Vinh Tran99fd6502022-09-09 18:36:24 -0400408 "libgraphicsenv",
Liz Kammer63367e12022-06-13 19:35:12 +0000409 "libhardware",
Liz Kammer5068eae2022-05-11 17:24:29 -0400410 "libhardware_headers",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400411 "libnativeloader-headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400412 "libnativewindow_headers",
413 "libneuralnetworks_headers",
Vinh Tran583a07d2022-09-20 17:25:34 -0400414 "libneuralnetworks_packageinfo",
Liz Kammer5068eae2022-05-11 17:24:29 -0400415 "libopus",
Liz Kammer63367e12022-06-13 19:35:12 +0000416 "libpdx_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400417 "libprocpartition",
Liz Kammer63367e12022-06-13 19:35:12 +0000418 "libruy_static",
Cole Faust6b29f592022-08-09 09:50:56 -0700419 "libandroidio",
420 "libandroidio_srcs",
Liz Kammer5068eae2022-05-11 17:24:29 -0400421 "libserviceutils",
Vinh Tran99fd6502022-09-09 18:36:24 -0400422 "libstagefright_amrnbenc",
423 "libstagefright_amrnbdec",
424 "libstagefright_amrwbdec",
425 "libstagefright_amrwbenc",
426 "libstagefright_amrnb_common",
Liz Kammer5068eae2022-05-11 17:24:29 -0400427 "libstagefright_enc_common",
Vinh Tran99fd6502022-09-09 18:36:24 -0400428 "libstagefright_flacdec",
429 "libstagefright_foundation",
Liz Kammer5068eae2022-05-11 17:24:29 -0400430 "libstagefright_foundation_headers",
431 "libstagefright_headers",
Vinh Tran99fd6502022-09-09 18:36:24 -0400432 "libstagefright_m4vh263dec",
433 "libstagefright_m4vh263enc",
434 "libstagefright_mp3dec",
435 "libstagefright_mp3dec_headers",
Liz Kammer63367e12022-06-13 19:35:12 +0000436 "libsurfaceflinger_headers",
Liz Kammerdfeb1202022-05-13 17:20:20 -0400437 "libsync",
Liz Kammer5068eae2022-05-11 17:24:29 -0400438 "libtextclassifier_hash_headers",
439 "libtextclassifier_hash_static",
Liz Kammer63367e12022-06-13 19:35:12 +0000440 "libtflite_kernel_utils",
441 "libtinyxml2",
Vinh Tran99fd6502022-09-09 18:36:24 -0400442 "libgui_aidl",
443 "libui",
Liz Kammer5068eae2022-05-11 17:24:29 -0400444 "libui-types",
Liz Kammer63367e12022-06-13 19:35:12 +0000445 "libui_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400446 "libvorbisidec",
447 "media_ndk_headers",
Liz Kammer63367e12022-06-13 19:35:12 +0000448 "media_plugin_headers",
Liz Kammer5068eae2022-05-11 17:24:29 -0400449 "mediaswcodec.policy",
450 "mediaswcodec.xml",
Vinh Tran99fd6502022-09-09 18:36:24 -0400451 "neuralnetworks_types",
Vinh Tran38534232022-09-13 18:50:31 -0400452 "neuralnetworks_utils_hal_aidl",
Vinh Tran99fd6502022-09-09 18:36:24 -0400453 "neuralnetworks_utils_hal_common",
Vinh Tran583a07d2022-09-20 17:25:34 -0400454 "neuralnetworks_utils_hal_service",
Vinh Tran99fd6502022-09-09 18:36:24 -0400455 "neuralnetworks_utils_hal_1_0",
456 "neuralnetworks_utils_hal_1_1",
457 "neuralnetworks_utils_hal_1_2",
458 "neuralnetworks_utils_hal_1_3",
459 "libneuralnetworks_common",
Vinh Tran583a07d2022-09-20 17:25:34 -0400460 // packagemanager_aidl_interface is created implicitly in packagemanager_aidl module
461 "packagemanager_aidl_interface",
Liz Kammer63367e12022-06-13 19:35:12 +0000462 "philox_random",
Liz Kammer5068eae2022-05-11 17:24:29 -0400463 "philox_random_headers",
464 "server_configurable_flags",
Vinh Tranf19b6582022-09-21 17:01:49 -0400465 "statslog_neuralnetworks.cpp",
466 "statslog_neuralnetworks.h",
Liz Kammer5068eae2022-05-11 17:24:29 -0400467 "tensorflow_headers",
Liz Kammerbe1315e2022-05-10 09:15:31 -0400468
Vinh Tran99fd6502022-09-09 18:36:24 -0400469 "libgui_headers",
470 "libstagefright_bufferpool@2.0",
471 "libstagefright_bufferpool@2.0.1",
Vinh Tranc169c542022-09-13 13:13:06 -0400472 "libSurfaceFlingerProp",
Vinh Tran99fd6502022-09-09 18:36:24 -0400473
Jingwen Chen9009dc22022-08-04 15:26:46 +0000474 // fastboot
475 "bootimg_headers",
476 "fastboot",
477 "libfastboot",
478 "liblp",
479 "libstorage_literals_headers",
480
Sam Delmerico24c56032022-03-28 19:53:03 +0000481 //external/avb
482 "avbtool",
483 "libavb",
484 "avb_headers",
485
Alix5918d642022-06-27 20:57:44 +0000486 //external/libxml2
487 "xmllint",
488 "libxml2",
489
Sam Delmerico24c56032022-03-28 19:53:03 +0000490 //external/fec
491 "libfec_rs",
492
493 //system/core/libsparse
494 "libsparse",
495
496 //system/extras/ext4_utils
497 "libext4_utils",
Cole Faust01243362022-06-02 12:11:12 -0700498 "mke2fs_conf",
Sam Delmerico24c56032022-03-28 19:53:03 +0000499
500 //system/extras/libfec
501 "libfec",
502
503 //system/extras/squashfs_utils
504 "libsquashfs_utils",
505
506 //system/extras/verity/fec
507 "fec",
508
509 //packages/apps/Car/libs/car-ui-lib/car-ui-androidx
510 // genrule dependencies for java_imports
511 "car-ui-androidx-annotation-nodeps",
512 "car-ui-androidx-collection-nodeps",
513 "car-ui-androidx-core-common-nodeps",
514 "car-ui-androidx-lifecycle-common-nodeps",
515 "car-ui-androidx-constraintlayout-solver-nodeps",
Yu Liudf4413a2022-07-23 21:24:30 -0700516
517 //system/libhidl
518 // needed by cc_hidl_library
519 "libhidlbase",
Vinh Tran444154d2022-08-16 13:10:31 -0400520
521 //frameworks/native
522 "framework_native_aidl_binder",
523 "framework_native_aidl_gui",
524
525 //frameworks/native/libs/input
526 "inputconstants_aidl",
Vinh Tranc3873e82022-08-23 20:33:25 -0400527
528 // needed for aidl_interface's ndk backend
529 "libbinder_ndk",
Jingwen Chen537242c2022-08-24 11:53:27 +0000530
531 "libusb",
Jingwen Chenf0616002022-09-01 14:28:55 +0000532
533 // needed by liblogd
534 "ILogcatManagerService_aidl",
535 "libincremental_aidl-cpp",
536 "incremental_aidl",
Jingwen Chen2247aca2022-09-09 10:47:43 +0000537
538 //frameworks/native/cmds/cmd
539 "libcmd",
Jingwen Chenadc07fa2022-09-21 13:13:48 +0000540
541 //system/core/fs_mgr/libdm
542 "libdm",
543
544 //system/core/fs_mgr/libfiemap
545 "libfiemap_headers",
546 "libfiemap_passthrough_srcs",
547 "libfiemap_srcs",
548
549 //system/gsid
550 "libgsi",
551 "libgsi_headers",
552
553 //system/core/libkeyutils
554 "libkeyutils",
555
Jingwen Chenadc07fa2022-09-21 13:13:48 +0000556 //bootable/recovery/otautil
557 "libotautil",
558
559 //system/vold
560 "libvold_headers",
561
562 //system/extras/libfscrypt
563 "libfscrypt",
564
565 //system/core/fs_mgr
566 "libfstab",
567
568 //bootable/recovery/fuse_sideload
569 "libfusesideload",
570
571 //system/core/fs_mgr/libfs_avb
572 "libfs_avb",
573
574 //system/core/fs_mgr
575 "libfs_mgr",
Yu Liubf7c03e2022-09-22 12:12:26 -0700576
577 "libcodec2_hidl@1.0",
578 "libcodec2_hidl@1.1",
579 "libcodec2_hidl@1.2",
580 "libcodec2_hidl_plugin_stub",
581 "libcodec2_hidl_plugin",
582 "libstagefright_bufferqueue_helper_novndk",
583 "libgui_bufferqueue_static",
584 "libGLESv2",
585 "libEGL",
586 "libcodec2_vndk",
587 "libnativeloader_lazy",
588 "libnativeloader",
589 "libEGL_getProcAddress",
590 "libEGL_blobCache",
Vinh Tran32a98a52022-09-23 13:08:34 -0400591
592 "protoc-gen-cppstream",
Yu Liu8c981532022-09-27 12:47:26 -0700593
594 "mediaswcodec",
595 "libmedia_headers",
596 "libmedia_codecserviceregistrant",
597 "libsfplugin_ccodec_utils",
598 "libcodec2_soft_aacenc",
599 "libcodec2_soft_amrnbdec",
600 "libcodec2_soft_amrnbenc",
601 "libcodec2_soft_amrwbdec",
602 "libcodec2_soft_amrwbenc",
603 "libcodec2_soft_hevcdec",
604 "libcodec2_soft_hevcenc",
605 "libcodec2_soft_g711alawdec",
606 "libcodec2_soft_g711mlawdec",
607 "libcodec2_soft_mpeg2dec",
608 "libcodec2_soft_h263dec",
609 "libcodec2_soft_h263enc",
610 "libcodec2_soft_mpeg4dec",
611 "libcodec2_soft_mpeg4enc",
612 "libcodec2_soft_mp3dec",
613 "libcodec2_soft_vorbisdec",
614 "libcodec2_soft_opusdec",
615 "libcodec2_soft_opusenc",
616 "libcodec2_soft_vp8dec",
617 "libcodec2_soft_vp9dec",
618 "libcodec2_soft_av1dec_gav1",
619 "libcodec2_soft_vp8enc",
620 "libcodec2_soft_vp9enc",
621 "libcodec2_soft_rawdec",
622 "libcodec2_soft_flacdec",
623 "libcodec2_soft_flacenc",
624 "libcodec2_soft_gsmdec",
625 "libcodec2_soft_avcdec",
626 "libcodec2_soft_avcenc",
627 "libcodec2_soft_aacdec",
628 "libcodec2_soft_common",
Sam Delmerico24c56032022-03-28 19:53:03 +0000629 }
630
631 Bp2buildModuleTypeAlwaysConvertList = []string{
Spandan Dasd58630f2022-09-08 01:04:22 +0000632 "aidl_interface_headers",
633 "api_domain",
Sasha Smundak8bea2672022-08-04 13:31:14 -0700634 "license",
Liz Kammer45faf8f2022-06-02 16:00:54 -0400635 "linker_config",
Sam Delmerico24c56032022-03-28 19:53:03 +0000636 "java_import",
637 "java_import_host",
Spandan Dasd58630f2022-09-08 01:04:22 +0000638 "ndk_headers",
639 "ndk_library",
Trevor Radcliffead3d1232022-09-01 16:25:10 +0000640 "sysprop_library",
Sam Delmerico24c56032022-03-28 19:53:03 +0000641 }
642
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000643 // Add the names of modules that bp2build should never convert, if it is
644 // in the package allowlist. An error will be thrown if a module must
645 // not be here and in the alwaysConvert lists.
646 //
647 // For prebuilt modules (e.g. android_library_import), remember to add
648 // the "prebuilt_" prefix to the name, so that it's differentiable from
649 // the source versions within Soong's module graph.
Sam Delmerico24c56032022-03-28 19:53:03 +0000650 Bp2buildModuleDoNotConvertList = []string{
651 // cc bugs
Jingwen Chenf0616002022-09-01 14:28:55 +0000652 "libactivitymanager_aidl", // TODO(b/207426160): Unsupported use of aidl sources (via Dactivity_manager_procstate_aidl) in a cc_library
653
654 // TODO(b/198619163) module has same name as source
Jingwen Chenf0616002022-09-01 14:28:55 +0000655 "logtagd.rc",
656
Sam Delmerico24c56032022-03-28 19:53:03 +0000657 "libgtest_ndk_c++", "libgtest_main_ndk_c++", // TODO(b/201816222): Requires sdk_version support.
Jingwen Chen537242c2022-08-24 11:53:27 +0000658
659 // TODO(b/202876379): has arch-variant static_executable
660 "linkerconfig",
661 "mdnsd",
662 "libcutils_test_static",
663 "KernelLibcutilsTest",
664
Cole Faust7071a052022-07-29 15:58:33 -0700665 "linker", // TODO(b/228316882): cc_binary uses link_crt
Cole Faust7071a052022-07-29 15:58:33 -0700666 "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 +0000667 "art_libartbase_headers", // TODO(b/236268577): Header libraries do not support export_shared_libs_headers
668 "apexer_test", // Requires aapt2
Cole Faust91a2e102022-05-31 14:56:48 -0700669 "apexer_test_host_tools",
670 "host_apex_verifier",
Cole Faust7071a052022-07-29 15:58:33 -0700671 "tjbench", // TODO(b/240563612): Stem property
Sam Delmerico24c56032022-03-28 19:53:03 +0000672
673 // java bugs
674 "libbase_ndk", // TODO(b/186826477): fails to link libctscamera2_jni for device (required for CtsCameraTestCases)
675
676 // python protos
Cole Faust53b62092022-05-12 15:37:02 -0700677 "libprotobuf-python", // Has a handcrafted alternative
Sam Delmerico24c56032022-03-28 19:53:03 +0000678
679 // genrule incompatibilities
680 "brotli-fuzzer-corpus", // TODO(b/202015218): outputs are in location incompatible with bazel genrule handling.
681 "platform_tools_properties", "build_tools_source_properties", // TODO(b/203369847): multiple genrules in the same package creating the same file
682
683 // aar support
684 "prebuilt_car-ui-androidx-core-common", // TODO(b/224773339), genrule dependency creates an .aar, not a .jar
685 "prebuilt_platform-robolectric-4.4-prebuilt", // aosp/1999250, needs .aar support in Jars
686 "prebuilt_platform-robolectric-4.5.1-prebuilt", // aosp/1999250, needs .aar support in Jars
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000687 // ERROR: The dependencies for the following 1 jar(s) are not complete.
688 // 1.bazel-out/android_target-fastbuild/bin/prebuilts/tools/common/m2/_aar/robolectric-monitor-1.0.2-alpha1/classes_and_libs_merged.jar
689 "prebuilt_robolectric-monitor-1.0.2-alpha1",
Sam Delmerico24c56032022-03-28 19:53:03 +0000690
691 // path property for filegroups
692 "conscrypt", // TODO(b/210751803), we don't handle path property for filegroups
693 "conscrypt-for-host", // TODO(b/210751803), we don't handle path property for filegroups
694 "host-libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups
Sam Delmerico24c56032022-03-28 19:53:03 +0000695 "libprotobuf-internal-python-srcs", // TODO(b/210751803), we don't handle path property for filegroups
696 "libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups
697 "libprotobuf-java-util-full", // TODO(b/210751803), we don't handle path property for filegroups
Sam Delmerico79985812022-03-23 20:20:42 +0000698 "auto_value_plugin_resources", // TODO(b/210751803), we don't handle path property for filegroups
Sam Delmerico24c56032022-03-28 19:53:03 +0000699
700 // go deps:
Jingwen Chenf50817d2022-09-21 06:46:08 +0000701 "analyze_bcpf", // depends on bpmodify a blueprint_go_binary.
702 "host_bionic_linker_asm", // depends on extract_linker, a go binary.
703 "host_bionic_linker_script", // depends on extract_linker, a go binary.
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000704
705 // in cmd attribute of genrule rule //system/timezone/output_data:robolectric_tzdata: label '//system/timezone/output_data:iana/tzdata' in $(location) expression is not a declared prerequisite of this rule
706 "robolectric_tzdata",
Sam Delmerico24c56032022-03-28 19:53:03 +0000707
708 // rust support
709 "libtombstoned_client_rust_bridge_code", "libtombstoned_client_wrapper", // rust conversions are not supported
710
711 // unconverted deps
Trevor Radcliffeef9c9002022-05-13 20:55:35 +0000712 "CarHTMLViewer", // depends on unconverted modules android.car-stubs, car-ui-lib
Trevor Radcliffeef9c9002022-05-13 20:55:35 +0000713 "adb", // depends on unconverted modules: AdbWinApi, libandroidfw, libopenscreen-discovery, libopenscreen-platform-impl, libusb, bin2c_fastdeployagent, AdbWinUsbApi
714 "android_icu4j_srcgen", // depends on unconverted modules: currysrc
715 "android_icu4j_srcgen_binary", // depends on unconverted modules: android_icu4j_srcgen, currysrc
716 "apex_manifest_proto_java", // b/210751803, depends on libprotobuf-java-full
717 "art-script", // depends on unconverted modules: dalvikvm, dex2oat
718 "bin2c_fastdeployagent", // depends on unconverted modules: deployagent
Sam Delmerico24c56032022-03-28 19:53:03 +0000719 "com.android.runtime", // depends on unconverted modules: bionic-linker-config, linkerconfig
Sam Delmerico24c56032022-03-28 19:53:03 +0000720 "currysrc", // depends on unconverted modules: currysrc_org.eclipse, guavalib, jopt-simple-4.9
721 "dex2oat-script", // depends on unconverted modules: dex2oat
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000722 "generated_android_icu4j_resources", // depends on unconverted modules: android_icu4j_srcgen_binary
723 "generated_android_icu4j_test_resources", // depends on unconverted modules: android_icu4j_srcgen_binary
Sam Delmerico24c56032022-03-28 19:53:03 +0000724 "host-libprotobuf-java-nano", // b/220869005, depends on libprotobuf-java-nano
Romain Jobredeaux0dfe8d32022-09-06 16:20:09 -0400725 "jacoco-stubs", // b/245767077, depends on droidstubs
Liz Kammer6a824f62022-08-09 13:23:01 -0400726 "libapexutil", // depends on unconverted modules: apex-info-list-tinyxml
Sam Delmerico24c56032022-03-28 19:53:03 +0000727 "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
728 "libart-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libart-compiler, libdexfile, libprofile, libartbase, libartbase-art-gtest
729 "libart_headers", // depends on unconverted modules: art_libartbase_headers
Liz Kammer3d13adc2022-08-09 09:26:54 -0400730 "libartbase-art-gtest", // depends on unconverted modules: libgtest_isolated, libart, libart-compiler, libdexfile, libprofile
731 "libartbased-art-gtest", // depends on unconverted modules: libgtest_isolated, libartd, libartd-compiler, libdexfiled, libprofiled
Sam Delmerico24c56032022-03-28 19:53:03 +0000732 "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
733 "libartd-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libartd-compiler, libdexfiled, libprofiled, libartbased, libartbased-art-gtest
Zi Wang0a8a1292022-08-30 06:27:01 +0000734 "libdebuggerd", // depends on unconverted module: libdexfile
Sam Delmerico24c56032022-03-28 19:53:03 +0000735 "libdebuggerd_handler", // depends on unconverted module libdebuggerd_handler_core
736 "libdebuggerd_handler_core", "libdebuggerd_handler_fallback", // depends on unconverted module libdebuggerd
Sam Delmerico24c56032022-03-28 19:53:03 +0000737 "libdexfiled", // depends on unconverted modules: dexfile_operator_srcs, libartbased, libartpalette
738 "libfastdeploy_host", // depends on unconverted modules: libandroidfw, libusb, AdbWinApi
739 "libgmock_main_ndk", // depends on unconverted modules: libgtest_ndk_c++
740 "libgmock_ndk", // depends on unconverted modules: libgtest_ndk_c++
741 "libnativehelper_lazy_mts_jni", "libnativehelper_mts_jni", // depends on unconverted modules: libnativetesthelper_jni, libgmock_ndk
742 "libnativetesthelper_jni", // depends on unconverted modules: libgtest_ndk_c++
743 "libprotobuf-java-nano", // b/220869005, depends on non-public_current SDK
Vinh Tranc3873e82022-08-23 20:33:25 -0400744 "libstatslog", // depends on unconverted modules: libstatspull, statsd-aidl-ndk
Sam Delmerico24c56032022-03-28 19:53:03 +0000745 "libstatslog_art", // depends on unconverted modules: statslog_art.cpp, statslog_art.h
746 "linker_reloc_bench_main", // depends on unconverted modules: liblinker_reloc_bench_*
747 "pbtombstone", "crash_dump", // depends on libdebuggerd, libunwindstack
Vinh Tranf19b6582022-09-21 17:01:49 -0400748 "robolectric-sqlite4java-0.282", // depends on unconverted modules: robolectric-sqlite4java-import, robolectric-sqlite4java-native
749 "static_crasher", // depends on unconverted modules: libdebuggerd_handler
750 "test_fips", // depends on unconverted modules: adb
751 "timezone-host", // depends on unconverted modules: art.module.api.annotations
752 "truth-host-prebuilt", // depends on unconverted modules: truth-prebuilt
753 "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 +0000754
Jingwen Chen5012e072022-08-04 15:04:43 +0000755 // '//bionic/libc:libc_bp2build_cc_library_static' is duplicated in the 'deps' attribute of rule
756 "toybox-static",
Wei Li81852ca2022-07-27 00:22:06 -0700757
Liz Kammer09d831e2022-09-16 09:02:26 -0400758 // aidl files not created
759 "overlayable_policy_aidl_interface",
760
Jingwen Chen4a7bf602022-09-21 06:36:37 +0000761 //prebuilts/tools/common/m2
762 // depends on //external/okio:okio-lib, which uses kotlin
763 "wire-runtime",
764
Jingwen Chena0519422022-09-28 08:01:57 +0000765 // depends on adbd_system_api_recovery, which is a unconverted `phony` module type
766 "minadbd",
767
768 // depends on android.hardware.health-V2.0-java
769 "android.hardware.health-translate-java",
770
Jingwen Chen537242c2022-08-24 11:53:27 +0000771 // cc_test related.
772 // Failing host cc_tests
773 "memunreachable_unit_test",
774 "libprocinfo_test",
775 "ziparchive-tests",
776 "gtest_isolated_tests",
777 "libunwindstack_unit_test",
778 "task_profiles_test",
779 "power_tests", // failing test on server, but not on host
780
781 // reflect: call of reflect.Value.NumField on interface Value
782 // affects all cc_tests that depend on art_defaults
783 "libnativebridge-tests",
784 "libnativeloader_test",
785 "art_libnativebridge_cts_tests",
786 "art_standalone_libdexfile_external_tests",
787 "art_standalone_libdexfile_support_tests",
788 "libnativebridge-lazy-tests",
789 "libnativebridge-test-case",
790 "libnativebridge2-test-case",
791 "libnativebridge3-test-case",
792 "libnativebridge6-test-case",
793 "libnativebridge6prezygotefork",
794
Liz Kammer09d831e2022-09-16 09:02:26 -0400795 "libandroidfw_tests", "aapt2_tests", // failing due to data path issues
796
Jingwen Chen537242c2022-08-24 11:53:27 +0000797 // cc_test with unconverted deps, or are device-only (and not verified to pass yet)
798 "AMRWBEncTest",
Jingwen Chenf0616002022-09-01 14:28:55 +0000799 "AmrnbDecoderTest", // depends on unconverted modules: libaudioutils, libsndfile
800 "AmrnbEncoderTest", // depends on unconverted modules: libaudioutils, libsndfile
801 "AmrwbDecoderTest", // depends on unconverted modules: libsndfile, libaudioutils
802 "AmrwbEncoderTest", // depends on unconverted modules: libaudioutils, libsndfile
Jingwen Chen537242c2022-08-24 11:53:27 +0000803 "Mp3DecoderTest", // depends on unconverted modules: libsndfile, libaudioutils
804 "Mpeg4H263DecoderTest", // depends on unconverted modules: libstagefright_foundation
805 "Mpeg4H263EncoderTest",
Jingwen Chen537242c2022-08-24 11:53:27 +0000806 "avcdec",
807 "avcenc",
808 "bionic-benchmarks-tests",
809 "bionic-fortify-runtime-asan-test",
810 "bionic-stress-tests",
811 "bionic-unit-tests",
812 "bionic-unit-tests-glibc",
813 "bionic-unit-tests-static",
814 "boringssl_crypto_test",
815 "boringssl_ssl_test",
816 "cfi_test_helper",
817 "cfi_test_helper2",
818 "cintltst32",
819 "cintltst64",
820 "compare",
821 "cpuid",
822 "debuggerd_test", // depends on unconverted modules: libdebuggerd
823 "elftls_dlopen_ie_error_helper",
824 "exec_linker_helper",
825 "fastdeploy_test", // depends on unconverted modules: AdbWinApi, libadb_host, libandroidfw, libfastdeploy_host, libopenscreen-discovery, libopenscreen-platform-impl, libusb
826 "fdtrack_test",
827 "google-benchmark-test",
828 "googletest-param-test-test_ndk", // depends on unconverted modules: libgtest_ndk_c++
829 "gtest-typed-test_test",
830 "gtest-typed-test_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
831 "gtest_ndk_tests", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
832 "gtest_ndk_tests_no_main", // depends on unconverted modules: libgtest_ndk_c++
833 "gtest_prod_test_ndk", // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
834 "gtest_tests",
835 "gtest_tests_no_main",
836 "gwp_asan_unittest",
837 "half_test",
838 "hashcombine_test",
839 "hevcdec",
840 "hevcenc",
841 "hwbinderThroughputTest", // depends on unconverted modules: android.hardware.tests.libhwbinder@1.0-impl.test, android.hardware.tests.libhwbinder@1.0
842 "i444tonv12_eg",
843 "icu4c_sample_break",
844 "intltest32",
845 "intltest64",
846 "ion-unit-tests",
847 "jemalloc5_integrationtests",
848 "jemalloc5_unittests",
849 "ld_config_test_helper",
850 "ld_preload_test_helper",
851 "libBionicCtsGtestMain", // depends on unconverted modules: libgtest_isolated
852 "libBionicLoaderTests", // depends on unconverted modules: libmeminfo
853 "libapexutil_tests", // depends on unconverted modules: apex-info-list-tinyxml, libapexutil
Jingwen Chen537242c2022-08-24 11:53:27 +0000854 "libcutils_sockets_test",
855 "libexpectedutils_test",
856 "libhwbinder_latency",
Jingwen Chenf0616002022-09-01 14:28:55 +0000857 "liblog-host-test", // failing tests
Jingwen Chen537242c2022-08-24 11:53:27 +0000858 "libminijail_test",
859 "libminijail_unittest_gtest",
860 "libpackagelistparser_test",
861 "libprotobuf_vendor_suffix_test",
862 "libstagefright_amrnbdec_test", // depends on unconverted modules: libsndfile, libaudioutils
863 "libstagefright_amrnbenc_test",
864 "libstagefright_amrwbdec_test", // depends on unconverted modules: libsndfile, libaudioutils
865 "libstagefright_m4vh263enc_test",
866 "libstagefright_mp3dec_test", // depends on unconverted modules: libsndfile, libaudioutils
867 "libstatssocket_test",
868 "libvndksupport-tests",
869 "libyuv_unittest",
870 "linker-unit-tests",
871 "malloc_debug_system_tests",
872 "malloc_debug_unit_tests",
873 "malloc_hooks_system_tests",
874 "mat_test",
875 "mathtest",
876 "memunreachable_binder_test", // depends on unconverted modules: libbinder
877 "memunreachable_test",
878 "metadata_tests",
879 "minijail0_cli_unittest_gtest",
880 "mpeg2dec",
881 "mvcdec",
882 "ns_hidden_child_helper",
883 "pngtest",
884 "preinit_getauxval_test_helper",
885 "preinit_syscall_test_helper",
886 "psnr",
887 "quat_test",
888 "rappor-tests", // depends on unconverted modules: jsr305, guava
889 "scudo_unit_tests",
890 "stats-log-api-gen-test", // depends on unconverted modules: libstats_proto_host
891 "syscall_filter_unittest_gtest",
892 "sysprop_test", // depends on unconverted modules: libcom.android.sysprop.tests
893 "thread_exit_cb_helper",
894 "tls_properties_helper",
895 "ulp",
896 "vec_test",
897 "yuvconstants",
898 "yuvconvert",
899 "zipalign_tests",
Jingwen Chen537242c2022-08-24 11:53:27 +0000900
901 // cc_test_library
902 "clang_diagnostic_tests",
903 "exec_linker_helper_lib",
904 "fortify_disabled_for_tidy",
905 "ld_config_test_helper_lib1",
906 "ld_config_test_helper_lib2",
907 "ld_config_test_helper_lib3",
908 "ld_preload_test_helper_lib1",
909 "ld_preload_test_helper_lib2",
910 "libBionicElfTlsLoaderTests",
911 "libBionicElfTlsTests",
912 "libBionicElfTlsTests",
913 "libBionicFramePointerTests",
914 "libBionicFramePointerTests",
915 "libBionicStandardTests",
916 "libBionicStandardTests",
917 "libBionicTests",
918 "libart-broken",
919 "libatest_simple_zip",
920 "libcfi-test",
921 "libcfi-test-bad",
922 "libcrash_test",
923 // "libcrypto_fuzz_unsafe",
924 "libdl_preempt_test_1",
925 "libdl_preempt_test_2",
926 "libdl_test_df_1_global",
927 "libdlext_test",
928 "libdlext_test_different_soname",
929 "libdlext_test_fd",
930 "libdlext_test_norelro",
931 "libdlext_test_recursive",
932 "libdlext_test_zip",
933 "libfortify1-new-tests-clang",
934 "libfortify1-new-tests-clang",
935 "libfortify1-tests-clang",
936 "libfortify1-tests-clang",
937 "libfortify2-new-tests-clang",
938 "libfortify2-new-tests-clang",
939 "libfortify2-tests-clang",
940 "libfortify2-tests-clang",
941 "libgnu-hash-table-library",
942 "libicutest_static",
943 "liblinker_reloc_bench_000",
944 "liblinker_reloc_bench_001",
945 "liblinker_reloc_bench_002",
946 "liblinker_reloc_bench_003",
947 "liblinker_reloc_bench_004",
948 "liblinker_reloc_bench_005",
949 "liblinker_reloc_bench_006",
950 "liblinker_reloc_bench_007",
951 "liblinker_reloc_bench_008",
952 "liblinker_reloc_bench_009",
953 "liblinker_reloc_bench_010",
954 "liblinker_reloc_bench_011",
955 "liblinker_reloc_bench_012",
956 "liblinker_reloc_bench_013",
957 "liblinker_reloc_bench_014",
958 "liblinker_reloc_bench_015",
959 "liblinker_reloc_bench_016",
960 "liblinker_reloc_bench_017",
961 "liblinker_reloc_bench_018",
962 "liblinker_reloc_bench_019",
963 "liblinker_reloc_bench_020",
964 "liblinker_reloc_bench_021",
965 "liblinker_reloc_bench_022",
966 "liblinker_reloc_bench_023",
967 "liblinker_reloc_bench_024",
968 "liblinker_reloc_bench_025",
969 "liblinker_reloc_bench_026",
970 "liblinker_reloc_bench_027",
971 "liblinker_reloc_bench_028",
972 "liblinker_reloc_bench_029",
973 "liblinker_reloc_bench_030",
974 "liblinker_reloc_bench_031",
975 "liblinker_reloc_bench_032",
976 "liblinker_reloc_bench_033",
977 "liblinker_reloc_bench_034",
978 "liblinker_reloc_bench_035",
979 "liblinker_reloc_bench_036",
980 "liblinker_reloc_bench_037",
981 "liblinker_reloc_bench_038",
982 "liblinker_reloc_bench_039",
983 "liblinker_reloc_bench_040",
984 "liblinker_reloc_bench_041",
985 "liblinker_reloc_bench_042",
986 "liblinker_reloc_bench_043",
987 "liblinker_reloc_bench_044",
988 "liblinker_reloc_bench_045",
989 "liblinker_reloc_bench_046",
990 "liblinker_reloc_bench_047",
991 "liblinker_reloc_bench_048",
992 "liblinker_reloc_bench_049",
993 "liblinker_reloc_bench_050",
994 "liblinker_reloc_bench_051",
995 "liblinker_reloc_bench_052",
996 "liblinker_reloc_bench_053",
997 "liblinker_reloc_bench_054",
998 "liblinker_reloc_bench_055",
999 "liblinker_reloc_bench_056",
1000 "liblinker_reloc_bench_057",
1001 "liblinker_reloc_bench_058",
1002 "liblinker_reloc_bench_059",
1003 "liblinker_reloc_bench_060",
1004 "liblinker_reloc_bench_061",
1005 "liblinker_reloc_bench_062",
1006 "liblinker_reloc_bench_063",
1007 "liblinker_reloc_bench_064",
1008 "liblinker_reloc_bench_065",
1009 "liblinker_reloc_bench_066",
1010 "liblinker_reloc_bench_067",
1011 "liblinker_reloc_bench_068",
1012 "liblinker_reloc_bench_069",
1013 "liblinker_reloc_bench_070",
1014 "liblinker_reloc_bench_071",
1015 "liblinker_reloc_bench_072",
1016 "liblinker_reloc_bench_073",
1017 "liblinker_reloc_bench_074",
1018 "liblinker_reloc_bench_075",
1019 "liblinker_reloc_bench_076",
1020 "liblinker_reloc_bench_077",
1021 "liblinker_reloc_bench_078",
1022 "liblinker_reloc_bench_079",
1023 "liblinker_reloc_bench_080",
1024 "liblinker_reloc_bench_081",
1025 "liblinker_reloc_bench_082",
1026 "liblinker_reloc_bench_083",
1027 "liblinker_reloc_bench_084",
1028 "liblinker_reloc_bench_085",
1029 "liblinker_reloc_bench_086",
1030 "liblinker_reloc_bench_087",
1031 "liblinker_reloc_bench_088",
1032 "liblinker_reloc_bench_089",
1033 "liblinker_reloc_bench_090",
1034 "liblinker_reloc_bench_091",
1035 "liblinker_reloc_bench_092",
1036 "liblinker_reloc_bench_093",
1037 "liblinker_reloc_bench_094",
1038 "liblinker_reloc_bench_095",
1039 "liblinker_reloc_bench_096",
1040 "liblinker_reloc_bench_097",
1041 "liblinker_reloc_bench_098",
1042 "liblinker_reloc_bench_099",
1043 "liblinker_reloc_bench_100",
1044 "liblinker_reloc_bench_101",
1045 "liblinker_reloc_bench_102",
1046 "liblinker_reloc_bench_103",
1047 "liblinker_reloc_bench_104",
1048 "liblinker_reloc_bench_105",
1049 "liblinker_reloc_bench_106",
1050 "liblinker_reloc_bench_107",
1051 "liblinker_reloc_bench_108",
1052 "liblinker_reloc_bench_109",
1053 "liblinker_reloc_bench_110",
1054 "liblinker_reloc_bench_111",
1055 "liblinker_reloc_bench_112",
1056 "liblinker_reloc_bench_113",
1057 "liblinker_reloc_bench_114",
1058 "liblinker_reloc_bench_115",
1059 "liblinker_reloc_bench_116",
1060 "liblinker_reloc_bench_117",
1061 "liblinker_reloc_bench_118",
1062 "liblinker_reloc_bench_119",
1063 "liblinker_reloc_bench_120",
1064 "liblinker_reloc_bench_121",
1065 "liblinker_reloc_bench_122",
1066 "liblinker_reloc_bench_123",
1067 "liblinker_reloc_bench_124",
1068 "liblinker_reloc_bench_125",
1069 "liblinker_reloc_bench_126",
1070 "liblinker_reloc_bench_127",
1071 "liblinker_reloc_bench_128",
1072 "liblinker_reloc_bench_129",
1073 "liblinker_reloc_bench_130",
1074 "liblinker_reloc_bench_131",
1075 "liblinker_reloc_bench_132",
1076 "liblinker_reloc_bench_133",
1077 "liblinker_reloc_bench_134",
1078 "liblinker_reloc_bench_135",
1079 "liblinker_reloc_bench_136",
1080 "liblinker_reloc_bench_137",
1081 "liblinker_reloc_bench_138",
1082 "liblinker_reloc_bench_139",
1083 "liblinker_reloc_bench_140",
1084 "liblinker_reloc_bench_141",
1085 "liblinker_reloc_bench_142",
1086 "liblinker_reloc_bench_143",
1087 "liblinker_reloc_bench_144",
1088 "liblinker_reloc_bench_145",
1089 "liblinker_reloc_bench_146",
1090 "liblinker_reloc_bench_147",
1091 "liblinker_reloc_bench_148",
1092 "liblinker_reloc_bench_149",
1093 "liblinker_reloc_bench_150",
1094 "liblinker_reloc_bench_151",
1095 "liblinker_reloc_bench_152",
1096 "liblinker_reloc_bench_153",
1097 "liblinker_reloc_bench_154",
1098 "liblinker_reloc_bench_155",
1099 "liblinker_reloc_bench_156",
1100 "liblinker_reloc_bench_157",
1101 "liblinker_reloc_bench_158",
1102 "liblinker_reloc_bench_159",
1103 "liblinker_reloc_bench_160",
1104 "liblinker_reloc_bench_161",
1105 "liblinker_reloc_bench_162",
1106 "liblinker_reloc_bench_163",
1107 "liblinker_reloc_bench_164",
1108 "liblinker_reloc_bench_165",
1109 "liblinker_reloc_bench_166",
1110 "liblinker_reloc_bench_167",
1111 "liblinker_reloc_bench_168",
1112 "libns_hidden_child_app",
1113 "libns_hidden_child_global",
1114 "libns_hidden_child_internal",
1115 "libns_hidden_child_public",
1116 "libnstest_dlopened",
1117 "libnstest_ns_a_public1",
1118 "libnstest_ns_a_public1_internal",
1119 "libnstest_ns_b_public2",
1120 "libnstest_ns_b_public3",
1121 "libnstest_private",
1122 "libnstest_private_external",
1123 "libnstest_public",
1124 "libnstest_public_internal",
1125 "libnstest_root",
1126 "libnstest_root_not_isolated",
1127 "librelocations-ANDROID_REL",
1128 "librelocations-ANDROID_RELR",
1129 "librelocations-RELR",
1130 "librelocations-fat",
1131 "libsegment_gap_inner",
1132 "libsegment_gap_outer",
1133 // "libssl_fuzz_unsafe",
1134 "libstatssocket_private",
1135 "libsysv-hash-table-library",
1136 "libtest_atexit",
1137 "libtest_check_order_dlsym",
1138 "libtest_check_order_dlsym_1_left",
1139 "libtest_check_order_dlsym_2_right",
1140 "libtest_check_order_dlsym_3_c",
1141 "libtest_check_order_dlsym_a",
1142 "libtest_check_order_dlsym_b",
1143 "libtest_check_order_dlsym_d",
1144 "libtest_check_order_reloc_root",
1145 "libtest_check_order_reloc_root_1",
1146 "libtest_check_order_reloc_root_2",
1147 "libtest_check_order_reloc_siblings",
1148 "libtest_check_order_reloc_siblings_1",
1149 "libtest_check_order_reloc_siblings_2",
1150 "libtest_check_order_reloc_siblings_3",
1151 "libtest_check_order_reloc_siblings_a",
1152 "libtest_check_order_reloc_siblings_b",
1153 "libtest_check_order_reloc_siblings_c",
1154 "libtest_check_order_reloc_siblings_c_1",
1155 "libtest_check_order_reloc_siblings_c_2",
1156 "libtest_check_order_reloc_siblings_d",
1157 "libtest_check_order_reloc_siblings_e",
1158 "libtest_check_order_reloc_siblings_f",
1159 "libtest_check_rtld_next_from_library",
1160 "libtest_dlopen_df_1_global",
1161 "libtest_dlopen_from_ctor",
1162 "libtest_dlopen_from_ctor_main",
1163 "libtest_dlopen_weak_undefined_func",
1164 "libtest_dlsym_df_1_global",
1165 "libtest_dlsym_from_this",
1166 "libtest_dlsym_from_this_child",
1167 "libtest_dlsym_from_this_grandchild",
1168 "libtest_dlsym_weak_func",
1169 "libtest_dt_runpath_a",
1170 "libtest_dt_runpath_b",
1171 "libtest_dt_runpath_c",
1172 "libtest_dt_runpath_d",
1173 "libtest_dt_runpath_d_zip",
1174 "libtest_dt_runpath_x",
1175 "libtest_dt_runpath_y",
1176 "libtest_elftls_dynamic",
1177 "libtest_elftls_dynamic_filler_1",
1178 "libtest_elftls_dynamic_filler_2",
1179 "libtest_elftls_dynamic_filler_3",
1180 "libtest_elftls_shared_var",
1181 "libtest_elftls_shared_var_ie",
1182 "libtest_elftls_tprel",
1183 "libtest_empty",
1184 "libtest_ifunc",
1185 "libtest_ifunc_variable",
1186 "libtest_ifunc_variable_impl",
1187 "libtest_indirect_thread_local_dtor",
1188 "libtest_init_fini_order_child",
1189 "libtest_init_fini_order_grand_child",
1190 "libtest_init_fini_order_root",
1191 "libtest_init_fini_order_root2",
1192 "libtest_missing_symbol",
1193 "libtest_missing_symbol_child_private",
1194 "libtest_missing_symbol_child_public",
1195 "libtest_missing_symbol_root",
1196 "libtest_nodelete_1",
1197 "libtest_nodelete_2",
1198 "libtest_nodelete_dt_flags_1",
1199 "libtest_pthread_atfork",
1200 "libtest_relo_check_dt_needed_order",
1201 "libtest_relo_check_dt_needed_order_1",
1202 "libtest_relo_check_dt_needed_order_2",
1203 "libtest_simple",
1204 "libtest_thread_local_dtor",
1205 "libtest_thread_local_dtor2",
1206 "libtest_two_parents_child",
1207 "libtest_two_parents_parent1",
1208 "libtest_two_parents_parent2",
1209 "libtest_versioned_lib",
1210 "libtest_versioned_libv1",
1211 "libtest_versioned_libv2",
1212 "libtest_versioned_otherlib",
1213 "libtest_versioned_otherlib_empty",
1214 "libtest_versioned_uselibv1",
1215 "libtest_versioned_uselibv2",
1216 "libtest_versioned_uselibv2_other",
1217 "libtest_versioned_uselibv3_other",
1218 "libtest_with_dependency",
1219 "libtest_with_dependency_loop",
1220 "libtest_with_dependency_loop_a",
1221 "libtest_with_dependency_loop_b",
1222 "libtest_with_dependency_loop_b_tmp",
1223 "libtest_with_dependency_loop_c",
1224 "libtestshared",
Vinh Tran583a07d2022-09-20 17:25:34 -04001225
1226 // depends on unconverted libprotobuf-java-nano
1227 "dnsresolverprotosnano",
1228 "launcherprotosnano",
1229 "datastallprotosnano",
1230 "devicepolicyprotosnano",
Sam Delmerico24c56032022-03-28 19:53:03 +00001231 }
1232
1233 Bp2buildCcLibraryStaticOnlyList = []string{}
1234
1235 MixedBuildsDisabledList = []string{
Liz Kammer63367e12022-06-13 19:35:12 +00001236 "libruy_static", "libtflite_kernel_utils", // TODO(b/237315968); Depend on prebuilt stl, not from source
1237
Sam Delmerico24c56032022-03-28 19:53:03 +00001238 "art_libdexfile_dex_instruction_list_header", // breaks libart_mterp.armng, header not found
1239
1240 "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
1241 "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.
1242
1243 "cap_names.h", // TODO(b/204913827) runfiles need to be handled in mixed builds
1244 "libcap", // TODO(b/204913827) runfiles need to be handled in mixed builds
1245 "libprotobuf-cpp-full", "libprotobuf-cpp-lite", // Unsupported product&vendor suffix. b/204811222 and b/204810610.
1246
1247 // Depends on libprotobuf-cpp-*
1248 "libadb_pairing_connection",
1249 "libadb_pairing_connection_static",
1250 "libadb_pairing_server", "libadb_pairing_server_static",
1251
Alex Márquez Pérez Muñíz Díaz Púras Thaureauxa56e9702022-02-23 18:39:59 -05001252 // TODO(b/240563612) Needing `stem` selection support for cc_binary
Sam Delmerico24c56032022-03-28 19:53:03 +00001253 "crasher",
Sam Delmerico277795c2022-02-25 17:04:37 +00001254
1255 // java_import[_host] issues
1256 // tradefed prebuilts depend on libprotobuf
1257 "prebuilt_tradefed",
1258 "prebuilt_tradefed-test-framework",
1259 // handcrafted BUILD.bazel files in //prebuilts/...
1260 "prebuilt_r8lib-prebuilt",
1261 "prebuilt_sdk-core-lambda-stubs",
1262 "prebuilt_android-support-collections-nodeps",
1263 "prebuilt_android-arch-core-common-nodeps",
1264 "prebuilt_android-arch-lifecycle-common-java8-nodeps",
1265 "prebuilt_android-arch-lifecycle-common-nodeps",
1266 "prebuilt_android-support-annotations-nodeps",
1267 "prebuilt_android-arch-paging-common-nodeps",
1268 "prebuilt_android-arch-room-common-nodeps",
Sam Delmerico0b66fb22022-08-23 15:17:29 -04001269 // TODO(b/217750501) exclude_dirs property not supported
1270 "prebuilt_kotlin-reflect",
1271 "prebuilt_kotlin-stdlib",
1272 "prebuilt_kotlin-stdlib-jdk7",
1273 "prebuilt_kotlin-stdlib-jdk8",
1274 "prebuilt_kotlin-test",
1275 // TODO(b/217750501) exclude_files property not supported
1276 "prebuilt_platform-robolectric-4.4-prebuilt",
1277 "prebuilt_platform-robolectric-4.5.1-prebuilt",
1278 "prebuilt_currysrc_org.eclipse",
Vinh Tran583a07d2022-09-20 17:25:34 -04001279
1280 // TODO(b/247782695 and/or b/242847534) Fix mixed build between unconverted gensrcs and converted filegroup
1281 "libstats_atom_enum_protos",
1282 "data_stall_event_proto",
1283 "device_policy_proto",
1284 "dns_resolver_proto",
1285 "launcher_proto",
1286 "network_stack_proto",
1287 "srcs_bluetooth_protos",
1288 "srcs_bluetooth_leaudio_protos",
1289 "style_proto",
1290 "tethering_proto",
1291 "text_classifier_proto",
1292 "libstats_atom_message_protos",
Sam Delmerico24c56032022-03-28 19:53:03 +00001293 }
Chris Parsonsef615e52022-08-18 22:04:11 -04001294
1295 ProdMixedBuildsEnabledList = []string{
Chris Parsons543c8c42022-09-08 11:40:24 -04001296 "com.android.adbd",
Chris Parsonsef615e52022-08-18 22:04:11 -04001297 }
Sam Delmerico24c56032022-03-28 19:53:03 +00001298)