platform_build_soong/genrule/allowlists.go

260 lines
9.1 KiB
Go
Raw Normal View History

// Copyright 2023 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 genrule
var (
DepfileAllowList = []string{
"depfile_allowed_for_test",
"tflite_support_spm_config",
"tflite_support_spm_encoder_config",
"gen_uwb_core_proto",
"libtextclassifier_fbgen_utils_flatbuffers_flatbuffers_test",
"libtextclassifier_fbgen_utils_lua_utils_tests",
"libtextclassifier_fbgen_lang_id_common_flatbuffers_model",
"libtextclassifier_fbgen_lang_id_common_flatbuffers_embedding-network",
"libtextclassifier_fbgen_annotator_datetime_datetime",
"libtextclassifier_fbgen_annotator_model",
"libtextclassifier_fbgen_annotator_experimental_experimental",
"libtextclassifier_fbgen_annotator_entity-data",
"libtextclassifier_fbgen_annotator_person_name_person_name_model",
"libtextclassifier_fbgen_utils_tflite_text_encoder_config",
"libtextclassifier_fbgen_utils_codepoint-range",
"libtextclassifier_fbgen_utils_intents_intent-config",
"libtextclassifier_fbgen_utils_flatbuffers_flatbuffers",
"libtextclassifier_fbgen_utils_zlib_buffer",
"libtextclassifier_fbgen_utils_tokenizer",
"libtextclassifier_fbgen_utils_grammar_rules",
"libtextclassifier_fbgen_utils_grammar_semantics_expression",
"libtextclassifier_fbgen_utils_resources",
"libtextclassifier_fbgen_utils_i18n_language-tag",
"libtextclassifier_fbgen_utils_normalization",
"libtextclassifier_fbgen_utils_container_bit-vector",
"libtextclassifier_fbgen_actions_actions-entity-data",
"libtextclassifier_fbgen_actions_actions_model",
"libtextclassifier_fbgen_utils_grammar_testing_value",
}
SandboxingDenyModuleList = []string{
"RsBalls-rscript",
"pvmfw_fdt_template_rs",
"RSTest_v14-rscript",
"com.android.apex.test.bar_stripped",
"com.android.apex.test.sharedlibs_secondary_generated",
"ImageProcessingJB-rscript",
"RSTest-rscript",
"BluetoothGeneratedDumpsysBinarySchema_bfbs",
"TracingVMProtoStub_h",
"VehicleServerProtoStub_cc",
"AudioFocusControlProtoStub_cc",
"AudioFocusControlProtoStub_h",
"TracingVMProtoStub_cc",
"VehicleServerProtoStub_h",
"hidl2aidl_translate_cpp_test_gen_headers",
"hidl2aidl_translate_cpp_test_gen_src",
"hidl2aidl_translate_java_test_gen_src",
"hidl2aidl_translate_ndk_test_gen_headers",
"hidl2aidl_translate_ndk_test_gen_src",
"hidl_hash_test_gen",
"nos_app_avb_service_genc++",
"nos_app_avb_service_genc++_headers",
"nos_app_avb_service_genc++_mock",
"nos_app_identity_service_genc++",
"nos_app_keymaster_service_genc++",
"nos_generator_test_service_genc++_headers",
"nos_generator_test_service_genc++_mock",
"r8retrace-run-retrace",
"ltp_config_arm",
"ltp_config_arm_64_hwasan",
"ltp_config_arm_lowmem",
"ltp_config_arm_64",
"ltp_config_riscv_64",
"ltp_config_x86_64",
"vm-tests-tf-lib",
"hidl_cpp_impl_test_gen-headers",
"Refocus-rscript",
"RSTest_v11-rscript",
"RSTest_v16-rscript",
"ScriptGroupTest-rscript",
"ImageProcessing2-rscript",
"ImageProcessing-rscript",
"com.android.apex.test.pony_stripped",
"com.android.apex.test.baz_stripped",
"com.android.apex.test.foo_stripped",
"com.android.apex.test.sharedlibs_generated",
"BlueberryFacadeAndCertGeneratedStub_py",
"BlueberryFacadeGeneratedStub_cc",
"BlueberryFacadeGeneratedStub_h",
"BluetoothGeneratedDumpsysDataSchema_h",
"c2hal_test_genc++",
"c2hal_test_genc++_headers",
"hidl2aidl_test_gen_aidl",
"hidl_error_test_gen",
"hidl_export_test_gen-headers",
"hidl_format_test_diff",
"hidl_hash_version_gen",
"libbt_topshim_facade_py_proto",
"nos_app_identity_service_genc++_headers",
"nos_app_identity_service_genc++_mock",
"nos_app_keymaster_service_genc++_headers",
"nos_app_keymaster_service_genc++_mock",
"nos_app_weaver_service_genc++",
"nos_app_weaver_service_genc++_headers",
"nos_app_weaver_service_genc++_mock",
"nos_generator_test_service_genc++",
"aidl_camera_build_version",
"cronet_aml_base_android_runtime_unchecked_jni_headers",
"cronet_aml_base_android_runtime_jni_headers",
"aidl-golden-test-build-hook-gen",
"PacketStreamerStub_h",
"FrontendStub_cc",
"FrontendStub_h",
"PacketStreamerStub_cc",
"pixelstatsatoms.h",
"pixelatoms_defs.h",
"pixelstatsatoms.cpp",
"hidl_java_impl_test_gen",
"cronet_aml_base_android_runtime_jni_headers__testing",
"cronet_aml_base_android_runtime_unchecked_jni_headers__testing",
"hidl_cpp_impl_test_gen-sources",
"fdt_test_tree_multiple_memory_ranges_dtb",
"fdt_test_tree_one_memory_range_dtb",
"fdt_test_tree_empty_memory_range_dtb",
"ltp_config_arm_64_lowmem",
"ltp_config_arm_64_lowmem_hwasan",
"ltp_config_x86",
"libbssl_sys_src_nostd",
"libcore-non-cts-tests-txt",
"ControlEnvProxyServerProto_cc",
"ControlEnvProxyServerProto_h",
"camera-its",
"android-cts-verifier",
"CtsApkVerityTestDebugFiles",
"vm-tests-tf-lib",
"egl_extensions_functions_hdr",
"egl_functions_hdr",
"gles1_core_functions_hdr",
"gles1_extensions_functions_hdr",
"gles2_core_functions_hdr",
"gles2_extensions_functions_hdr",
"gles31_only_functions_hdr",
"gles3_only_functions_hdr",
"angle_commit_id",
"deqp_spvtools_update_build_version",
"emp_ematch.yacc.c",
"emp_ematch.yacc.h",
"libchrome-crypto-include",
"libchrome-include",
"libmojo_jni_headers",
"libxml2_schema_fuzz_corpus",
"libxml2_xml_fuzz_corpus",
"libc_musl_sysroot_bits",
"awkgram.tab.h",
"openwrt_rootfs_combined_aarch64",
"openwrt_rootfs_combined_x86_64",
"openwrt_rootfs_customization_aarch64",
"openwrt_rootfs_customization_x86_64",
"pandora-python-gen-src",
"pdl_cxx_canonical_be_src_gen",
"pdl_cxx_canonical_be_test_gen",
"pdl_cxx_canonical_le_src_gen",
"pdl_cxx_canonical_le_test_gen",
"pdl_python_generator_be_test_gen",
"pdl_python_generator_le_test_gen",
"pdl_rust_noalloc_le_test_backend_srcs",
"pdl_rust_noalloc_le_test_gen_harness",
"swiftshader_spvtools_update_build_version",
"uwb_core_artifacts",
"futility_cmds",
"MultiDexLegacyTestApp_genrule",
"com.android.overlaytest.overlaid.pem",
"com.android.overlaytest.overlaid.pubkey",
"com.android.overlaytest.overlay.pem",
"com.android.overlaytest.overlay.pubkey",
"wm_shell_protolog_src",
"services.core.protologsrc",
"PackageManagerServiceServerTests_apks_as_resources",
"wmtests.protologsrc",
"com.android.apex.apkrollback.test.pem",
"com.android.apex.apkrollback.test.pubkey",
"UpdatableSystemFontTest_NotoColorEmojiV0.sig",
"UpdatableSystemFontTest_NotoColorEmojiV0.ttf",
"UpdatableSystemFontTest_NotoColorEmojiVPlus1.sig",
"UpdatableSystemFontTest_NotoColorEmojiVPlus1.ttf",
"UpdatableSystemFontTest_NotoColorEmojiVPlus2.sig",
"UpdatableSystemFontTest_NotoColorEmojiVPlus2.ttf",
"temp_layoutlib",
"android-support-multidex-instrumentation-version",
"android-support-multidex-version",
"core-tests-smali-dex",
"gd_hci_packets_python3_gen",
"gd_smp_packets_python3_gen",
"bluetooth_core_rust_packets",
"HeadlessBuildTimestamp",
"hci_packets_python3_gen",
"link_layer_packets_python3_gen",
"llcp_packets_python3_gen",
"rootcanal_bredr_bb_packets_cxx_gen",
"rootcanal_hci_packets_cxx_gen",
"rootcanal_link_layer_packets_cxx_gen",
"authfs_test_apk_assets",
"measure_io_as_jar",
"statsd-config-protos",
"statsd-config-protos",
"sample-profile-text-protos",
"sample-profile-text-protos",
"lib-test-profile-text-protos",
"lib-test-profile-text-protos",
"common-profile-text-protos",
"common-profile-text-protos",
"vndk_abi_dump_zip",
"r8retrace-dexdump-sample-app",
"gen_key_mismatch_capex",
"gen_corrupt_rebootless_apex",
"gen_corrupt_superblock_apex",
"gen_manifest_mismatch_apex_no_hashtree",
"apexer_test_host_tools",
"com.android.apex.cts.shim.debug.pem",
"com.android.apex.cts.shim.debug.pubkey",
"com.android.apex.cts.shim.pem",
"com.android.apex.cts.shim.pubkey",
"com.android.apex.cts.shim.v2_no_pb",
"com.android.apex.cts.shim.v2_signed_bob",
"com.android.apex.cts.shim.v2_signed_bob_rot",
"com.android.apex.cts.shim.v2_signed_bob_rot_rollback",
"com.android.apex.cts.shim.v2_unsigned_apk_container",
"com.android.apex.cts.shim.v3_signed_bob",
"com.android.apex.cts.shim.v3_signed_bob_rot",
"com.android.apex.cts.shim_not_pre_installed.pem",
"com.android.apex.cts.shim_not_pre_installed.pubkey",
"com.android.apex.rotation.key.bob.pem",
"com.android.apex.rotation.key.bob.pk8",
"com.android.apex.rotation.key.bob.rot.rollback",
"com.android.apex.rotation.key.bob.rot",
"com.android.apex.rotation.key.bob.x509.pem",
"generate_hash_v1",
"ue_unittest_erofs_imgs",
"ue_unittest_erofs_imgs",
"ue_unittest_erofs_imgs",
"vts_vndk_abi_dump_zip",
"atest_integration_fake_src",
}
SandboxingDenyPathList = []string{
"art/test",
"external/perfetto",
"external/cronet",
}
)