From 8a25345b7d1c7e73d642cd10389a4201f3a2ab0e Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Thu, 5 Oct 2023 19:51:17 -0700 Subject: [PATCH] Denylist genrules that fail to build with sandboxing Bug: 290816499 Test: run genrule_sandbox_test.py with a local change to check all genrules in the tree Change-Id: Id18b801c2306dd59b5b593b004b513b578ce3705 --- genrule/allowlists.go | 115 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) diff --git a/genrule/allowlists.go b/genrule/allowlists.go index afa52cc7b..3e92706a0 100644 --- a/genrule/allowlists.go +++ b/genrule/allowlists.go @@ -135,10 +135,125 @@ var ( "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", } )