Sam Delmerico | 24c5603 | 2022-03-28 19:53:03 +0000 | [diff] [blame^] | 1 | // Copyright 2022 Google Inc. All rights reserved. |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | package allowlists |
| 16 | |
| 17 | // Configuration to decide if modules in a directory should default to true/false for bp2build_available |
| 18 | type Bp2BuildConfig map[string]BazelConversionConfigEntry |
| 19 | type BazelConversionConfigEntry int |
| 20 | |
| 21 | const ( |
| 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 | |
| 38 | var ( |
| 39 | Bp2buildDefaultConfig = Bp2BuildConfig{ |
| 40 | "art/libartpalette": Bp2BuildDefaultTrueRecursively, |
| 41 | "art/libdexfile": Bp2BuildDefaultTrueRecursively, |
| 42 | "art/runtime": Bp2BuildDefaultTrueRecursively, |
| 43 | "art/tools": Bp2BuildDefaultTrue, |
| 44 | "bionic": Bp2BuildDefaultTrueRecursively, |
| 45 | "bootable/recovery/tools/recovery_l10n": Bp2BuildDefaultTrue, |
| 46 | "build/bazel/examples/soong_config_variables": Bp2BuildDefaultTrueRecursively, |
| 47 | "build/bazel/examples/apex/minimal": Bp2BuildDefaultTrueRecursively, |
| 48 | "build/make/tools/signapk": Bp2BuildDefaultTrue, |
| 49 | "build/make/target/product/security": Bp2BuildDefaultTrue, |
| 50 | "build/soong": Bp2BuildDefaultTrue, |
| 51 | "build/soong/cc/libbuildversion": Bp2BuildDefaultTrue, // Skip tests subdir |
| 52 | "build/soong/cc/ndkstubgen": Bp2BuildDefaultTrue, |
| 53 | "build/soong/cc/symbolfile": Bp2BuildDefaultTrue, |
| 54 | "build/soong/linkerconfig": Bp2BuildDefaultTrueRecursively, |
| 55 | "build/soong/scripts": Bp2BuildDefaultTrueRecursively, |
| 56 | "cts/common/device-side/nativetesthelper/jni": Bp2BuildDefaultTrueRecursively, |
| 57 | "development/apps/DevelopmentSettings": Bp2BuildDefaultTrue, |
| 58 | "development/apps/Fallback": Bp2BuildDefaultTrue, |
| 59 | "development/apps/WidgetPreview": Bp2BuildDefaultTrue, |
| 60 | "development/samples/BasicGLSurfaceView": Bp2BuildDefaultTrue, |
| 61 | "development/samples/BluetoothChat": Bp2BuildDefaultTrue, |
| 62 | "development/samples/BrokenKeyDerivation": Bp2BuildDefaultTrue, |
| 63 | "development/samples/Compass": Bp2BuildDefaultTrue, |
| 64 | "development/samples/ContactManager": Bp2BuildDefaultTrue, |
| 65 | "development/samples/FixedGridLayout": Bp2BuildDefaultTrue, |
| 66 | "development/samples/HelloEffects": Bp2BuildDefaultTrue, |
| 67 | "development/samples/Home": Bp2BuildDefaultTrue, |
| 68 | "development/samples/HoneycombGallery": Bp2BuildDefaultTrue, |
| 69 | "development/samples/JetBoy": Bp2BuildDefaultTrue, |
| 70 | "development/samples/KeyChainDemo": Bp2BuildDefaultTrue, |
| 71 | "development/samples/LceDemo": Bp2BuildDefaultTrue, |
| 72 | "development/samples/LunarLander": Bp2BuildDefaultTrue, |
| 73 | "development/samples/MultiResolution": Bp2BuildDefaultTrue, |
| 74 | "development/samples/MultiWindow": Bp2BuildDefaultTrue, |
| 75 | "development/samples/NotePad": Bp2BuildDefaultTrue, |
| 76 | "development/samples/Obb": Bp2BuildDefaultTrue, |
| 77 | "development/samples/RSSReader": Bp2BuildDefaultTrue, |
| 78 | "development/samples/ReceiveShareDemo": Bp2BuildDefaultTrue, |
| 79 | "development/samples/SearchableDictionary": Bp2BuildDefaultTrue, |
| 80 | "development/samples/SipDemo": Bp2BuildDefaultTrue, |
| 81 | "development/samples/SkeletonApp": Bp2BuildDefaultTrue, |
| 82 | "development/samples/Snake": Bp2BuildDefaultTrue, |
| 83 | "development/samples/SpellChecker/": Bp2BuildDefaultTrueRecursively, |
| 84 | "development/samples/ThemedNavBarKeyboard": Bp2BuildDefaultTrue, |
| 85 | "development/samples/ToyVpn": Bp2BuildDefaultTrue, |
| 86 | "development/samples/TtsEngine": Bp2BuildDefaultTrue, |
| 87 | "development/samples/USB/AdbTest": Bp2BuildDefaultTrue, |
| 88 | "development/samples/USB/MissileLauncher": Bp2BuildDefaultTrue, |
| 89 | "development/samples/VoiceRecognitionService": Bp2BuildDefaultTrue, |
| 90 | "development/samples/VoicemailProviderDemo": Bp2BuildDefaultTrue, |
| 91 | "development/samples/WiFiDirectDemo": Bp2BuildDefaultTrue, |
| 92 | "development/sdk": Bp2BuildDefaultTrueRecursively, |
| 93 | "external/arm-optimized-routines": Bp2BuildDefaultTrueRecursively, |
| 94 | "external/auto/android-annotation-stubs": Bp2BuildDefaultTrueRecursively, |
| 95 | "external/auto/common": Bp2BuildDefaultTrueRecursively, |
| 96 | "external/auto/service": Bp2BuildDefaultTrueRecursively, |
| 97 | "external/boringssl": Bp2BuildDefaultTrueRecursively, |
| 98 | "external/bouncycastle": Bp2BuildDefaultTrue, |
| 99 | "external/brotli": Bp2BuildDefaultTrue, |
| 100 | "external/conscrypt": Bp2BuildDefaultTrue, |
| 101 | "external/e2fsprogs": Bp2BuildDefaultTrueRecursively, |
| 102 | "external/error_prone": Bp2BuildDefaultTrueRecursively, |
| 103 | "external/fmtlib": Bp2BuildDefaultTrueRecursively, |
| 104 | "external/google-benchmark": Bp2BuildDefaultTrueRecursively, |
| 105 | "external/googletest": Bp2BuildDefaultTrueRecursively, |
| 106 | "external/gwp_asan": Bp2BuildDefaultTrueRecursively, |
| 107 | "external/icu": Bp2BuildDefaultTrueRecursively, |
| 108 | "external/icu/android_icu4j": Bp2BuildDefaultFalse, // java rules incomplete |
| 109 | "external/icu/icu4j": Bp2BuildDefaultFalse, // java rules incomplete |
| 110 | "external/javapoet": Bp2BuildDefaultTrueRecursively, |
| 111 | "external/jemalloc_new": Bp2BuildDefaultTrueRecursively, |
| 112 | "external/jsoncpp": Bp2BuildDefaultTrueRecursively, |
| 113 | "external/libcap": Bp2BuildDefaultTrueRecursively, |
| 114 | "external/libcxx": Bp2BuildDefaultTrueRecursively, |
| 115 | "external/libcxxabi": Bp2BuildDefaultTrueRecursively, |
| 116 | "external/libevent": Bp2BuildDefaultTrueRecursively, |
| 117 | "external/libpng": Bp2BuildDefaultTrueRecursively, |
| 118 | "external/lz4/lib": Bp2BuildDefaultTrue, |
| 119 | "external/lzma/C": Bp2BuildDefaultTrueRecursively, |
| 120 | "external/mdnsresponder": Bp2BuildDefaultTrueRecursively, |
| 121 | "external/minijail": Bp2BuildDefaultTrueRecursively, |
| 122 | "external/pcre": Bp2BuildDefaultTrueRecursively, |
| 123 | "external/protobuf": Bp2BuildDefaultTrueRecursively, |
| 124 | "external/python/six": Bp2BuildDefaultTrueRecursively, |
| 125 | "external/scudo": Bp2BuildDefaultTrueRecursively, |
| 126 | "external/selinux/libselinux": Bp2BuildDefaultTrueRecursively, |
| 127 | "external/selinux/libsepol": Bp2BuildDefaultTrueRecursively, |
| 128 | "external/zlib": Bp2BuildDefaultTrueRecursively, |
| 129 | "external/zstd": Bp2BuildDefaultTrueRecursively, |
| 130 | "frameworks/base/media/tests/MediaDump": Bp2BuildDefaultTrue, |
| 131 | "frameworks/base/startop/apps/test": Bp2BuildDefaultTrue, |
| 132 | "frameworks/base/tests/appwidgets/AppWidgetHostTest": Bp2BuildDefaultTrueRecursively, |
| 133 | "frameworks/native/libs/adbd_auth": Bp2BuildDefaultTrueRecursively, |
| 134 | "frameworks/native/opengl/tests/gl2_cameraeye": Bp2BuildDefaultTrue, |
| 135 | "frameworks/native/opengl/tests/gl2_java": Bp2BuildDefaultTrue, |
| 136 | "frameworks/native/opengl/tests/testLatency": Bp2BuildDefaultTrue, |
| 137 | "frameworks/native/opengl/tests/testPauseResume": Bp2BuildDefaultTrue, |
| 138 | "frameworks/native/opengl/tests/testViewport": Bp2BuildDefaultTrue, |
| 139 | "frameworks/proto_logging/stats/stats_log_api_gen": Bp2BuildDefaultTrueRecursively, |
| 140 | "libnativehelper": Bp2BuildDefaultTrueRecursively, |
| 141 | "packages/apps/DevCamera": Bp2BuildDefaultTrue, |
| 142 | "packages/apps/HTMLViewer": Bp2BuildDefaultTrue, |
| 143 | "packages/apps/Protips": Bp2BuildDefaultTrue, |
| 144 | "packages/modules/StatsD/lib/libstatssocket": Bp2BuildDefaultTrueRecursively, |
| 145 | "packages/modules/adb": Bp2BuildDefaultTrue, |
| 146 | "packages/modules/adb/apex": Bp2BuildDefaultTrue, |
| 147 | "packages/modules/adb/crypto": Bp2BuildDefaultTrueRecursively, |
| 148 | "packages/modules/adb/libs": Bp2BuildDefaultTrueRecursively, |
| 149 | "packages/modules/adb/pairing_auth": Bp2BuildDefaultTrueRecursively, |
| 150 | "packages/modules/adb/pairing_connection": Bp2BuildDefaultTrueRecursively, |
| 151 | "packages/modules/adb/proto": Bp2BuildDefaultTrueRecursively, |
| 152 | "packages/modules/adb/tls": Bp2BuildDefaultTrueRecursively, |
| 153 | "packages/providers/MediaProvider/tools/dialogs": Bp2BuildDefaultTrue, |
| 154 | "packages/screensavers/Basic": Bp2BuildDefaultTrue, |
| 155 | "packages/services/Car/tests/SampleRearViewCamera": Bp2BuildDefaultTrue, |
| 156 | "prebuilts/clang/host/linux-x86": Bp2BuildDefaultTrueRecursively, |
| 157 | "prebuilts/tools/common/m2": Bp2BuildDefaultTrue, |
| 158 | "system/apex": Bp2BuildDefaultFalse, // TODO(b/207466993): flaky failures |
| 159 | "system/apex/proto": Bp2BuildDefaultTrueRecursively, |
| 160 | "system/apex/libs": Bp2BuildDefaultTrueRecursively, |
| 161 | "system/core/debuggerd": Bp2BuildDefaultTrueRecursively, |
| 162 | "system/core/diagnose_usb": Bp2BuildDefaultTrueRecursively, |
| 163 | "system/core/libasyncio": Bp2BuildDefaultTrue, |
| 164 | "system/core/libcrypto_utils": Bp2BuildDefaultTrueRecursively, |
| 165 | "system/core/libcutils": Bp2BuildDefaultTrueRecursively, |
| 166 | "system/core/libpackagelistparser": Bp2BuildDefaultTrueRecursively, |
| 167 | "system/core/libprocessgroup": Bp2BuildDefaultTrue, |
| 168 | "system/core/libprocessgroup/cgrouprc": Bp2BuildDefaultTrue, |
| 169 | "system/core/libprocessgroup/cgrouprc_format": Bp2BuildDefaultTrue, |
| 170 | "system/core/libsystem": Bp2BuildDefaultTrueRecursively, |
| 171 | "system/core/libutils": Bp2BuildDefaultTrueRecursively, |
| 172 | "system/core/libvndksupport": Bp2BuildDefaultTrueRecursively, |
| 173 | "system/core/property_service/libpropertyinfoparser": Bp2BuildDefaultTrueRecursively, |
| 174 | "system/libbase": Bp2BuildDefaultTrueRecursively, |
| 175 | "system/libprocinfo": Bp2BuildDefaultTrue, |
| 176 | "system/libziparchive": Bp2BuildDefaultTrueRecursively, |
| 177 | "system/logging/liblog": Bp2BuildDefaultTrueRecursively, |
| 178 | "system/sepolicy/apex": Bp2BuildDefaultTrueRecursively, |
| 179 | "system/timezone/apex": Bp2BuildDefaultTrueRecursively, |
| 180 | "system/timezone/output_data": Bp2BuildDefaultTrueRecursively, |
| 181 | "system/unwinding/libbacktrace": Bp2BuildDefaultTrueRecursively, |
| 182 | "system/unwinding/libunwindstack": Bp2BuildDefaultTrueRecursively, |
| 183 | "tools/apksig": Bp2BuildDefaultTrue, |
| 184 | "tools/platform-compat/java/android/compat": Bp2BuildDefaultTrueRecursively, |
| 185 | } |
| 186 | |
| 187 | Bp2buildKeepExistingBuildFile = map[string]bool{ |
| 188 | // This is actually build/bazel/build.BAZEL symlinked to ./BUILD |
| 189 | ".":/*recursive = */ false, |
| 190 | |
| 191 | // build/bazel/examples/apex/... BUILD files should be generated, so |
| 192 | // build/bazel is not recursive. Instead list each subdirectory under |
| 193 | // build/bazel explicitly. |
| 194 | "build/bazel":/* recursive = */ false, |
| 195 | "build/bazel/ci/dist":/* recursive = */ false, |
| 196 | "build/bazel/examples/android_app":/* recursive = */ true, |
| 197 | "build/bazel/examples/java":/* recursive = */ true, |
| 198 | "build/bazel/bazel_skylib":/* recursive = */ true, |
| 199 | "build/bazel/rules":/* recursive = */ true, |
| 200 | "build/bazel/rules_cc":/* recursive = */ true, |
| 201 | "build/bazel/scripts":/* recursive = */ true, |
| 202 | "build/bazel/tests":/* recursive = */ true, |
| 203 | "build/bazel/platforms":/* recursive = */ true, |
| 204 | "build/bazel/product_variables":/* recursive = */ true, |
| 205 | "build/bazel/vendor/google":/* recursive = */ true, |
| 206 | "build/bazel_common_rules":/* recursive = */ true, |
| 207 | // build/make/tools/signapk BUILD file is generated, so build/make/tools is not recursive. |
| 208 | "build/make/tools":/* recursive = */ false, |
| 209 | "build/pesto":/* recursive = */ true, |
| 210 | |
| 211 | // external/bazelbuild-rules_android/... is needed by mixed builds, otherwise mixed builds analysis fails |
| 212 | // e.g. ERROR: Analysis of target '@soong_injection//mixed_builds:buildroot' failed |
| 213 | "external/bazelbuild-rules_android":/* recursive = */ true, |
| 214 | "external/bazel-skylib":/* recursive = */ true, |
| 215 | "external/guava":/* recursive = */ true, |
| 216 | "external/jsr305":/* recursive = */ true, |
| 217 | "frameworks/ex/common":/* recursive = */ true, |
| 218 | |
| 219 | "packages/apps/Music":/* recursive = */ true, |
| 220 | "packages/apps/QuickSearchBox":/* recursive = */ true, |
| 221 | "packages/apps/WallpaperPicker":/* recursive = */ false, |
| 222 | |
| 223 | "prebuilts/bundletool":/* recursive = */ true, |
| 224 | "prebuilts/gcc":/* recursive = */ true, |
| 225 | "prebuilts/build-tools":/* recursive = */ false, |
| 226 | "prebuilts/jdk/jdk11":/* recursive = */ false, |
| 227 | "prebuilts/sdk":/* recursive = */ false, |
| 228 | "prebuilts/sdk/current/extras/app-toolkit":/* recursive = */ false, |
| 229 | "prebuilts/sdk/current/support":/* recursive = */ false, |
| 230 | "prebuilts/sdk/tools":/* recursive = */ false, |
| 231 | "prebuilts/r8":/* recursive = */ false, |
| 232 | } |
| 233 | |
| 234 | Bp2buildModuleAlwaysConvertList = []string{ |
| 235 | //external/avb |
| 236 | "avbtool", |
| 237 | "libavb", |
| 238 | "avb_headers", |
| 239 | |
| 240 | //external/fec |
| 241 | "libfec_rs", |
| 242 | |
| 243 | //system/core/libsparse |
| 244 | "libsparse", |
| 245 | |
| 246 | //system/extras/ext4_utils |
| 247 | "libext4_utils", |
| 248 | |
| 249 | //system/extras/libfec |
| 250 | "libfec", |
| 251 | |
| 252 | //system/extras/squashfs_utils |
| 253 | "libsquashfs_utils", |
| 254 | |
| 255 | //system/extras/verity/fec |
| 256 | "fec", |
| 257 | |
| 258 | //packages/apps/Car/libs/car-ui-lib/car-ui-androidx |
| 259 | // genrule dependencies for java_imports |
| 260 | "car-ui-androidx-annotation-nodeps", |
| 261 | "car-ui-androidx-collection-nodeps", |
| 262 | "car-ui-androidx-core-common-nodeps", |
| 263 | "car-ui-androidx-lifecycle-common-nodeps", |
| 264 | "car-ui-androidx-constraintlayout-solver-nodeps", |
| 265 | } |
| 266 | |
| 267 | Bp2buildModuleTypeAlwaysConvertList = []string{ |
| 268 | "java_import", |
| 269 | "java_import_host", |
| 270 | } |
| 271 | |
| 272 | Bp2buildModuleDoNotConvertList = []string{ |
| 273 | // cc bugs |
| 274 | "libsepol", // TODO(b/207408632): Unsupported case of .l sources in cc library rules |
| 275 | "libactivitymanager_aidl", // TODO(b/207426160): Unsupported use of aidl sources (via Dactivity_manager_procstate_aidl) in a cc_library |
| 276 | "gen-kotlin-build-file.py", // TODO(b/198619163) module has same name as source |
| 277 | "libgtest_ndk_c++", "libgtest_main_ndk_c++", // TODO(b/201816222): Requires sdk_version support. |
| 278 | "linkerconfig", "mdnsd", // TODO(b/202876379): has arch-variant static_executable |
| 279 | "linker", // TODO(b/228316882): cc_binary uses link_crt |
| 280 | "libdebuggerd", // TODO(b/228314770): support product variable-specific header_libs |
| 281 | "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 |
| 282 | |
| 283 | // java bugs |
| 284 | "libbase_ndk", // TODO(b/186826477): fails to link libctscamera2_jni for device (required for CtsCameraTestCases) |
| 285 | |
| 286 | // python protos |
| 287 | "libprotobuf-python", // TODO(b/196084681): contains .proto sources |
| 288 | "apex_build_info_proto", "apex_manifest_proto", // TODO(b/196084681): a python lib with proto sources |
| 289 | "linker_config_proto", // TODO(b/196084681): contains .proto sources |
| 290 | |
| 291 | // genrule incompatibilities |
| 292 | "brotli-fuzzer-corpus", // TODO(b/202015218): outputs are in location incompatible with bazel genrule handling. |
| 293 | "platform_tools_properties", "build_tools_source_properties", // TODO(b/203369847): multiple genrules in the same package creating the same file |
| 294 | |
| 295 | // aar support |
| 296 | "prebuilt_car-ui-androidx-core-common", // TODO(b/224773339), genrule dependency creates an .aar, not a .jar |
| 297 | "prebuilt_platform-robolectric-4.4-prebuilt", // aosp/1999250, needs .aar support in Jars |
| 298 | "prebuilt_platform-robolectric-4.5.1-prebuilt", // aosp/1999250, needs .aar support in Jars |
| 299 | |
| 300 | // path property for filegroups |
| 301 | "conscrypt", // TODO(b/210751803), we don't handle path property for filegroups |
| 302 | "conscrypt-for-host", // TODO(b/210751803), we don't handle path property for filegroups |
| 303 | "host-libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups |
| 304 | "libprotobuf-internal-protos", // TODO(b/210751803), we don't handle path property for filegroups |
| 305 | "libprotobuf-internal-python-srcs", // TODO(b/210751803), we don't handle path property for filegroups |
| 306 | "libprotobuf-java-full", // TODO(b/210751803), we don't handle path property for filegroups |
| 307 | "libprotobuf-java-util-full", // TODO(b/210751803), we don't handle path property for filegroups |
| 308 | |
| 309 | // go deps: |
| 310 | "analyze_bcpf", // depends on bpmodify a blueprint_go_binary. |
| 311 | "apex-protos", // depends on soong_zip, a go binary |
| 312 | "generated_android_icu4j_src_files", "generated_android_icu4j_test_files", "icu4c_test_data", // depends on unconverted modules: soong_zip |
| 313 | "host_bionic_linker_asm", // depends on extract_linker, a go binary. |
| 314 | "host_bionic_linker_script", // depends on extract_linker, a go binary. |
| 315 | "libc_musl_sysroot_bionic_arch_headers", // depends on soong_zip |
| 316 | "libc_musl_sysroot_bionic_headers", // 218405924, depends on soong_zip and generates duplicate srcs |
| 317 | "libc_musl_sysroot_libc++_headers", "libc_musl_sysroot_libc++abi_headers", // depends on soong_zip, zip2zip |
| 318 | "robolectric-sqlite4java-native", // depends on soong_zip, a go binary |
| 319 | "robolectric_tzdata", // depends on soong_zip, a go binary |
| 320 | |
| 321 | // rust support |
| 322 | "libtombstoned_client_rust_bridge_code", "libtombstoned_client_wrapper", // rust conversions are not supported |
| 323 | |
| 324 | // unconverted deps |
| 325 | "CarHTMLViewer", // depends on unconverted modules android.car-stubs, car-ui-lib |
| 326 | "abb", // depends on unconverted modules: libcmd, libbinder |
| 327 | "adb", // depends on unconverted modules: AdbWinApi, libandroidfw, libopenscreen-discovery, libopenscreen-platform-impl, libusb, bin2c_fastdeployagent, AdbWinUsbApi |
| 328 | "android_icu4j_srcgen", // depends on unconverted modules: currysrc |
| 329 | "android_icu4j_srcgen_binary", // depends on unconverted modules: android_icu4j_srcgen, currysrc |
| 330 | "apex_manifest_proto_java", // b/210751803, depends on libprotobuf-java-full |
| 331 | "art-script", // depends on unconverted modules: dalvikvm, dex2oat |
| 332 | "bin2c_fastdeployagent", // depends on unconverted modules: deployagent |
| 333 | "chkcon", "sefcontext_compile", // depends on unconverted modules: libsepol |
| 334 | "com.android.runtime", // depends on unconverted modules: bionic-linker-config, linkerconfig |
| 335 | "conv_linker_config", // depends on unconverted modules: linker_config_proto |
| 336 | "currysrc", // depends on unconverted modules: currysrc_org.eclipse, guavalib, jopt-simple-4.9 |
| 337 | "dex2oat-script", // depends on unconverted modules: dex2oat |
| 338 | "generated_android_icu4j_resources", // depends on unconverted modules: android_icu4j_srcgen_binary, soong_zip |
| 339 | "generated_android_icu4j_test_resources", // depends on unconverted modules: android_icu4j_srcgen_binary, soong_zip |
| 340 | "host-libprotobuf-java-nano", // b/220869005, depends on libprotobuf-java-nano |
| 341 | "libadb_host", // depends on unconverted modules: AdbWinApi, libopenscreen-discovery, libopenscreen-platform-impl, libusb |
| 342 | "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 |
| 343 | "libart-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libart-compiler, libdexfile, libprofile, libartbase, libartbase-art-gtest |
| 344 | "libart_headers", // depends on unconverted modules: art_libartbase_headers |
| 345 | "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 |
| 346 | "libartd-runtime-gtest", // depends on unconverted modules: libgtest_isolated, libartd-compiler, libdexfiled, libprofiled, libartbased, libartbased-art-gtest |
| 347 | "libdebuggerd_handler", // depends on unconverted module libdebuggerd_handler_core |
| 348 | "libdebuggerd_handler_core", "libdebuggerd_handler_fallback", // depends on unconverted module libdebuggerd |
| 349 | "libdexfile", // depends on unconverted modules: dexfile_operator_srcs, libartbase, libartpalette, |
| 350 | "libdexfile_static", // depends on unconverted modules: libartbase, libdexfile |
| 351 | "libdexfiled", // depends on unconverted modules: dexfile_operator_srcs, libartbased, libartpalette |
| 352 | "libfastdeploy_host", // depends on unconverted modules: libandroidfw, libusb, AdbWinApi |
| 353 | "libgmock_main_ndk", // depends on unconverted modules: libgtest_ndk_c++ |
| 354 | "libgmock_ndk", // depends on unconverted modules: libgtest_ndk_c++ |
| 355 | "libnativehelper_lazy_mts_jni", "libnativehelper_mts_jni", // depends on unconverted modules: libnativetesthelper_jni, libgmock_ndk |
| 356 | "libnativetesthelper_jni", // depends on unconverted modules: libgtest_ndk_c++ |
| 357 | "libprotobuf-java-nano", // b/220869005, depends on non-public_current SDK |
| 358 | "libstatslog", // depends on unconverted modules: libstatspull, statsd-aidl-ndk, libbinder_ndk |
| 359 | "libstatslog_art", // depends on unconverted modules: statslog_art.cpp, statslog_art.h |
| 360 | "linker_reloc_bench_main", // depends on unconverted modules: liblinker_reloc_bench_* |
| 361 | "pbtombstone", "crash_dump", // depends on libdebuggerd, libunwindstack |
| 362 | "robolectric-sqlite4java-0.282", // depends on unconverted modules: robolectric-sqlite4java-import, robolectric-sqlite4java-native |
| 363 | "static_crasher", // depends on unconverted modules: libdebuggerd_handler |
| 364 | "stats-log-api-gen", // depends on unconverted modules: libstats_proto_host |
| 365 | "statslog.cpp", "statslog.h", "statslog.rs", // depends on unconverted modules: stats-log-api-gen |
| 366 | "statslog_art.cpp", "statslog_art.h", "statslog_header.rs", // depends on unconverted modules: stats-log-api-gen |
| 367 | "timezone-host", // depends on unconverted modules: art.module.api.annotations |
| 368 | "truth-host-prebuilt", // depends on unconverted modules: truth-prebuilt |
| 369 | "truth-prebuilt", // depends on unconverted modules: asm-7.0, guava |
| 370 | } |
| 371 | |
| 372 | Bp2buildCcLibraryStaticOnlyList = []string{} |
| 373 | |
| 374 | MixedBuildsDisabledList = []string{ |
| 375 | "art_libdexfile_dex_instruction_list_header", // breaks libart_mterp.armng, header not found |
| 376 | |
| 377 | "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 |
| 378 | "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. |
| 379 | |
| 380 | "cap_names.h", // TODO(b/204913827) runfiles need to be handled in mixed builds |
| 381 | "libcap", // TODO(b/204913827) runfiles need to be handled in mixed builds |
| 382 | "libprotobuf-cpp-full", "libprotobuf-cpp-lite", // Unsupported product&vendor suffix. b/204811222 and b/204810610. |
| 383 | |
| 384 | // Depends on libprotobuf-cpp-* |
| 385 | "libadb_pairing_connection", |
| 386 | "libadb_pairing_connection_static", |
| 387 | "libadb_pairing_server", "libadb_pairing_server_static", |
| 388 | |
| 389 | // TODO(b/204811222) support suffix in cc_binary |
| 390 | "acvp_modulewrapper", |
| 391 | "android.hardware.media.c2@1.0-service-v4l2", |
| 392 | "app_process", |
| 393 | "bar_test", |
| 394 | "bench_cxa_atexit", |
| 395 | "bench_noop", |
| 396 | "bench_noop_nostl", |
| 397 | "bench_noop_static", |
| 398 | "boringssl_self_test", |
| 399 | "boringssl_self_test_vendor", |
| 400 | "bssl", |
| 401 | "cavp", |
| 402 | "crash_dump", |
| 403 | "crasher", |
| 404 | "libcxx_test_template", |
| 405 | "linker", |
| 406 | "memory_replay", |
| 407 | "native_bridge_guest_linker", |
| 408 | "native_bridge_stub_library_defaults", |
| 409 | "noop", |
| 410 | "simpleperf_ndk", |
| 411 | "toybox-static", |
| 412 | "zlib_bench", |
| 413 | } |
| 414 | ) |