2022-03-28 21:53:03 +02:00
// Copyright 2022 Google Inc. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package allowlists
// Configuration to decide if modules in a directory should default to true/false for bp2build_available
type Bp2BuildConfig map [ string ] BazelConversionConfigEntry
type BazelConversionConfigEntry int
const (
// iota + 1 ensures that the int value is not 0 when used in the Bp2buildAllowlist map,
// which can also mean that the key doesn't exist in a lookup.
// all modules in this package and subpackages default to bp2build_available: true.
// allows modules to opt-out.
Bp2BuildDefaultTrueRecursively BazelConversionConfigEntry = iota + 1
// all modules in this package (not recursively) default to bp2build_available: true.
// allows modules to opt-out.
Bp2BuildDefaultTrue
// all modules in this package (not recursively) default to bp2build_available: false.
// allows modules to opt-in.
Bp2BuildDefaultFalse
2022-10-13 19:50:17 +02:00
// all modules in this package and subpackages default to bp2build_available: false.
// allows modules to opt-in.
Bp2BuildDefaultFalseRecursively
2023-03-18 16:12:39 +01:00
2023-04-11 07:28:43 +02:00
// Modules with build time of more than half a minute should have high priority.
DEFAULT_PRIORITIZED_WEIGHT = 1000
// Modules with build time of more than a few minute should have higher priority.
HIGH_PRIORITIZED_WEIGHT = 10 * DEFAULT_PRIORITIZED_WEIGHT
// Modules with inputs greater than the threshold should have high priority.
// Adjust this threshold if there are lots of wrong predictions.
INPUT_SIZE_THRESHOLD = 50
2022-03-28 21:53:03 +02:00
)
var (
Bp2buildDefaultConfig = Bp2BuildConfig {
2022-08-04 22:31:14 +02:00
"art" : Bp2BuildDefaultTrue ,
2022-07-27 16:50:12 +02:00
"art/libartbase" : Bp2BuildDefaultTrueRecursively ,
2022-09-07 16:24:34 +02:00
"art/libartpalette" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"art/libdexfile" : Bp2BuildDefaultTrueRecursively ,
"art/libnativebridge" : Bp2BuildDefaultTrueRecursively ,
"art/runtime" : Bp2BuildDefaultTrueRecursively ,
"art/tools" : Bp2BuildDefaultTrue ,
"bionic" : Bp2BuildDefaultTrueRecursively ,
2022-11-07 17:53:19 +01:00
"bootable/recovery/applypatch" : Bp2BuildDefaultTrue ,
2022-09-28 10:01:57 +02:00
"bootable/recovery/minadbd" : Bp2BuildDefaultTrue ,
"bootable/recovery/minui" : Bp2BuildDefaultTrue ,
"bootable/recovery/recovery_utils" : Bp2BuildDefaultTrue ,
2022-07-27 16:50:12 +02:00
"bootable/recovery/tools/recovery_l10n" : Bp2BuildDefaultTrue ,
2022-08-24 00:29:05 +02:00
"build/bazel" : Bp2BuildDefaultTrueRecursively ,
"build/make/target/product/security" : Bp2BuildDefaultTrue ,
2023-04-26 21:15:55 +02:00
"build/make/tools/protos" : Bp2BuildDefaultTrue ,
2022-10-11 23:38:16 +02:00
"build/make/tools/releasetools" : Bp2BuildDefaultTrue ,
2023-04-26 21:15:55 +02:00
"build/make/tools/sbom" : Bp2BuildDefaultTrue ,
2022-08-24 00:29:05 +02:00
"build/make/tools/signapk" : Bp2BuildDefaultTrue ,
"build/make/tools/zipalign" : Bp2BuildDefaultTrueRecursively ,
"build/soong" : Bp2BuildDefaultTrue ,
"build/soong/cc/libbuildversion" : Bp2BuildDefaultTrue , // Skip tests subdir
"build/soong/cc/ndkstubgen" : Bp2BuildDefaultTrue ,
"build/soong/cc/symbolfile" : Bp2BuildDefaultTrue ,
2022-08-04 22:31:14 +02:00
"build/soong/licenses" : Bp2BuildDefaultTrue ,
2022-08-24 00:29:05 +02:00
"build/soong/linkerconfig" : Bp2BuildDefaultTrueRecursively ,
"build/soong/scripts" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"cts/common/device-side/nativetesthelper/jni" : Bp2BuildDefaultTrueRecursively ,
2022-11-07 15:36:12 +01:00
"dalvik/tools/dexdeps" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"development/apps/DevelopmentSettings" : Bp2BuildDefaultTrue ,
"development/apps/Fallback" : Bp2BuildDefaultTrue ,
"development/apps/WidgetPreview" : Bp2BuildDefaultTrue ,
2023-05-15 20:49:23 +02:00
"development/python-packages/adb" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"development/samples/BasicGLSurfaceView" : Bp2BuildDefaultTrue ,
"development/samples/BluetoothChat" : Bp2BuildDefaultTrue ,
"development/samples/BrokenKeyDerivation" : Bp2BuildDefaultTrue ,
"development/samples/Compass" : Bp2BuildDefaultTrue ,
"development/samples/ContactManager" : Bp2BuildDefaultTrue ,
"development/samples/FixedGridLayout" : Bp2BuildDefaultTrue ,
"development/samples/HelloEffects" : Bp2BuildDefaultTrue ,
"development/samples/Home" : Bp2BuildDefaultTrue ,
"development/samples/HoneycombGallery" : Bp2BuildDefaultTrue ,
"development/samples/JetBoy" : Bp2BuildDefaultTrue ,
"development/samples/KeyChainDemo" : Bp2BuildDefaultTrue ,
"development/samples/LceDemo" : Bp2BuildDefaultTrue ,
"development/samples/LunarLander" : Bp2BuildDefaultTrue ,
"development/samples/MultiResolution" : Bp2BuildDefaultTrue ,
"development/samples/MultiWindow" : Bp2BuildDefaultTrue ,
"development/samples/NotePad" : Bp2BuildDefaultTrue ,
"development/samples/Obb" : Bp2BuildDefaultTrue ,
"development/samples/RSSReader" : Bp2BuildDefaultTrue ,
"development/samples/ReceiveShareDemo" : Bp2BuildDefaultTrue ,
"development/samples/SearchableDictionary" : Bp2BuildDefaultTrue ,
"development/samples/SipDemo" : Bp2BuildDefaultTrue ,
"development/samples/SkeletonApp" : Bp2BuildDefaultTrue ,
"development/samples/Snake" : Bp2BuildDefaultTrue ,
"development/samples/SpellChecker/" : Bp2BuildDefaultTrueRecursively ,
"development/samples/ThemedNavBarKeyboard" : Bp2BuildDefaultTrue ,
"development/samples/ToyVpn" : Bp2BuildDefaultTrue ,
"development/samples/TtsEngine" : Bp2BuildDefaultTrue ,
"development/samples/USB/AdbTest" : Bp2BuildDefaultTrue ,
"development/samples/USB/MissileLauncher" : Bp2BuildDefaultTrue ,
"development/samples/VoiceRecognitionService" : Bp2BuildDefaultTrue ,
"development/samples/VoicemailProviderDemo" : Bp2BuildDefaultTrue ,
"development/samples/WiFiDirectDemo" : Bp2BuildDefaultTrue ,
"development/sdk" : Bp2BuildDefaultTrueRecursively ,
"external/aac" : Bp2BuildDefaultTrueRecursively ,
"external/arm-optimized-routines" : Bp2BuildDefaultTrueRecursively ,
2022-08-04 22:31:14 +02:00
"external/auto" : Bp2BuildDefaultTrue ,
2022-11-07 17:53:19 +01:00
"external/auto/android-annotation-stubs" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"external/auto/common" : Bp2BuildDefaultTrueRecursively ,
"external/auto/service" : Bp2BuildDefaultTrueRecursively ,
"external/boringssl" : Bp2BuildDefaultTrueRecursively ,
"external/bouncycastle" : Bp2BuildDefaultTrue ,
"external/brotli" : Bp2BuildDefaultTrue ,
2022-10-11 23:38:16 +02:00
"external/bsdiff" : Bp2BuildDefaultTrueRecursively ,
"external/bzip2" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"external/conscrypt" : Bp2BuildDefaultTrue ,
"external/e2fsprogs" : Bp2BuildDefaultTrueRecursively ,
"external/eigen" : Bp2BuildDefaultTrueRecursively ,
"external/erofs-utils" : Bp2BuildDefaultTrueRecursively ,
"external/error_prone" : Bp2BuildDefaultTrueRecursively ,
2023-03-15 20:01:59 +01:00
"external/escapevelocity" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"external/expat" : Bp2BuildDefaultTrueRecursively ,
"external/f2fs-tools" : Bp2BuildDefaultTrue ,
"external/flac" : Bp2BuildDefaultTrueRecursively ,
"external/fmtlib" : Bp2BuildDefaultTrueRecursively ,
2023-04-04 16:30:14 +02:00
"external/guava" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"external/google-benchmark" : Bp2BuildDefaultTrueRecursively ,
"external/googletest" : Bp2BuildDefaultTrueRecursively ,
"external/gwp_asan" : Bp2BuildDefaultTrueRecursively ,
"external/hamcrest" : Bp2BuildDefaultTrueRecursively ,
"external/icu" : Bp2BuildDefaultTrueRecursively ,
"external/icu/android_icu4j" : Bp2BuildDefaultFalse , // java rules incomplete
"external/icu/icu4j" : Bp2BuildDefaultFalse , // java rules incomplete
2022-09-06 22:20:09 +02:00
"external/jacoco" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"external/jarjar" : Bp2BuildDefaultTrueRecursively ,
2022-09-06 22:20:09 +02:00
"external/javaparser" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"external/javapoet" : Bp2BuildDefaultTrueRecursively ,
2022-09-28 10:01:57 +02:00
"external/javassist" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"external/jemalloc_new" : Bp2BuildDefaultTrueRecursively ,
"external/jsoncpp" : Bp2BuildDefaultTrueRecursively ,
2023-02-03 16:15:47 +01:00
"external/jsr305" : Bp2BuildDefaultTrueRecursively ,
2023-01-11 22:27:34 +01:00
"external/jsr330" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"external/junit" : Bp2BuildDefaultTrueRecursively ,
2023-01-11 22:27:34 +01:00
"external/kotlinc" : Bp2BuildDefaultTrueRecursively ,
2022-09-30 22:36:59 +02:00
"external/libaom" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"external/libavc" : Bp2BuildDefaultTrueRecursively ,
"external/libcap" : Bp2BuildDefaultTrueRecursively ,
"external/libcxx" : Bp2BuildDefaultTrueRecursively ,
"external/libcxxabi" : Bp2BuildDefaultTrueRecursively ,
2022-10-11 23:38:16 +02:00
"external/libdivsufsort" : Bp2BuildDefaultTrueRecursively ,
2022-09-28 10:01:57 +02:00
"external/libdrm" : Bp2BuildDefaultTrue ,
2022-07-27 16:50:12 +02:00
"external/libevent" : Bp2BuildDefaultTrueRecursively ,
"external/libgav1" : Bp2BuildDefaultTrueRecursively ,
"external/libhevc" : Bp2BuildDefaultTrueRecursively ,
"external/libjpeg-turbo" : Bp2BuildDefaultTrueRecursively ,
"external/libmpeg2" : Bp2BuildDefaultTrueRecursively ,
"external/libpng" : Bp2BuildDefaultTrueRecursively ,
2022-08-03 03:06:50 +02:00
"external/libvpx" : Bp2BuildDefaultTrueRecursively ,
2022-08-27 01:12:42 +02:00
"external/libyuv" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"external/lz4/lib" : Bp2BuildDefaultTrue ,
2022-10-11 23:38:16 +02:00
"external/lz4/programs" : Bp2BuildDefaultTrue ,
2022-07-27 16:50:12 +02:00
"external/lzma/C" : Bp2BuildDefaultTrueRecursively ,
"external/mdnsresponder" : Bp2BuildDefaultTrueRecursively ,
"external/minijail" : Bp2BuildDefaultTrueRecursively ,
2022-12-06 01:47:44 +01:00
"external/musl" : Bp2BuildDefaultTrueRecursively ,
2022-09-21 08:36:37 +02:00
"external/objenesis" : Bp2BuildDefaultTrueRecursively ,
2022-09-28 10:01:57 +02:00
"external/openscreen" : Bp2BuildDefaultTrueRecursively ,
2022-11-22 05:45:05 +01:00
"external/ow2-asm" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"external/pcre" : Bp2BuildDefaultTrueRecursively ,
"external/protobuf" : Bp2BuildDefaultTrueRecursively ,
"external/python/six" : Bp2BuildDefaultTrueRecursively ,
"external/rappor" : Bp2BuildDefaultTrueRecursively ,
"external/scudo" : Bp2BuildDefaultTrueRecursively ,
"external/selinux/libselinux" : Bp2BuildDefaultTrueRecursively ,
"external/selinux/libsepol" : Bp2BuildDefaultTrueRecursively ,
2022-08-27 01:55:11 +02:00
"external/speex" : Bp2BuildDefaultTrueRecursively ,
2023-04-04 17:38:54 +02:00
"external/sqlite" : Bp2BuildDefaultTrueRecursively ,
2023-03-29 09:15:10 +02:00
"external/tinyalsa" : Bp2BuildDefaultTrueRecursively ,
"external/tinyalsa_new" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"external/toybox" : Bp2BuildDefaultTrueRecursively ,
"external/zlib" : Bp2BuildDefaultTrueRecursively ,
"external/zopfli" : Bp2BuildDefaultTrueRecursively ,
"external/zstd" : Bp2BuildDefaultTrueRecursively ,
2022-11-07 15:36:12 +01:00
"frameworks/av" : Bp2BuildDefaultTrue ,
2023-04-04 17:38:54 +02:00
"frameworks/av/media/audioaidlconversion" : Bp2BuildDefaultTrueRecursively ,
2022-09-30 22:36:59 +02:00
"frameworks/av/media/codec2/components/aom" : Bp2BuildDefaultTrueRecursively ,
2022-11-07 17:53:19 +01:00
"frameworks/av/media/codecs" : Bp2BuildDefaultTrueRecursively ,
2022-08-17 12:31:21 +02:00
"frameworks/av/media/liberror" : Bp2BuildDefaultTrueRecursively ,
2023-04-04 17:38:54 +02:00
"frameworks/av/media/libmediahelper" : Bp2BuildDefaultTrue ,
2022-12-19 17:45:23 +01:00
"frameworks/av/media/libshmem" : Bp2BuildDefaultTrueRecursively ,
2023-05-12 14:44:51 +02:00
"frameworks/av/media/module/codecs" : Bp2BuildDefaultTrueRecursively ,
"frameworks/av/media/module/foundation" : Bp2BuildDefaultTrueRecursively ,
2022-09-14 13:48:21 +02:00
"frameworks/av/media/module/minijail" : Bp2BuildDefaultTrueRecursively ,
2022-11-07 17:53:19 +01:00
"frameworks/av/services/minijail" : Bp2BuildDefaultTrueRecursively ,
2022-09-16 15:02:26 +02:00
"frameworks/base/libs/androidfw" : Bp2BuildDefaultTrue ,
2023-04-28 17:21:25 +02:00
"frameworks/base/libs/services" : Bp2BuildDefaultTrue ,
2022-07-27 16:50:12 +02:00
"frameworks/base/media/tests/MediaDump" : Bp2BuildDefaultTrue ,
2022-08-10 16:12:59 +02:00
"frameworks/base/proto" : Bp2BuildDefaultTrue ,
2023-05-12 14:44:51 +02:00
"frameworks/base/services/tests/servicestests/aidl" : Bp2BuildDefaultTrue ,
2022-07-27 16:50:12 +02:00
"frameworks/base/startop/apps/test" : Bp2BuildDefaultTrue ,
"frameworks/base/tests/appwidgets/AppWidgetHostTest" : Bp2BuildDefaultTrueRecursively ,
2022-09-16 15:02:26 +02:00
"frameworks/base/tools/aapt2" : Bp2BuildDefaultTrue ,
2023-03-02 18:12:30 +01:00
"frameworks/base/tools/codegen" : Bp2BuildDefaultTrueRecursively ,
2022-11-07 17:53:19 +01:00
"frameworks/base/tools/streaming_proto" : Bp2BuildDefaultTrueRecursively ,
2023-02-21 15:56:25 +01:00
"frameworks/hardware/interfaces/stats/aidl" : Bp2BuildDefaultTrue ,
2023-05-12 14:44:51 +02:00
"frameworks/libs/modules-utils/build" : Bp2BuildDefaultTrueRecursively ,
2023-05-19 16:30:52 +02:00
"frameworks/libs/net/common/native" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"frameworks/native/libs/adbd_auth" : Bp2BuildDefaultTrueRecursively ,
"frameworks/native/libs/arect" : Bp2BuildDefaultTrueRecursively ,
2022-10-04 18:04:17 +02:00
"frameworks/native/libs/gui" : Bp2BuildDefaultTrue ,
2022-07-27 16:50:12 +02:00
"frameworks/native/libs/math" : Bp2BuildDefaultTrueRecursively ,
"frameworks/native/libs/nativebase" : Bp2BuildDefaultTrueRecursively ,
2023-04-04 17:38:54 +02:00
"frameworks/native/libs/permission" : Bp2BuildDefaultTrueRecursively ,
2022-10-04 18:04:17 +02:00
"frameworks/native/libs/vr" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
"frameworks/native/opengl/tests/gl2_cameraeye" : Bp2BuildDefaultTrue ,
"frameworks/native/opengl/tests/gl2_java" : Bp2BuildDefaultTrue ,
"frameworks/native/opengl/tests/testLatency" : Bp2BuildDefaultTrue ,
"frameworks/native/opengl/tests/testPauseResume" : Bp2BuildDefaultTrue ,
"frameworks/native/opengl/tests/testViewport" : Bp2BuildDefaultTrue ,
2022-09-28 10:01:57 +02:00
"frameworks/native/services/batteryservice" : Bp2BuildDefaultTrue ,
2022-09-01 17:04:04 +02:00
"frameworks/proto_logging/stats" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
2023-03-20 22:30:51 +01:00
"hardware/interfaces" : Bp2BuildDefaultTrue ,
"hardware/interfaces/audio/aidl" : Bp2BuildDefaultTrue ,
"hardware/interfaces/audio/aidl/common" : Bp2BuildDefaultTrue ,
2023-03-29 09:15:10 +02:00
"hardware/interfaces/audio/aidl/default" : Bp2BuildDefaultTrue ,
"hardware/interfaces/audio/aidl/sounddose" : Bp2BuildDefaultTrue ,
2023-03-20 22:30:51 +01:00
"hardware/interfaces/common/aidl" : Bp2BuildDefaultTrue ,
"hardware/interfaces/common/fmq/aidl" : Bp2BuildDefaultTrue ,
"hardware/interfaces/common/support" : Bp2BuildDefaultTrue ,
"hardware/interfaces/configstore/1.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/configstore/1.1" : Bp2BuildDefaultTrue ,
"hardware/interfaces/configstore/utils" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/allocator/2.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/allocator/3.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/allocator/4.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/allocator/aidl" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/bufferqueue/1.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/bufferqueue/2.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/common/1.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/common/1.1" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/common/1.2" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/common/aidl" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/mapper/2.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/mapper/2.1" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/mapper/3.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/graphics/mapper/4.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/health/1.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/health/1.0/default" : Bp2BuildDefaultTrue ,
"hardware/interfaces/health/2.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/health/2.0/default" : Bp2BuildDefaultTrue ,
"hardware/interfaces/health/2.0/utils" : Bp2BuildDefaultTrueRecursively ,
"hardware/interfaces/health/2.1" : Bp2BuildDefaultTrue ,
"hardware/interfaces/health/aidl" : Bp2BuildDefaultTrue ,
"hardware/interfaces/health/utils" : Bp2BuildDefaultTrueRecursively ,
"hardware/interfaces/media/1.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/media/bufferpool" : Bp2BuildDefaultTrueRecursively ,
"hardware/interfaces/media/bufferpool/aidl/default/tests" : Bp2BuildDefaultFalseRecursively ,
"hardware/interfaces/media/c2/1.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/media/c2/1.1" : Bp2BuildDefaultTrue ,
"hardware/interfaces/media/c2/1.2" : Bp2BuildDefaultTrue ,
"hardware/interfaces/media/omx/1.0" : Bp2BuildDefaultTrue ,
"hardware/interfaces/neuralnetworks" : Bp2BuildDefaultTrueRecursively ,
"hardware/interfaces/neuralnetworks/aidl/vts" : Bp2BuildDefaultFalseRecursively ,
"hardware/interfaces/neuralnetworks/1.0/vts" : Bp2BuildDefaultFalseRecursively ,
"hardware/interfaces/neuralnetworks/1.1/vts" : Bp2BuildDefaultFalseRecursively ,
"hardware/interfaces/neuralnetworks/1.2/vts" : Bp2BuildDefaultFalseRecursively ,
"hardware/interfaces/neuralnetworks/1.3/vts" : Bp2BuildDefaultFalseRecursively ,
"hardware/interfaces/neuralnetworks/1.4/vts" : Bp2BuildDefaultFalseRecursively ,
2022-08-17 22:58:32 +02:00
"libnativehelper" : Bp2BuildDefaultTrueRecursively ,
2023-02-10 16:57:01 +01:00
"packages/apps/DevCamera" : Bp2BuildDefaultTrue ,
"packages/apps/HTMLViewer" : Bp2BuildDefaultTrue ,
"packages/apps/Protips" : Bp2BuildDefaultTrue ,
"packages/apps/SafetyRegulatoryInfo" : Bp2BuildDefaultTrue ,
"packages/apps/WallpaperPicker" : Bp2BuildDefaultTrue ,
"packages/modules/NeuralNetworks/driver/cache" : Bp2BuildDefaultTrueRecursively ,
"packages/modules/StatsD/lib/libstatssocket" : Bp2BuildDefaultTrueRecursively ,
"packages/modules/adb" : Bp2BuildDefaultTrue ,
"packages/modules/adb/apex" : Bp2BuildDefaultTrue ,
"packages/modules/adb/crypto" : Bp2BuildDefaultTrueRecursively ,
"packages/modules/adb/libs" : Bp2BuildDefaultTrueRecursively ,
"packages/modules/adb/pairing_auth" : Bp2BuildDefaultTrueRecursively ,
"packages/modules/adb/pairing_connection" : Bp2BuildDefaultTrueRecursively ,
"packages/modules/adb/proto" : Bp2BuildDefaultTrueRecursively ,
"packages/modules/adb/tls" : Bp2BuildDefaultTrueRecursively ,
2023-03-29 09:15:10 +02:00
"packages/modules/Gki/libkver" : Bp2BuildDefaultTrue ,
2023-02-10 16:57:01 +01:00
"packages/modules/NetworkStack/common/captiveportal" : Bp2BuildDefaultTrue ,
2023-03-24 18:53:02 +01:00
"packages/modules/NeuralNetworks/apex" : Bp2BuildDefaultTrue ,
2023-04-26 23:28:16 +02:00
"packages/modules/NeuralNetworks/apex/testing" : Bp2BuildDefaultTrue ,
2023-02-10 16:57:01 +01:00
"packages/providers/MediaProvider/tools/dialogs" : Bp2BuildDefaultFalse , // TODO(b/242834374)
"packages/screensavers/Basic" : Bp2BuildDefaultTrue ,
"packages/services/Car/tests/SampleRearViewCamera" : Bp2BuildDefaultFalse , // TODO(b/242834321)
2022-07-27 16:50:12 +02:00
2022-09-07 16:24:34 +02:00
"platform_testing/tests/example" : Bp2BuildDefaultTrueRecursively ,
2022-08-10 16:12:59 +02:00
"prebuilts/clang/host/linux-x86" : Bp2BuildDefaultTrueRecursively ,
"prebuilts/gradle-plugin" : Bp2BuildDefaultTrueRecursively ,
"prebuilts/runtime/mainline/platform/sdk" : Bp2BuildDefaultTrueRecursively ,
2023-05-04 16:16:26 +02:00
"prebuilts/sdk" : Bp2BuildDefaultTrue ,
2022-08-10 16:12:59 +02:00
"prebuilts/sdk/current/androidx" : Bp2BuildDefaultTrue ,
"prebuilts/sdk/current/androidx-legacy" : Bp2BuildDefaultTrue ,
"prebuilts/sdk/current/extras/constraint-layout-x" : Bp2BuildDefaultTrue ,
"prebuilts/sdk/current/extras/material-design-x" : Bp2BuildDefaultTrue ,
"prebuilts/sdk/current/extras/app-toolkit" : Bp2BuildDefaultTrue ,
"prebuilts/sdk/current/support" : Bp2BuildDefaultTrue ,
"prebuilts/tools" : Bp2BuildDefaultTrue ,
"prebuilts/tools/common/m2" : Bp2BuildDefaultTrue ,
2022-07-27 16:50:12 +02:00
2022-09-27 17:36:01 +02:00
"sdk/dumpeventlog" : Bp2BuildDefaultTrue ,
2022-11-07 17:53:19 +01:00
"sdk/eventanalyzer" : Bp2BuildDefaultTrue ,
2022-09-27 17:36:01 +02:00
2022-07-13 19:10:45 +02:00
"system/apex" : Bp2BuildDefaultFalse , // TODO(b/207466993): flaky failures
"system/apex/apexer" : Bp2BuildDefaultTrue ,
"system/apex/libs" : Bp2BuildDefaultTrueRecursively ,
"system/apex/proto" : Bp2BuildDefaultTrueRecursively ,
"system/apex/tools" : Bp2BuildDefaultTrueRecursively ,
"system/core/debuggerd" : Bp2BuildDefaultTrueRecursively ,
"system/core/diagnose_usb" : Bp2BuildDefaultTrueRecursively ,
2022-09-28 10:01:57 +02:00
"system/core/healthd" : Bp2BuildDefaultTrue ,
"system/core/healthd/testdata" : Bp2BuildDefaultTrue ,
2022-07-13 19:10:45 +02:00
"system/core/libasyncio" : Bp2BuildDefaultTrue ,
"system/core/libcrypto_utils" : Bp2BuildDefaultTrueRecursively ,
"system/core/libcutils" : Bp2BuildDefaultTrueRecursively ,
"system/core/libpackagelistparser" : Bp2BuildDefaultTrueRecursively ,
"system/core/libprocessgroup" : Bp2BuildDefaultTrue ,
"system/core/libprocessgroup/cgrouprc" : Bp2BuildDefaultTrue ,
"system/core/libprocessgroup/cgrouprc_format" : Bp2BuildDefaultTrue ,
2022-09-28 10:01:57 +02:00
"system/core/libsuspend" : Bp2BuildDefaultTrue ,
2022-07-13 19:10:45 +02:00
"system/core/libsystem" : Bp2BuildDefaultTrueRecursively ,
2022-09-01 16:28:55 +02:00
"system/core/libsysutils" : Bp2BuildDefaultTrueRecursively ,
2022-07-13 19:10:45 +02:00
"system/core/libutils" : Bp2BuildDefaultTrueRecursively ,
"system/core/libvndksupport" : Bp2BuildDefaultTrueRecursively ,
2022-10-11 23:38:16 +02:00
"system/core/mkbootfs" : Bp2BuildDefaultTrueRecursively ,
2022-07-13 19:10:45 +02:00
"system/core/property_service/libpropertyinfoparser" : Bp2BuildDefaultTrueRecursively ,
"system/core/property_service/libpropertyinfoserializer" : Bp2BuildDefaultTrueRecursively ,
2022-10-03 23:15:01 +02:00
"system/extras/toolchain-extras" : Bp2BuildDefaultTrue ,
2022-12-19 17:45:23 +01:00
"system/hardware/interfaces/media" : Bp2BuildDefaultTrueRecursively ,
2022-09-16 15:02:26 +02:00
"system/incremental_delivery/incfs" : Bp2BuildDefaultTrue ,
2022-07-13 19:10:45 +02:00
"system/libartpalette" : Bp2BuildDefaultTrueRecursively ,
"system/libbase" : Bp2BuildDefaultTrueRecursively ,
"system/libfmq" : Bp2BuildDefaultTrue ,
2022-08-17 22:58:32 +02:00
"system/libhidl/libhidlmemory" : Bp2BuildDefaultTrue ,
"system/libhidl/transport" : Bp2BuildDefaultTrue ,
"system/libhidl/transport/allocator/1.0" : Bp2BuildDefaultTrue ,
2022-07-24 06:24:30 +02:00
"system/libhidl/transport/base/1.0" : Bp2BuildDefaultTrue ,
"system/libhidl/transport/manager/1.0" : Bp2BuildDefaultTrue ,
"system/libhidl/transport/manager/1.1" : Bp2BuildDefaultTrue ,
"system/libhidl/transport/manager/1.2" : Bp2BuildDefaultTrue ,
2022-08-17 22:58:32 +02:00
"system/libhidl/transport/memory/1.0" : Bp2BuildDefaultTrue ,
"system/libhidl/transport/memory/token/1.0" : Bp2BuildDefaultTrue ,
"system/libhidl/transport/safe_union/1.0" : Bp2BuildDefaultTrue ,
"system/libhidl/transport/token/1.0" : Bp2BuildDefaultTrue ,
"system/libhidl/transport/token/1.0/utils" : Bp2BuildDefaultTrue ,
2022-07-13 19:10:45 +02:00
"system/libhwbinder" : Bp2BuildDefaultTrueRecursively ,
"system/libprocinfo" : Bp2BuildDefaultTrue ,
2023-03-29 09:15:10 +02:00
"system/libvintf" : Bp2BuildDefaultTrue ,
2022-07-13 19:10:45 +02:00
"system/libziparchive" : Bp2BuildDefaultTrueRecursively ,
2022-09-01 16:28:55 +02:00
"system/logging" : Bp2BuildDefaultTrueRecursively ,
2022-08-04 22:31:14 +02:00
"system/media" : Bp2BuildDefaultTrue ,
2022-07-13 19:10:45 +02:00
"system/media/audio" : Bp2BuildDefaultTrueRecursively ,
2023-03-29 09:15:10 +02:00
"system/media/alsa_utils" : Bp2BuildDefaultTrueRecursively ,
2022-08-27 01:55:11 +02:00
"system/media/audio_utils" : Bp2BuildDefaultTrueRecursively ,
2022-07-13 19:10:45 +02:00
"system/memory/libion" : Bp2BuildDefaultTrueRecursively ,
"system/memory/libmemunreachable" : Bp2BuildDefaultTrueRecursively ,
"system/sepolicy/apex" : Bp2BuildDefaultTrueRecursively ,
2022-08-24 13:53:27 +02:00
"system/testing/gtest_extras" : Bp2BuildDefaultTrueRecursively ,
2022-07-13 19:10:45 +02:00
"system/timezone/apex" : Bp2BuildDefaultTrueRecursively ,
"system/timezone/output_data" : Bp2BuildDefaultTrueRecursively ,
2023-04-11 10:49:01 +02:00
"system/timezone/testdata" : Bp2BuildDefaultTrueRecursively ,
"system/timezone/testing" : Bp2BuildDefaultTrueRecursively ,
2022-08-30 21:09:36 +02:00
"system/tools/aidl/build/tests_bp2build" : Bp2BuildDefaultTrue ,
2023-03-29 09:15:10 +02:00
"system/tools/aidl/metadata" : Bp2BuildDefaultTrue ,
"system/tools/hidl/metadata" : Bp2BuildDefaultTrue ,
2022-10-11 23:38:16 +02:00
"system/tools/mkbootimg" : Bp2BuildDefaultTrueRecursively ,
2022-09-16 15:02:26 +02:00
"system/tools/sysprop" : Bp2BuildDefaultTrue ,
2023-03-29 09:15:10 +02:00
"system/tools/xsdc/utils" : Bp2BuildDefaultTrueRecursively ,
2022-07-13 19:10:45 +02:00
"system/unwinding/libunwindstack" : Bp2BuildDefaultTrueRecursively ,
2022-07-27 16:50:12 +02:00
2022-08-10 16:12:59 +02:00
"tools/apifinder" : Bp2BuildDefaultTrue ,
2023-04-13 18:39:28 +02:00
"tools/apksig" : Bp2BuildDefaultTrue ,
"tools/external_updater" : Bp2BuildDefaultTrueRecursively ,
"tools/metalava" : Bp2BuildDefaultTrue ,
2022-07-27 16:50:12 +02:00
"tools/platform-compat/java/android/compat" : Bp2BuildDefaultTrueRecursively ,
"tools/tradefederation/prebuilts/filegroups" : Bp2BuildDefaultTrueRecursively ,
2022-03-28 21:53:03 +02:00
}
Bp2buildKeepExistingBuildFile = map [ string ] bool {
// This is actually build/bazel/build.BAZEL symlinked to ./BUILD
"." : /*recursive = */ false ,
2022-08-24 00:29:05 +02:00
"build/bazel" : /* recursive = */ true ,
2022-11-02 21:29:07 +01:00
"build/make/core" : /* recursive = */ false ,
2022-03-28 21:53:03 +02:00
"build/bazel_common_rules" : /* recursive = */ true ,
2023-04-01 02:38:33 +02:00
"build/make/target/product/security" : /* recursive = */ false ,
2022-03-28 21:53:03 +02:00
// build/make/tools/signapk BUILD file is generated, so build/make/tools is not recursive.
"build/make/tools" : /* recursive = */ false ,
"build/pesto" : /* recursive = */ true ,
2022-09-21 08:36:37 +02:00
"build/soong" : /* recursive = */ true ,
2022-03-28 21:53:03 +02:00
// external/bazelbuild-rules_android/... is needed by mixed builds, otherwise mixed builds analysis fails
// e.g. ERROR: Analysis of target '@soong_injection//mixed_builds:buildroot' failed
"external/bazelbuild-rules_android" : /* recursive = */ true ,
2022-08-04 22:28:38 +02:00
"external/bazelbuild-rules_license" : /* recursive = */ true ,
2022-09-06 22:20:09 +02:00
"external/bazelbuild-kotlin-rules" : /* recursive = */ true ,
2022-03-28 21:53:03 +02:00
"external/bazel-skylib" : /* recursive = */ true ,
2022-08-31 23:48:26 +02:00
"external/protobuf" : /* recursive = */ false ,
2022-11-20 00:14:48 +01:00
"external/python/absl-py" : /* recursive = */ true ,
2022-09-21 08:36:37 +02:00
2023-03-22 21:22:27 +01:00
"external/compiler-rt/lib/cfi" : /* recursive = */ false ,
2022-09-21 08:36:37 +02:00
// this BUILD file is globbed by //external/icu/icu4c/source:icu4c_test_data's "data/**/*".
"external/icu/icu4c/source/data/unidata/norm2" : /* recursive = */ false ,
2023-02-03 16:15:47 +01:00
// Building manually due to b/179889880: resource files cross package boundary
2022-03-28 21:53:03 +02:00
"packages/apps/Music" : /* recursive = */ true ,
2022-11-12 19:47:07 +01:00
"prebuilts/abi-dumps/platform" : /* recursive = */ true ,
"prebuilts/abi-dumps/ndk" : /* recursive = */ true ,
2022-05-31 04:02:31 +02:00
"prebuilts/bazel" : /* recursive = */ true ,
2022-03-28 21:53:03 +02:00
"prebuilts/bundletool" : /* recursive = */ true ,
2022-08-31 23:48:26 +02:00
"prebuilts/clang/host/linux-x86" : /* recursive = */ false ,
2022-11-12 19:47:07 +01:00
"prebuilts/clang-tools" : /* recursive = */ true ,
2022-03-28 21:53:03 +02:00
"prebuilts/gcc" : /* recursive = */ true ,
2022-05-19 11:53:56 +02:00
"prebuilts/build-tools" : /* recursive = */ true ,
2023-03-17 16:02:01 +01:00
"prebuilts/jdk/jdk17" : /* recursive = */ true ,
2022-07-30 00:58:33 +02:00
"prebuilts/misc" : /* recursive = */ false , // not recursive because we need bp2build converted build files in prebuilts/misc/common/asm
2022-03-28 21:53:03 +02:00
"prebuilts/sdk" : /* recursive = */ false ,
"prebuilts/sdk/tools" : /* recursive = */ false ,
"prebuilts/r8" : /* recursive = */ false ,
2022-11-20 08:16:47 +01:00
"prebuilts/runtime" : /* recursive = */ false ,
2022-11-02 21:29:07 +01:00
2022-11-20 08:16:47 +01:00
// not recursive due to conflicting workspace paths in tools/atest/bazel/rules
"tools/asuite/atest" : /* recursive = */ false ,
"tools/asuite/atest/bazel/reporter" : /* recursive = */ true ,
2023-01-23 21:56:46 +01:00
// TODO(b/266459895): remove this and the placeholder BUILD file after re-enabling libunwindstack
"external/rust/crates/rustc-demangle-capi" : /* recursive = */ false ,
2022-03-28 21:53:03 +02:00
}
Bp2buildModuleAlwaysConvertList = [ ] string {
2022-09-16 15:02:26 +02:00
"libidmap2_policies" ,
"libSurfaceFlingerProp" ,
2022-05-10 15:15:31 +02:00
// cc mainline modules
2023-05-04 15:51:56 +02:00
// com.android.media.swcodec
2022-09-29 16:49:07 +02:00
"com.android.media.swcodec" ,
2022-05-11 23:24:29 +02:00
"com.android.media.swcodec-androidManifest" ,
2022-05-10 15:15:31 +02:00
"com.android.media.swcodec-ld.config.txt" ,
2022-09-29 16:49:07 +02:00
"com.android.media.swcodec-mediaswcodec.32rc" ,
2022-05-10 15:15:31 +02:00
"com.android.media.swcodec-mediaswcodec.rc" ,
2022-05-11 23:24:29 +02:00
"com.android.media.swcodec.certificate" ,
"com.android.media.swcodec.key" ,
2023-05-04 15:51:56 +02:00
"test_com.android.media.swcodec" ,
// deps
"code_coverage.policy" ,
"code_coverage.policy.other" ,
"codec2_soft_exports" ,
2023-05-19 02:18:49 +02:00
"compatibility_matrix_schema" ,
2022-05-10 15:15:31 +02:00
"flatbuffer_headers" ,
2022-10-20 18:17:42 +02:00
"framework-connectivity-protos" ,
2022-05-10 15:15:31 +02:00
"gemmlowp_headers" ,
"gl_headers" ,
2022-06-13 21:35:12 +02:00
"libandroid_runtime_lazy" ,
2022-05-11 23:24:29 +02:00
"libandroid_runtime_vm_headers" ,
2022-05-10 15:15:31 +02:00
"libaudioclient_aidl_conversion_util" ,
2022-08-16 19:10:31 +02:00
"libbinder" ,
"libbinder_device_interface_sources" ,
2022-08-16 19:10:31 +02:00
"libbinder_aidl" ,
2022-06-13 21:35:12 +02:00
"libbinder_headers" ,
2022-05-11 23:24:29 +02:00
"libbinder_headers_platform_shared" ,
2022-09-10 00:36:24 +02:00
"libbinderthreadstateutils" ,
2022-05-13 23:20:20 +02:00
"libbluetooth-types-header" ,
2022-06-13 21:35:12 +02:00
"libcodec2" ,
2022-05-13 23:20:20 +02:00
"libcodec2_headers" ,
"libcodec2_internal" ,
"libdmabufheap" ,
2022-05-11 23:24:29 +02:00
"libgsm" ,
2022-09-10 00:36:24 +02:00
"libgrallocusage" ,
"libgralloctypes" ,
"libnativewindow" ,
2022-09-21 23:30:20 +02:00
"libneuralnetworks" ,
2023-04-07 20:38:32 +02:00
"libneuralnetworks_static" ,
2022-09-10 00:36:24 +02:00
"libgraphicsenv" ,
2022-06-13 21:35:12 +02:00
"libhardware" ,
2022-05-11 23:24:29 +02:00
"libhardware_headers" ,
2022-05-13 23:20:20 +02:00
"libnativeloader-headers" ,
2022-05-11 23:24:29 +02:00
"libnativewindow_headers" ,
"libneuralnetworks_headers" ,
2022-09-20 23:25:34 +02:00
"libneuralnetworks_packageinfo" ,
2022-05-11 23:24:29 +02:00
"libopus" ,
"libprocpartition" ,
2022-06-13 21:35:12 +02:00
"libruy_static" ,
2022-08-09 18:50:56 +02:00
"libandroidio" ,
"libandroidio_srcs" ,
2022-05-11 23:24:29 +02:00
"libserviceutils" ,
2022-06-13 21:35:12 +02:00
"libsurfaceflinger_headers" ,
2022-05-13 23:20:20 +02:00
"libsync" ,
2022-05-11 23:24:29 +02:00
"libtextclassifier_hash_headers" ,
"libtextclassifier_hash_static" ,
2022-06-13 21:35:12 +02:00
"libtflite_kernel_utils" ,
"libtinyxml2" ,
2022-09-10 00:36:24 +02:00
"libui" ,
2022-05-11 23:24:29 +02:00
"libui-types" ,
2022-06-13 21:35:12 +02:00
"libui_headers" ,
2022-05-11 23:24:29 +02:00
"libvorbisidec" ,
"media_ndk_headers" ,
2022-06-13 21:35:12 +02:00
"media_plugin_headers" ,
2022-05-11 23:24:29 +02:00
"mediaswcodec.policy" ,
"mediaswcodec.xml" ,
2022-09-10 00:36:24 +02:00
"neuralnetworks_types" ,
"libneuralnetworks_common" ,
2022-09-20 23:25:34 +02:00
// packagemanager_aidl_interface is created implicitly in packagemanager_aidl module
"packagemanager_aidl_interface" ,
2022-06-13 21:35:12 +02:00
"philox_random" ,
2022-05-11 23:24:29 +02:00
"philox_random_headers" ,
"server_configurable_flags" ,
2022-10-20 18:17:42 +02:00
"service-permission-streaming-proto-sources" ,
2022-09-21 23:01:49 +02:00
"statslog_neuralnetworks.cpp" ,
"statslog_neuralnetworks.h" ,
2022-05-11 23:24:29 +02:00
"tensorflow_headers" ,
2022-05-10 15:15:31 +02:00
2022-09-10 00:36:24 +02:00
"libstagefright_bufferpool@2.0" ,
"libstagefright_bufferpool@2.0.1" ,
2022-09-13 19:13:06 +02:00
"libSurfaceFlingerProp" ,
2022-09-10 00:36:24 +02:00
2022-09-01 17:04:04 +02:00
// prebuilts
"prebuilt_stats-log-api-gen" ,
2022-08-04 17:26:46 +02:00
// fastboot
"fastboot" ,
"libfastboot" ,
"liblp" ,
"libstorage_literals_headers" ,
2023-04-04 17:38:54 +02:00
"PluginCoreLib" ,
"dagger2" ,
"dagger2-android-annotation-stubs" ,
"dagger2-bootstrap-compiler" ,
"dagger2-producers" ,
"okio-lib" ,
"setupdesign-strings" ,
2022-03-28 21:53:03 +02:00
//external/avb
"avbtool" ,
"libavb" ,
"avb_headers" ,
2022-06-27 22:57:44 +02:00
//external/libxml2
"xmllint" ,
"libxml2" ,
2022-03-28 21:53:03 +02:00
//external/fec
"libfec_rs" ,
2023-04-28 17:21:25 +02:00
//frameworks/base/core/java
"IDropBoxManagerService_aidl" ,
2022-03-28 21:53:03 +02:00
//system/core/libsparse
"libsparse" ,
//system/extras/ext4_utils
"libext4_utils" ,
2022-06-02 21:11:12 +02:00
"mke2fs_conf" ,
2022-03-28 21:53:03 +02:00
//system/extras/libfec
"libfec" ,
//system/extras/squashfs_utils
"libsquashfs_utils" ,
//system/extras/verity/fec
"fec" ,
2022-10-11 23:38:16 +02:00
"boot_signer" ,
2022-03-28 21:53:03 +02:00
//packages/apps/Car/libs/car-ui-lib/car-ui-androidx
// genrule dependencies for java_imports
"car-ui-androidx-annotation-nodeps" ,
"car-ui-androidx-collection-nodeps" ,
"car-ui-androidx-core-common-nodeps" ,
"car-ui-androidx-lifecycle-common-nodeps" ,
"car-ui-androidx-constraintlayout-solver-nodeps" ,
2022-07-24 06:24:30 +02:00
//system/libhidl
2023-03-29 09:15:10 +02:00
"libhidlbase" , // needed by cc_hidl_library
"libhidl_gtest_helper" ,
2022-08-16 19:10:31 +02:00
//frameworks/native
"framework_native_aidl_binder" ,
"framework_native_aidl_gui" ,
//frameworks/native/libs/input
"inputconstants_aidl" ,
2022-08-24 02:33:25 +02:00
// needed for aidl_interface's ndk backend
"libbinder_ndk" ,
2022-08-24 13:53:27 +02:00
"libusb" ,
2022-09-01 16:28:55 +02:00
// needed by liblogd
"ILogcatManagerService_aidl" ,
"libincremental_aidl-cpp" ,
"incremental_aidl" ,
2022-09-09 12:47:43 +02:00
//frameworks/native/cmds/cmd
"libcmd" ,
2022-09-21 15:13:48 +02:00
//system/core/fs_mgr/libdm
"libdm" ,
//system/core/fs_mgr/libfiemap
"libfiemap_headers" ,
"libfiemap_passthrough_srcs" ,
"libfiemap_srcs" ,
//system/gsid
"libgsi" ,
"libgsi_headers" ,
//system/core/libkeyutils
"libkeyutils" ,
//bootable/recovery/otautil
"libotautil" ,
//system/vold
"libvold_headers" ,
//system/extras/libfscrypt
"libfscrypt" ,
//system/core/fs_mgr
"libfstab" ,
//bootable/recovery/fuse_sideload
"libfusesideload" ,
//system/core/fs_mgr/libfs_avb
"libfs_avb" ,
//system/core/fs_mgr
"libfs_mgr" ,
2022-09-22 21:12:26 +02:00
"libcodec2_hidl@1.0" ,
"libcodec2_hidl@1.1" ,
"libcodec2_hidl@1.2" ,
"libcodec2_hidl_plugin_stub" ,
"libcodec2_hidl_plugin" ,
"libstagefright_bufferqueue_helper_novndk" ,
"libGLESv2" ,
"libEGL" ,
"libcodec2_vndk" ,
"libnativeloader_lazy" ,
"libnativeloader" ,
"libEGL_getProcAddress" ,
"libEGL_blobCache" ,
2022-09-23 19:08:34 +02:00
2022-09-27 21:47:26 +02:00
"mediaswcodec" ,
"libmedia_headers" ,
"libmedia_codecserviceregistrant" ,
"libsfplugin_ccodec_utils" ,
"libcodec2_soft_aacenc" ,
"libcodec2_soft_amrnbdec" ,
"libcodec2_soft_amrnbenc" ,
"libcodec2_soft_amrwbdec" ,
"libcodec2_soft_amrwbenc" ,
"libcodec2_soft_hevcdec" ,
"libcodec2_soft_hevcenc" ,
"libcodec2_soft_g711alawdec" ,
"libcodec2_soft_g711mlawdec" ,
"libcodec2_soft_mpeg2dec" ,
"libcodec2_soft_h263dec" ,
"libcodec2_soft_h263enc" ,
"libcodec2_soft_mpeg4dec" ,
"libcodec2_soft_mpeg4enc" ,
"libcodec2_soft_mp3dec" ,
"libcodec2_soft_vorbisdec" ,
"libcodec2_soft_opusdec" ,
"libcodec2_soft_opusenc" ,
"libcodec2_soft_vp8dec" ,
"libcodec2_soft_vp9dec" ,
"libcodec2_soft_av1dec_gav1" ,
"libcodec2_soft_vp8enc" ,
"libcodec2_soft_vp9enc" ,
"libcodec2_soft_rawdec" ,
"libcodec2_soft_flacdec" ,
"libcodec2_soft_flacenc" ,
"libcodec2_soft_gsmdec" ,
"libcodec2_soft_avcdec" ,
"libcodec2_soft_avcenc" ,
"libcodec2_soft_aacdec" ,
"libcodec2_soft_common" ,
2022-11-14 22:38:07 +01:00
// kotlin srcs in java libs
"kotlinx_atomicfu" ,
2022-11-16 16:44:55 +01:00
// kotlin srcs in java binary
"AnalyzerKt" ,
"trebuchet-core" ,
2023-01-20 17:10:52 +01:00
// kotlin srcs in android_library
"renderscript_toolkit" ,
2023-02-03 16:15:47 +01:00
//kotlin srcs in android_binary
"MusicKotlin" ,
2023-02-16 07:52:47 +01:00
2023-02-24 18:07:08 +01:00
// java_library with prebuilt sdk_version
"android-common" ,
2023-02-16 07:52:47 +01:00
// checked in current.txt for merged_txts
"non-updatable-current.txt" ,
"non-updatable-system-current.txt" ,
"non-updatable-module-lib-current.txt" ,
"non-updatable-system-server-current.txt" ,
2023-03-07 00:21:35 +01:00
// for api_fingerprint.txt generation
"api_fingerprint" ,
2023-03-06 20:43:55 +01:00
// allowlisting for kotlinx_coroutines
2023-04-04 17:38:54 +02:00
"annotations" ,
"kotlinx-coroutines-android-annotation-stubs" ,
"kotlinx-coroutines-core" ,
2023-03-06 20:43:55 +01:00
"kotlinx_coroutines" ,
2023-04-04 16:30:14 +02:00
"kotlinx_coroutines-device" ,
"kotlinx_coroutines-host" ,
2023-03-16 21:24:54 +01:00
// for building com.android.neuralnetworks
"libimapper_stablec" ,
"libimapper_providerutils" ,
2023-01-31 20:38:41 +01:00
// min_sdk_version in android_app
"CtsShimUpgrade" ,
2022-08-10 16:12:59 +02:00
2023-04-04 17:38:54 +02:00
"art_cmdlineparser_headers" ,
2022-08-10 16:12:59 +02:00
// Mainline Module Apps
"CaptivePortalLogin" ,
2023-04-28 17:23:58 +02:00
"libstagefright_headers" ,
2023-05-10 04:05:43 +02:00
// aidl
"aidl" ,
"libaidl-common" ,
2023-05-09 22:37:49 +02:00
// java_resources containing only a single filegroup
"libauto_value_plugin" ,
"auto_value_plugin_resources" ,
"auto_value_extension" ,
2023-05-19 02:18:49 +02:00
// Used by xsd_config
"xsdc" ,
2022-03-28 21:53:03 +02:00
}
Bp2buildModuleTypeAlwaysConvertList = [ ] string {
2022-09-08 03:04:22 +02:00
"aidl_interface_headers" ,
2023-02-01 00:53:30 +01:00
"bpf" ,
2023-02-16 07:52:47 +01:00
"combined_apis" ,
2022-08-04 22:31:14 +02:00
"license" ,
2022-06-02 22:00:54 +02:00
"linker_config" ,
2022-03-28 21:53:03 +02:00
"java_import" ,
"java_import_host" ,
2023-02-01 00:53:30 +01:00
"java_sdk_library" ,
2022-09-01 18:25:10 +02:00
"sysprop_library" ,
2023-05-19 02:18:49 +02:00
"xsd_config" ,
2022-03-28 21:53:03 +02:00
}
2022-09-21 08:36:37 +02:00
// Add the names of modules that bp2build should never convert, if it is
// in the package allowlist. An error will be thrown if a module must
// not be here and in the alwaysConvert lists.
//
// For prebuilt modules (e.g. android_library_import), remember to add
// the "prebuilt_" prefix to the name, so that it's differentiable from
// the source versions within Soong's module graph.
2022-03-28 21:53:03 +02:00
Bp2buildModuleDoNotConvertList = [ ] string {
2022-10-04 18:04:17 +02:00
// Depends on unconverted libandroid, libgui
"dvr_buffer_queue-test" ,
"dvr_display-test" ,
// Depends on unconverted libchrome
"pdx_benchmarks" ,
"buffer_hub_queue-test" ,
"buffer_hub_queue_producer-test" ,
2022-03-28 21:53:03 +02:00
// cc bugs
2022-09-01 16:28:55 +02:00
// TODO(b/198619163) module has same name as source
"logtagd.rc" ,
2022-03-28 21:53:03 +02:00
"libgtest_ndk_c++" , "libgtest_main_ndk_c++" , // TODO(b/201816222): Requires sdk_version support.
2022-08-24 13:53:27 +02:00
// TODO(b/202876379): has arch-variant static_executable
"linkerconfig" ,
"mdnsd" ,
"libcutils_test_static" ,
"KernelLibcutilsTest" ,
2023-04-04 17:38:54 +02:00
"linker" , // TODO(b/228316882): cc_binary uses link_crt
"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
"tjbench" , // TODO(b/240563612): Stem property
// requires host tools for apexer
"apexer_test" , "apexer_test_host_tools" , "host_apex_verifier" ,
2022-03-28 21:53:03 +02:00
// java bugs
2023-02-24 18:07:08 +01:00
"libbase_ndk" , // TODO(b/186826477): fails to link libctscamera2_jni for device (required for CtsCameraTestCases)
"bouncycastle" , // TODO(b/274474005): Need support for custom system_modules.
2022-03-28 21:53:03 +02:00
// python protos
2022-05-13 00:37:02 +02:00
"libprotobuf-python" , // Has a handcrafted alternative
2022-03-28 21:53:03 +02:00
// genrule incompatibilities
"brotli-fuzzer-corpus" , // TODO(b/202015218): outputs are in location incompatible with bazel genrule handling.
"platform_tools_properties" , "build_tools_source_properties" , // TODO(b/203369847): multiple genrules in the same package creating the same file
// aar support
2022-12-08 20:12:54 +01:00
"prebuilt_car-ui-androidx-core-common" , // TODO(b/224773339), genrule dependency creates an .aar, not a .jar
2022-09-21 08:36:37 +02:00
// ERROR: The dependencies for the following 1 jar(s) are not complete.
// 1.bazel-out/android_target-fastbuild/bin/prebuilts/tools/common/m2/_aar/robolectric-monitor-1.0.2-alpha1/classes_and_libs_merged.jar
"prebuilt_robolectric-monitor-1.0.2-alpha1" ,
2022-03-28 21:53:03 +02:00
// path property for filegroups
"conscrypt" , // TODO(b/210751803), we don't handle path property for filegroups
"conscrypt-for-host" , // TODO(b/210751803), we don't handle path property for filegroups
"host-libprotobuf-java-full" , // TODO(b/210751803), we don't handle path property for filegroups
"libprotobuf-internal-python-srcs" , // TODO(b/210751803), we don't handle path property for filegroups
"libprotobuf-java-full" , // TODO(b/210751803), we don't handle path property for filegroups
"libprotobuf-java-util-full" , // TODO(b/210751803), we don't handle path property for filegroups
// go deps:
2022-09-21 08:46:08 +02:00
"analyze_bcpf" , // depends on bpmodify a blueprint_go_binary.
2023-04-13 02:32:19 +02:00
"analyze_bcpf_test" , // depends on bpmodify a blueprint_go_binary.
2022-09-21 08:46:08 +02:00
"host_bionic_linker_asm" , // depends on extract_linker, a go binary.
"host_bionic_linker_script" , // depends on extract_linker, a go binary.
2022-09-21 08:36:37 +02:00
// 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
"robolectric_tzdata" ,
2022-03-28 21:53:03 +02:00
// rust support
"libtombstoned_client_rust_bridge_code" , "libtombstoned_client_wrapper" , // rust conversions are not supported
// unconverted deps
2023-04-13 02:32:19 +02:00
"apexer_with_DCLA_preprocessing_test" , // depends on unconverted modules: apexer_test_host_tools, com.android.example.apex
2022-05-13 22:55:35 +02:00
"adb" , // depends on unconverted modules: AdbWinApi, libandroidfw, libopenscreen-discovery, libopenscreen-platform-impl, libusb, bin2c_fastdeployagent, AdbWinUsbApi
"android_icu4j_srcgen" , // depends on unconverted modules: currysrc
"android_icu4j_srcgen_binary" , // depends on unconverted modules: android_icu4j_srcgen, currysrc
2023-04-13 02:32:19 +02:00
"apex_compression_test" , // depends on unconverted modules: soong_zip, com.android.example.apex
2022-05-13 22:55:35 +02:00
"apex_manifest_proto_java" , // b/210751803, depends on libprotobuf-java-full
"art-script" , // depends on unconverted modules: dalvikvm, dex2oat
"bin2c_fastdeployagent" , // depends on unconverted modules: deployagent
2023-04-13 02:32:19 +02:00
"CarHTMLViewer" , // depends on unconverted modules android.car-stubs, car-ui-lib
2022-03-28 21:53:03 +02:00
"com.android.runtime" , // depends on unconverted modules: bionic-linker-config, linkerconfig
"currysrc" , // depends on unconverted modules: currysrc_org.eclipse, guavalib, jopt-simple-4.9
"dex2oat-script" , // depends on unconverted modules: dex2oat
2022-09-21 08:36:37 +02:00
"generated_android_icu4j_resources" , // depends on unconverted modules: android_icu4j_srcgen_binary
"generated_android_icu4j_test_resources" , // depends on unconverted modules: android_icu4j_srcgen_binary
2022-03-28 21:53:03 +02:00
"host-libprotobuf-java-nano" , // b/220869005, depends on libprotobuf-java-nano
2022-09-06 22:20:09 +02:00
"jacoco-stubs" , // b/245767077, depends on droidstubs
2022-08-09 19:23:01 +02:00
"libapexutil" , // depends on unconverted modules: apex-info-list-tinyxml
2022-03-28 21:53:03 +02:00
"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
"libart-runtime-gtest" , // depends on unconverted modules: libgtest_isolated, libart-compiler, libdexfile, libprofile, libartbase, libartbase-art-gtest
"libart_headers" , // depends on unconverted modules: art_libartbase_headers
2022-08-09 15:26:54 +02:00
"libartbase-art-gtest" , // depends on unconverted modules: libgtest_isolated, libart, libart-compiler, libdexfile, libprofile
"libartbased-art-gtest" , // depends on unconverted modules: libgtest_isolated, libartd, libartd-compiler, libdexfiled, libprofiled
2022-03-28 21:53:03 +02:00
"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
"libartd-runtime-gtest" , // depends on unconverted modules: libgtest_isolated, libartd-compiler, libdexfiled, libprofiled, libartbased, libartbased-art-gtest
2022-08-30 08:27:01 +02:00
"libdebuggerd" , // depends on unconverted module: libdexfile
2022-03-28 21:53:03 +02:00
"libdebuggerd_handler" , // depends on unconverted module libdebuggerd_handler_core
"libdebuggerd_handler_core" , "libdebuggerd_handler_fallback" , // depends on unconverted module libdebuggerd
"libdexfiled" , // depends on unconverted modules: dexfile_operator_srcs, libartbased, libartpalette
"libfastdeploy_host" , // depends on unconverted modules: libandroidfw, libusb, AdbWinApi
"libgmock_main_ndk" , // depends on unconverted modules: libgtest_ndk_c++
"libgmock_ndk" , // depends on unconverted modules: libgtest_ndk_c++
"libnativehelper_lazy_mts_jni" , "libnativehelper_mts_jni" , // depends on unconverted modules: libnativetesthelper_jni, libgmock_ndk
"libnativetesthelper_jni" , // depends on unconverted modules: libgtest_ndk_c++
2022-08-24 02:33:25 +02:00
"libstatslog" , // depends on unconverted modules: libstatspull, statsd-aidl-ndk
2022-03-28 21:53:03 +02:00
"libstatslog_art" , // depends on unconverted modules: statslog_art.cpp, statslog_art.h
"linker_reloc_bench_main" , // depends on unconverted modules: liblinker_reloc_bench_*
2022-12-15 15:36:35 +01:00
"malloc-rss-benchmark" , // depends on unconverted modules: libmeminfo
2022-03-28 21:53:03 +02:00
"pbtombstone" , "crash_dump" , // depends on libdebuggerd, libunwindstack
2023-04-13 02:32:19 +02:00
"releasetools_test" , // depends on unconverted modules: com.android.apex.compressed.v1
2022-09-21 23:01:49 +02:00
"robolectric-sqlite4java-0.282" , // depends on unconverted modules: robolectric-sqlite4java-import, robolectric-sqlite4java-native
"static_crasher" , // depends on unconverted modules: libdebuggerd_handler
"test_fips" , // depends on unconverted modules: adb
"timezone-host" , // depends on unconverted modules: art.module.api.annotations
2022-04-20 20:44:54 +02:00
2022-08-04 17:04:43 +02:00
// '//bionic/libc:libc_bp2build_cc_library_static' is duplicated in the 'deps' attribute of rule
"toybox-static" ,
2022-07-27 09:22:06 +02:00
2022-09-16 15:02:26 +02:00
// aidl files not created
"overlayable_policy_aidl_interface" ,
2022-09-21 08:36:37 +02:00
//prebuilts/tools/common/m2
// depends on //external/okio:okio-lib, which uses kotlin
"wire-runtime" ,
2022-09-28 10:01:57 +02:00
// depends on adbd_system_api_recovery, which is a unconverted `phony` module type
"minadbd" ,
// depends on android.hardware.health-V2.0-java
"android.hardware.health-translate-java" ,
2023-03-29 09:15:10 +02:00
//system/libvintf
// depends on apex-info-list-tinyxml, unconverted xsd_config Soong module type.
"libvintf" ,
"vintf" ,
"libassemblevintf" ,
"assemble_vintf" ,
"libvintffm" ,
"vintffm" ,
"checkvintf" ,
// depends on audio_policy_configuration_aidl_default, xsd_config module.
"libaudioserviceexampleimpl" ,
"android.hardware.audio.service-aidl.example" ,
// depends on //system/tools/aidl/build:aidl_metadata_json, which is an aidl_interfaces_metadata custom Soong type.
"aidl_metadata_in_cpp" ,
"libaidlmetadata" ,
2023-03-30 07:17:01 +02:00
"libaidlmetadata_test" ,
2023-03-29 09:15:10 +02:00
// depends on //system/tools/hidl/build:hidl_metadata_json, which is an hidl_interfaces_metadata custom Soong type.
"hidl_metadata_in_cpp" ,
"libhidlmetadata" ,
2023-03-30 07:17:01 +02:00
"hidl_metadata_test" ,
2023-03-29 09:15:10 +02:00
2022-08-24 13:53:27 +02:00
// cc_test related.
2023-03-20 14:17:49 +01:00
// b/274164834 "Could not open Configuration file test.cfg"
"svcenc" , "svcdec" ,
2022-08-24 13:53:27 +02:00
// Failing host cc_tests
"memunreachable_unit_test" ,
"libprocinfo_test" ,
"ziparchive-tests" ,
"gtest_isolated_tests" ,
"libunwindstack_unit_test" ,
"task_profiles_test" ,
"power_tests" , // failing test on server, but not on host
// reflect: call of reflect.Value.NumField on interface Value
// affects all cc_tests that depend on art_defaults
"libnativebridge-tests" ,
"libnativeloader_test" ,
"art_libnativebridge_cts_tests" ,
"art_standalone_libdexfile_external_tests" ,
"art_standalone_libdexfile_support_tests" ,
"libnativebridge-lazy-tests" ,
"libnativebridge-test-case" ,
"libnativebridge2-test-case" ,
"libnativebridge3-test-case" ,
"libnativebridge6-test-case" ,
"libnativebridge6prezygotefork" ,
2022-09-16 15:02:26 +02:00
"libandroidfw_tests" , "aapt2_tests" , // failing due to data path issues
2023-04-20 14:34:08 +02:00
// error: overriding commands for target
// `out/host/linux-x86/nativetest64/gmock_tests/gmock_tests__cc_runner_test',
// previously defined at out/soong/installs-aosp_arm.mk:64919`
"gmock_tests" ,
2022-08-24 13:53:27 +02:00
// cc_test with unconverted deps, or are device-only (and not verified to pass yet)
"AMRWBEncTest" ,
2023-04-28 17:23:58 +02:00
"AmrnbDecoderTest" , // depends on unconverted modules: libaudioutils, libsndfile
"AmrnbEncoderTest" , // depends on unconverted modules: libaudioutils, libsndfile
"AmrwbDecoderTest" , // depends on unconverted modules: libsndfile, libaudioutils
"AmrwbEncoderTest" , // depends on unconverted modules: libaudioutils, libsndfile
"Mp3DecoderTest" , // depends on unconverted modules: libsndfile, libaudioutils
2022-08-24 13:53:27 +02:00
"avcdec" ,
"avcenc" ,
"bionic-benchmarks-tests" ,
"bionic-fortify-runtime-asan-test" ,
"bionic-stress-tests" ,
"bionic-unit-tests" ,
"bionic-unit-tests-glibc" ,
"bionic-unit-tests-static" ,
"boringssl_crypto_test" ,
"boringssl_ssl_test" ,
"cfi_test_helper" ,
"cfi_test_helper2" ,
"cintltst32" ,
"cintltst64" ,
"compare" ,
"cpuid" ,
"debuggerd_test" , // depends on unconverted modules: libdebuggerd
"elftls_dlopen_ie_error_helper" ,
"exec_linker_helper" ,
"fastdeploy_test" , // depends on unconverted modules: AdbWinApi, libadb_host, libandroidfw, libfastdeploy_host, libopenscreen-discovery, libopenscreen-platform-impl, libusb
"fdtrack_test" ,
"google-benchmark-test" ,
"googletest-param-test-test_ndk" , // depends on unconverted modules: libgtest_ndk_c++
"gtest-typed-test_test" ,
"gtest-typed-test_test_ndk" , // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
"gtest_ndk_tests" , // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
"gtest_ndk_tests_no_main" , // depends on unconverted modules: libgtest_ndk_c++
"gtest_prod_test_ndk" , // depends on unconverted modules: libgtest_ndk_c++, libgtest_main_ndk_c++
"gtest_tests" ,
"gtest_tests_no_main" ,
"gwp_asan_unittest" ,
"half_test" ,
"hashcombine_test" ,
"hevcdec" ,
"hevcenc" ,
"hwbinderThroughputTest" , // depends on unconverted modules: android.hardware.tests.libhwbinder@1.0-impl.test, android.hardware.tests.libhwbinder@1.0
"i444tonv12_eg" ,
"icu4c_sample_break" ,
"intltest32" ,
"intltest64" ,
"ion-unit-tests" ,
"jemalloc5_integrationtests" ,
"jemalloc5_unittests" ,
"ld_config_test_helper" ,
"ld_preload_test_helper" ,
"libBionicCtsGtestMain" , // depends on unconverted modules: libgtest_isolated
"libBionicLoaderTests" , // depends on unconverted modules: libmeminfo
"libapexutil_tests" , // depends on unconverted modules: apex-info-list-tinyxml, libapexutil
"libcutils_sockets_test" ,
"libexpectedutils_test" ,
"libhwbinder_latency" ,
2022-09-01 16:28:55 +02:00
"liblog-host-test" , // failing tests
2022-08-24 13:53:27 +02:00
"libminijail_test" ,
"libminijail_unittest_gtest" ,
"libpackagelistparser_test" ,
"libprotobuf_vendor_suffix_test" ,
"libstagefright_amrnbdec_test" , // depends on unconverted modules: libsndfile, libaudioutils
"libstagefright_amrnbenc_test" ,
"libstagefright_amrwbdec_test" , // depends on unconverted modules: libsndfile, libaudioutils
"libstagefright_m4vh263enc_test" ,
"libstagefright_mp3dec_test" , // depends on unconverted modules: libsndfile, libaudioutils
"libstatssocket_test" ,
"libvndksupport-tests" ,
"libyuv_unittest" ,
"linker-unit-tests" ,
"malloc_debug_system_tests" ,
"malloc_debug_unit_tests" ,
"malloc_hooks_system_tests" ,
"mat_test" ,
"mathtest" ,
"memunreachable_binder_test" , // depends on unconverted modules: libbinder
"memunreachable_test" ,
"metadata_tests" ,
"minijail0_cli_unittest_gtest" ,
"mpeg2dec" ,
"mvcdec" ,
"ns_hidden_child_helper" ,
"pngtest" ,
"preinit_getauxval_test_helper" ,
"preinit_syscall_test_helper" ,
"psnr" ,
"quat_test" ,
"rappor-tests" , // depends on unconverted modules: jsr305, guava
"scudo_unit_tests" ,
"stats-log-api-gen-test" , // depends on unconverted modules: libstats_proto_host
"syscall_filter_unittest_gtest" ,
"sysprop_test" , // depends on unconverted modules: libcom.android.sysprop.tests
"thread_exit_cb_helper" ,
"tls_properties_helper" ,
"ulp" ,
"vec_test" ,
"yuvconstants" ,
"yuvconvert" ,
"zipalign_tests" ,
// cc_test_library
"clang_diagnostic_tests" ,
"exec_linker_helper_lib" ,
"fortify_disabled_for_tidy" ,
"ld_config_test_helper_lib1" ,
"ld_config_test_helper_lib2" ,
"ld_config_test_helper_lib3" ,
"ld_preload_test_helper_lib1" ,
"ld_preload_test_helper_lib2" ,
"libBionicElfTlsLoaderTests" ,
"libBionicElfTlsTests" ,
"libBionicElfTlsTests" ,
"libBionicFramePointerTests" ,
"libBionicFramePointerTests" ,
"libBionicStandardTests" ,
"libBionicStandardTests" ,
"libBionicTests" ,
"libart-broken" ,
"libatest_simple_zip" ,
"libcfi-test" ,
"libcfi-test-bad" ,
"libcrash_test" ,
2023-04-11 17:06:07 +02:00
"libcrypto_fuzz_unsafe" ,
2022-08-24 13:53:27 +02:00
"libdl_preempt_test_1" ,
"libdl_preempt_test_2" ,
"libdl_test_df_1_global" ,
"libdlext_test" ,
"libdlext_test_different_soname" ,
"libdlext_test_fd" ,
"libdlext_test_norelro" ,
"libdlext_test_recursive" ,
"libdlext_test_zip" ,
2022-10-04 18:04:17 +02:00
"libdvrcommon_test" ,
2022-08-24 13:53:27 +02:00
"libfortify1-new-tests-clang" ,
"libfortify1-new-tests-clang" ,
"libfortify1-tests-clang" ,
"libfortify1-tests-clang" ,
"libfortify2-new-tests-clang" ,
"libfortify2-new-tests-clang" ,
"libfortify2-tests-clang" ,
"libfortify2-tests-clang" ,
"libgnu-hash-table-library" ,
"libicutest_static" ,
"liblinker_reloc_bench_000" ,
"liblinker_reloc_bench_001" ,
"liblinker_reloc_bench_002" ,
"liblinker_reloc_bench_003" ,
"liblinker_reloc_bench_004" ,
"liblinker_reloc_bench_005" ,
"liblinker_reloc_bench_006" ,
"liblinker_reloc_bench_007" ,
"liblinker_reloc_bench_008" ,
"liblinker_reloc_bench_009" ,
"liblinker_reloc_bench_010" ,
"liblinker_reloc_bench_011" ,
"liblinker_reloc_bench_012" ,
"liblinker_reloc_bench_013" ,
"liblinker_reloc_bench_014" ,
"liblinker_reloc_bench_015" ,
"liblinker_reloc_bench_016" ,
"liblinker_reloc_bench_017" ,
"liblinker_reloc_bench_018" ,
"liblinker_reloc_bench_019" ,
"liblinker_reloc_bench_020" ,
"liblinker_reloc_bench_021" ,
"liblinker_reloc_bench_022" ,
"liblinker_reloc_bench_023" ,
"liblinker_reloc_bench_024" ,
"liblinker_reloc_bench_025" ,
"liblinker_reloc_bench_026" ,
"liblinker_reloc_bench_027" ,
"liblinker_reloc_bench_028" ,
"liblinker_reloc_bench_029" ,
"liblinker_reloc_bench_030" ,
"liblinker_reloc_bench_031" ,
"liblinker_reloc_bench_032" ,
"liblinker_reloc_bench_033" ,
"liblinker_reloc_bench_034" ,
"liblinker_reloc_bench_035" ,
"liblinker_reloc_bench_036" ,
"liblinker_reloc_bench_037" ,
"liblinker_reloc_bench_038" ,
"liblinker_reloc_bench_039" ,
"liblinker_reloc_bench_040" ,
"liblinker_reloc_bench_041" ,
"liblinker_reloc_bench_042" ,
"liblinker_reloc_bench_043" ,
"liblinker_reloc_bench_044" ,
"liblinker_reloc_bench_045" ,
"liblinker_reloc_bench_046" ,
"liblinker_reloc_bench_047" ,
"liblinker_reloc_bench_048" ,
"liblinker_reloc_bench_049" ,
"liblinker_reloc_bench_050" ,
"liblinker_reloc_bench_051" ,
"liblinker_reloc_bench_052" ,
"liblinker_reloc_bench_053" ,
"liblinker_reloc_bench_054" ,
"liblinker_reloc_bench_055" ,
"liblinker_reloc_bench_056" ,
"liblinker_reloc_bench_057" ,
"liblinker_reloc_bench_058" ,
"liblinker_reloc_bench_059" ,
"liblinker_reloc_bench_060" ,
"liblinker_reloc_bench_061" ,
"liblinker_reloc_bench_062" ,
"liblinker_reloc_bench_063" ,
"liblinker_reloc_bench_064" ,
"liblinker_reloc_bench_065" ,
"liblinker_reloc_bench_066" ,
"liblinker_reloc_bench_067" ,
"liblinker_reloc_bench_068" ,
"liblinker_reloc_bench_069" ,
"liblinker_reloc_bench_070" ,
"liblinker_reloc_bench_071" ,
"liblinker_reloc_bench_072" ,
"liblinker_reloc_bench_073" ,
"liblinker_reloc_bench_074" ,
"liblinker_reloc_bench_075" ,
"liblinker_reloc_bench_076" ,
"liblinker_reloc_bench_077" ,
"liblinker_reloc_bench_078" ,
"liblinker_reloc_bench_079" ,
"liblinker_reloc_bench_080" ,
"liblinker_reloc_bench_081" ,
"liblinker_reloc_bench_082" ,
"liblinker_reloc_bench_083" ,
"liblinker_reloc_bench_084" ,
"liblinker_reloc_bench_085" ,
"liblinker_reloc_bench_086" ,
"liblinker_reloc_bench_087" ,
"liblinker_reloc_bench_088" ,
"liblinker_reloc_bench_089" ,
"liblinker_reloc_bench_090" ,
"liblinker_reloc_bench_091" ,
"liblinker_reloc_bench_092" ,
"liblinker_reloc_bench_093" ,
"liblinker_reloc_bench_094" ,
"liblinker_reloc_bench_095" ,
"liblinker_reloc_bench_096" ,
"liblinker_reloc_bench_097" ,
"liblinker_reloc_bench_098" ,
"liblinker_reloc_bench_099" ,
"liblinker_reloc_bench_100" ,
"liblinker_reloc_bench_101" ,
"liblinker_reloc_bench_102" ,
"liblinker_reloc_bench_103" ,
"liblinker_reloc_bench_104" ,
"liblinker_reloc_bench_105" ,
"liblinker_reloc_bench_106" ,
"liblinker_reloc_bench_107" ,
"liblinker_reloc_bench_108" ,
"liblinker_reloc_bench_109" ,
"liblinker_reloc_bench_110" ,
"liblinker_reloc_bench_111" ,
"liblinker_reloc_bench_112" ,
"liblinker_reloc_bench_113" ,
"liblinker_reloc_bench_114" ,
"liblinker_reloc_bench_115" ,
"liblinker_reloc_bench_116" ,
"liblinker_reloc_bench_117" ,
"liblinker_reloc_bench_118" ,
"liblinker_reloc_bench_119" ,
"liblinker_reloc_bench_120" ,
"liblinker_reloc_bench_121" ,
"liblinker_reloc_bench_122" ,
"liblinker_reloc_bench_123" ,
"liblinker_reloc_bench_124" ,
"liblinker_reloc_bench_125" ,
"liblinker_reloc_bench_126" ,
"liblinker_reloc_bench_127" ,
"liblinker_reloc_bench_128" ,
"liblinker_reloc_bench_129" ,
"liblinker_reloc_bench_130" ,
"liblinker_reloc_bench_131" ,
"liblinker_reloc_bench_132" ,
"liblinker_reloc_bench_133" ,
"liblinker_reloc_bench_134" ,
"liblinker_reloc_bench_135" ,
"liblinker_reloc_bench_136" ,
"liblinker_reloc_bench_137" ,
"liblinker_reloc_bench_138" ,
"liblinker_reloc_bench_139" ,
"liblinker_reloc_bench_140" ,
"liblinker_reloc_bench_141" ,
"liblinker_reloc_bench_142" ,
"liblinker_reloc_bench_143" ,
"liblinker_reloc_bench_144" ,
"liblinker_reloc_bench_145" ,
"liblinker_reloc_bench_146" ,
"liblinker_reloc_bench_147" ,
"liblinker_reloc_bench_148" ,
"liblinker_reloc_bench_149" ,
"liblinker_reloc_bench_150" ,
"liblinker_reloc_bench_151" ,
"liblinker_reloc_bench_152" ,
"liblinker_reloc_bench_153" ,
"liblinker_reloc_bench_154" ,
"liblinker_reloc_bench_155" ,
"liblinker_reloc_bench_156" ,
"liblinker_reloc_bench_157" ,
"liblinker_reloc_bench_158" ,
"liblinker_reloc_bench_159" ,
"liblinker_reloc_bench_160" ,
"liblinker_reloc_bench_161" ,
"liblinker_reloc_bench_162" ,
"liblinker_reloc_bench_163" ,
"liblinker_reloc_bench_164" ,
"liblinker_reloc_bench_165" ,
"liblinker_reloc_bench_166" ,
"liblinker_reloc_bench_167" ,
"liblinker_reloc_bench_168" ,
"libns_hidden_child_app" ,
"libns_hidden_child_global" ,
"libns_hidden_child_internal" ,
"libns_hidden_child_public" ,
"libnstest_dlopened" ,
"libnstest_ns_a_public1" ,
"libnstest_ns_a_public1_internal" ,
"libnstest_ns_b_public2" ,
"libnstest_ns_b_public3" ,
"libnstest_private" ,
"libnstest_private_external" ,
"libnstest_public" ,
"libnstest_public_internal" ,
"libnstest_root" ,
"libnstest_root_not_isolated" ,
"librelocations-ANDROID_REL" ,
"librelocations-ANDROID_RELR" ,
"librelocations-RELR" ,
"librelocations-fat" ,
"libsegment_gap_inner" ,
"libsegment_gap_outer" ,
2023-04-11 17:06:07 +02:00
"libssl_fuzz_unsafe" ,
2022-08-24 13:53:27 +02:00
"libstatssocket_private" ,
"libsysv-hash-table-library" ,
"libtest_atexit" ,
"libtest_check_order_dlsym" ,
"libtest_check_order_dlsym_1_left" ,
"libtest_check_order_dlsym_2_right" ,
"libtest_check_order_dlsym_3_c" ,
"libtest_check_order_dlsym_a" ,
"libtest_check_order_dlsym_b" ,
"libtest_check_order_dlsym_d" ,
"libtest_check_order_reloc_root" ,
"libtest_check_order_reloc_root_1" ,
"libtest_check_order_reloc_root_2" ,
"libtest_check_order_reloc_siblings" ,
"libtest_check_order_reloc_siblings_1" ,
"libtest_check_order_reloc_siblings_2" ,
"libtest_check_order_reloc_siblings_3" ,
"libtest_check_order_reloc_siblings_a" ,
"libtest_check_order_reloc_siblings_b" ,
"libtest_check_order_reloc_siblings_c" ,
"libtest_check_order_reloc_siblings_c_1" ,
"libtest_check_order_reloc_siblings_c_2" ,
"libtest_check_order_reloc_siblings_d" ,
"libtest_check_order_reloc_siblings_e" ,
"libtest_check_order_reloc_siblings_f" ,
"libtest_check_rtld_next_from_library" ,
"libtest_dlopen_df_1_global" ,
"libtest_dlopen_from_ctor" ,
"libtest_dlopen_from_ctor_main" ,
"libtest_dlopen_weak_undefined_func" ,
"libtest_dlsym_df_1_global" ,
"libtest_dlsym_from_this" ,
"libtest_dlsym_from_this_child" ,
"libtest_dlsym_from_this_grandchild" ,
"libtest_dlsym_weak_func" ,
"libtest_dt_runpath_a" ,
"libtest_dt_runpath_b" ,
"libtest_dt_runpath_c" ,
"libtest_dt_runpath_d" ,
"libtest_dt_runpath_d_zip" ,
"libtest_dt_runpath_x" ,
"libtest_dt_runpath_y" ,
"libtest_elftls_dynamic" ,
"libtest_elftls_dynamic_filler_1" ,
"libtest_elftls_dynamic_filler_2" ,
"libtest_elftls_dynamic_filler_3" ,
"libtest_elftls_shared_var" ,
"libtest_elftls_shared_var_ie" ,
"libtest_elftls_tprel" ,
"libtest_empty" ,
"libtest_ifunc" ,
"libtest_ifunc_variable" ,
"libtest_ifunc_variable_impl" ,
"libtest_indirect_thread_local_dtor" ,
"libtest_init_fini_order_child" ,
"libtest_init_fini_order_grand_child" ,
"libtest_init_fini_order_root" ,
"libtest_init_fini_order_root2" ,
"libtest_missing_symbol" ,
"libtest_missing_symbol_child_private" ,
"libtest_missing_symbol_child_public" ,
"libtest_missing_symbol_root" ,
"libtest_nodelete_1" ,
"libtest_nodelete_2" ,
"libtest_nodelete_dt_flags_1" ,
"libtest_pthread_atfork" ,
"libtest_relo_check_dt_needed_order" ,
"libtest_relo_check_dt_needed_order_1" ,
"libtest_relo_check_dt_needed_order_2" ,
"libtest_simple" ,
"libtest_thread_local_dtor" ,
"libtest_thread_local_dtor2" ,
"libtest_two_parents_child" ,
"libtest_two_parents_parent1" ,
"libtest_two_parents_parent2" ,
"libtest_versioned_lib" ,
"libtest_versioned_libv1" ,
"libtest_versioned_libv2" ,
"libtest_versioned_otherlib" ,
"libtest_versioned_otherlib_empty" ,
"libtest_versioned_uselibv1" ,
"libtest_versioned_uselibv2" ,
"libtest_versioned_uselibv2_other" ,
"libtest_versioned_uselibv3_other" ,
"libtest_with_dependency" ,
"libtest_with_dependency_loop" ,
"libtest_with_dependency_loop_a" ,
"libtest_with_dependency_loop_b" ,
"libtest_with_dependency_loop_b_tmp" ,
"libtest_with_dependency_loop_c" ,
"libtestshared" ,
2022-09-20 23:25:34 +02:00
// depends on unconverted libprotobuf-java-nano
"dnsresolverprotosnano" ,
"launcherprotosnano" ,
"datastallprotosnano" ,
"devicepolicyprotosnano" ,
2022-10-11 23:38:16 +02:00
"ota_metadata_proto_java" ,
"merge_ota" ,
// releasetools
"releasetools_fsverity_metadata_generator" ,
"verity_utils" ,
"check_ota_package_signature" ,
"check_target_files_vintf" ,
"releasetools_check_target_files_vintf" ,
"releasetools_verity_utils" ,
"build_image" ,
"ota_from_target_files" ,
"releasetools_ota_from_target_files" ,
"releasetools_build_image" ,
"add_img_to_target_files" ,
"releasetools_add_img_to_target_files" ,
"fsverity_metadata_generator" ,
"sign_target_files_apks" ,
// depends on the support of yacc file
"libapplypatch" ,
"libapplypatch_modes" ,
"applypatch" ,
2022-10-19 18:41:10 +02:00
// TODO(b/254476335): disable the following due to this bug
"libapexinfo" ,
"libapexinfo_tests" ,
2022-12-06 01:47:44 +01:00
// uses glob in $(locations)
"libc_musl_sysroot" ,
2023-02-07 05:10:27 +01:00
// TODO(b/266459895): depends on libunwindstack
"libutils_test" ,
2023-02-24 18:07:08 +01:00
2023-04-13 02:32:19 +02:00
// Has dependencies on other tools like ziptool, bp2build'd data properties don't work with these tests atm
"ziparchive_tests_large" ,
"mkbootimg_test" ,
"certify_bootimg_test" ,
// Despite being _host module types, these require devices to run
"logd_integration_test" ,
"mobly-hello-world-test" ,
"mobly-multidevice-test" ,
2023-02-24 18:07:08 +01:00
// TODO(b/274805756): Support core_platform and current java APIs
"fake-framework" ,
// TODO(b/277616982): These modules depend on private java APIs, but maybe they don't need to.
"StreamingProtoTest" ,
"textclassifierprotoslite" ,
"styleprotoslite" ,
"CtsPkgInstallerConstants" ,
"guava-android-testlib" ,
2023-04-28 17:23:58 +02:00
"MetaDataBaseUnitTest" , // depends on libstagefright
"AVCUtilsUnitTest" , // depends on libstagefright
"ColorUtilsTest" , // depends on libmediandk
2023-04-26 21:15:55 +02:00
// python_test_host with test data
"sbom_writers_test" ,
2023-05-24 00:18:33 +02:00
// TODO(B/283193845): tradefed and its java_test_host dependents
"tradefed" ,
"permissive_mte_test" ,
"ICU4CTestRunner" ,
2023-06-03 00:25:50 +02:00
"HelloWorldHostTest" , // TODO(b/280452825): Convert HelloWorldHostTest to b test
2022-03-28 21:53:03 +02:00
}
MixedBuildsDisabledList = [ ] string {
2022-06-13 21:35:12 +02:00
"libruy_static" , "libtflite_kernel_utils" , // TODO(b/237315968); Depend on prebuilt stl, not from source
2022-03-28 21:53:03 +02:00
"art_libdexfile_dex_instruction_list_header" , // breaks libart_mterp.armng, header not found
"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
"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.
"cap_names.h" , // TODO(b/204913827) runfiles need to be handled in mixed builds
"libcap" , // TODO(b/204913827) runfiles need to be handled in mixed builds
"libprotobuf-cpp-full" , "libprotobuf-cpp-lite" , // Unsupported product&vendor suffix. b/204811222 and b/204810610.
// Depends on libprotobuf-cpp-*
"libadb_pairing_connection" ,
"libadb_pairing_connection_static" ,
"libadb_pairing_server" , "libadb_pairing_server_static" ,
2022-02-24 00:39:59 +01:00
// TODO(b/240563612) Needing `stem` selection support for cc_binary
2022-03-28 21:53:03 +02:00
"crasher" ,
2022-02-25 18:04:37 +01:00
// java_import[_host] issues
// tradefed prebuilts depend on libprotobuf
"prebuilt_tradefed" ,
"prebuilt_tradefed-test-framework" ,
// handcrafted BUILD.bazel files in //prebuilts/...
"prebuilt_r8lib-prebuilt" ,
"prebuilt_sdk-core-lambda-stubs" ,
"prebuilt_android-support-collections-nodeps" ,
"prebuilt_android-arch-core-common-nodeps" ,
"prebuilt_android-arch-lifecycle-common-java8-nodeps" ,
"prebuilt_android-arch-lifecycle-common-nodeps" ,
"prebuilt_android-support-annotations-nodeps" ,
"prebuilt_android-arch-paging-common-nodeps" ,
"prebuilt_android-arch-room-common-nodeps" ,
2022-08-23 21:17:29 +02:00
// TODO(b/217750501) exclude_dirs property not supported
"prebuilt_kotlin-reflect" ,
"prebuilt_kotlin-stdlib" ,
"prebuilt_kotlin-stdlib-jdk7" ,
"prebuilt_kotlin-stdlib-jdk8" ,
"prebuilt_kotlin-test" ,
// TODO(b/217750501) exclude_files property not supported
"prebuilt_currysrc_org.eclipse" ,
2023-01-23 21:56:46 +01:00
// TODO(b/266459895): re-enable libunwindstack
"libunwindstack" ,
"libunwindstack_stdout_log" ,
"libunwindstack_no_dex" ,
"libunwindstack_utils" ,
"unwind_reg_info" ,
"libunwindstack_local" ,
"unwind_for_offline" ,
"unwind" ,
"unwind_info" ,
"unwind_symbols" ,
"libEGL" ,
"libGLESv2" ,
2023-03-22 16:14:34 +01:00
"libc_malloc_debug" ,
"libcodec2_hidl@1.0" ,
2023-01-23 21:56:46 +01:00
"libcodec2_hidl@1.1" ,
"libcodec2_hidl@1.2" ,
2023-03-22 16:14:34 +01:00
"libfdtrack" ,
"libgui" ,
"libgui_bufferqueue_static" ,
"libmedia_codecserviceregistrant" ,
"libstagefright_bufferqueue_helper_novndk" ,
2023-01-23 21:56:46 +01:00
"libutils_test" ,
"libutilscallstack" ,
2023-03-22 16:14:34 +01:00
"mediaswcodec" ,
2022-03-28 21:53:03 +02:00
}
2022-08-19 04:04:11 +02:00
2022-11-04 18:26:17 +01:00
// Bazel prod-mode allowlist. Modules in this list are built by Bazel
// in either prod mode or staging mode.
2022-12-16 09:16:01 +01:00
ProdMixedBuildsEnabledList = [ ] string {
2023-03-13 13:49:52 +01:00
// M5: tzdata launch
2022-12-16 09:16:01 +01:00
"com.android.tzdata" ,
"test1_com.android.tzdata" ,
2023-04-11 10:49:01 +02:00
"test3_com.android.tzdata" ,
2023-03-13 13:49:52 +01:00
// M7: adbd launch
2022-12-08 20:12:54 +01:00
"com.android.adbd" ,
2022-12-14 14:27:25 +01:00
"test_com.android.adbd" ,
2022-12-12 13:20:58 +01:00
"adbd_test" ,
2023-01-24 16:47:18 +01:00
"adb_crypto_test" ,
"adb_pairing_auth_test" ,
"adb_pairing_connection_test" ,
"adb_tls_connection_test" ,
2023-03-13 13:49:52 +01:00
// M9: mixed builds for mainline trains launch
"api_fingerprint" ,
2023-04-07 21:09:37 +02:00
// M11: neuralnetworks launch
"com.android.neuralnetworks" ,
"test_com.android.neuralnetworks" ,
"libneuralnetworks" ,
"libneuralnetworks_static" ,
2022-12-08 20:12:54 +01:00
}
2022-12-14 14:27:25 +01:00
// Staging-mode allowlist. Modules in this list are only built
// by Bazel with --bazel-mode-staging. This list should contain modules
// which will soon be added to the prod allowlist.
// It is implicit that all modules in ProdMixedBuildsEnabledList will
// also be built - do not add them to this list.
2023-04-28 17:23:58 +02:00
StagingMixedBuildsEnabledList = [ ] string {
// M13: media.swcodec launch
2023-05-17 22:32:15 +02:00
"com.android.media.swcodec" ,
"test_com.android.media.swcodec" ,
"libstagefright_foundation" ,
"libcodec2_hidl@1.0" ,
2023-04-28 17:23:58 +02:00
}
2023-01-18 18:15:31 +01:00
// These should be the libs that are included by the apexes in the ProdMixedBuildsEnabledList
2023-03-13 13:49:52 +01:00
ProdDclaMixedBuildsEnabledList = [ ] string {
2023-01-18 18:15:31 +01:00
"libbase" ,
"libc++" ,
"libcrypto" ,
"libcutils" ,
}
2023-03-13 13:49:52 +01:00
// These should be the libs that are included by the apexes in the StagingMixedBuildsEnabledList
StagingDclaMixedBuildsEnabledList = [ ] string { }
2023-01-18 18:15:31 +01:00
// TODO(b/269342245): Enable the rest of the DCLA libs
// "libssl",
// "libstagefright_flacdec",
// "libutils",
2023-03-18 16:12:39 +01:00
2023-04-11 07:28:43 +02:00
// The list of module types which are expected to spend lots of build time.
// With `--ninja_weight_source=soong`, ninja builds these module types and deps first.
HugeModuleTypePrefixMap = map [ string ] int {
"rust_" : HIGH_PRIORITIZED_WEIGHT ,
"droidstubs" : DEFAULT_PRIORITIZED_WEIGHT ,
"art_" : DEFAULT_PRIORITIZED_WEIGHT ,
"ndk_library" : DEFAULT_PRIORITIZED_WEIGHT ,
2023-03-18 16:12:39 +01:00
}
2022-03-28 21:53:03 +02:00
)