blob: cae839ea3e89ad1367452d02352a85302f841238 [file] [log] [blame]
Yu Liu6a7940c2023-05-09 17:12:22 -07001// Copyright 2023 Google Inc. All rights reserved.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package genrule
16
Yu Liu6a7940c2023-05-09 17:12:22 -070017var (
18 DepfileAllowList = []string{
Cole Faustdc3c1452023-10-11 12:28:51 -070019 // go/keep-sorted start
Yu Liu6a7940c2023-05-09 17:12:22 -070020 "depfile_allowed_for_test",
Cole Faust10b31342023-10-06 12:00:32 -070021 "tflite_support_metadata_schema",
Yu Liu6a7940c2023-05-09 17:12:22 -070022 "tflite_support_spm_config",
23 "tflite_support_spm_encoder_config",
Cole Faustdc3c1452023-10-11 12:28:51 -070024 // go/keep-sorted end
Yu Liu6a7940c2023-05-09 17:12:22 -070025 }
26
27 SandboxingDenyModuleList = []string{
Cole Faustdc3c1452023-10-11 12:28:51 -070028 // go/keep-sorted start
Cole Faust8a253452023-10-05 19:51:17 -070029 "ControlEnvProxyServerProto_cc",
30 "ControlEnvProxyServerProto_h",
Cole Faust8a253452023-10-05 19:51:17 -070031 "CtsApkVerityTestDebugFiles",
Cole Faustdc3c1452023-10-11 12:28:51 -070032 "FrontendStub_cc",
33 "FrontendStub_h",
Cole Faustdc3c1452023-10-11 12:28:51 -070034 "ImageProcessing-rscript",
35 "ImageProcessing2-rscript",
36 "ImageProcessingJB-rscript",
Cole Faust8a253452023-10-05 19:51:17 -070037 "MultiDexLegacyTestApp_genrule",
Cole Faustdc3c1452023-10-11 12:28:51 -070038 "PacketStreamerStub_cc",
39 "PacketStreamerStub_h",
40 "RSTest-rscript",
41 "RSTest_v11-rscript",
42 "RSTest_v14-rscript",
43 "RSTest_v16-rscript",
44 "Refocus-rscript",
45 "RsBalls-rscript",
46 "ScriptGroupTest-rscript",
47 "TracingVMProtoStub_cc",
48 "TracingVMProtoStub_h",
Cole Faustdc3c1452023-10-11 12:28:51 -070049 "VehicleServerProtoStub_cc",
50 "VehicleServerProtoStub_cc@2.0-grpc-trout",
51 "VehicleServerProtoStub_cc@default-grpc",
52 "VehicleServerProtoStub_h",
53 "VehicleServerProtoStub_h@2.0-grpc-trout",
54 "VehicleServerProtoStub_h@default-grpc",
55 "aidl-golden-test-build-hook-gen",
56 "aidl_camera_build_version",
57 "android-cts-verifier",
Cole Faust8a253452023-10-05 19:51:17 -070058 "android-support-multidex-instrumentation-version",
59 "android-support-multidex-version",
Cole Faustdc3c1452023-10-11 12:28:51 -070060 "angle_commit_id",
Cole Faustdc3c1452023-10-11 12:28:51 -070061 "atest_integration_fake_src",
Cole Faustdc3c1452023-10-11 12:28:51 -070062 "awkgram.tab.h",
Cole Faustdc3c1452023-10-11 12:28:51 -070063 "c2hal_test_genc++",
64 "c2hal_test_genc++_headers",
65 "camera-its",
66 "checkIn-service-stub-lite",
67 "chre_atoms_log.h",
Cole Faustdc3c1452023-10-11 12:28:51 -070068 "cronet_aml_base_android_runtime_jni_headers",
69 "cronet_aml_base_android_runtime_jni_headers__testing",
70 "cronet_aml_base_android_runtime_unchecked_jni_headers",
71 "cronet_aml_base_android_runtime_unchecked_jni_headers__testing",
72 "deqp_spvtools_update_build_version",
73 "egl_extensions_functions_hdr",
74 "egl_functions_hdr",
75 "emp_ematch.yacc.c",
76 "emp_ematch.yacc.h",
77 "fdt_test_tree_empty_memory_range_dtb",
78 "fdt_test_tree_multiple_memory_ranges_dtb",
79 "fdt_test_tree_one_memory_range_dtb",
Cole Faustdc3c1452023-10-11 12:28:51 -070080 "gen_corrupt_rebootless_apex",
Cole Faustdc3c1452023-10-11 12:28:51 -070081 "gen_key_mismatch_capex",
Cole Faustdc3c1452023-10-11 12:28:51 -070082 "gles1_core_functions_hdr",
83 "gles1_extensions_functions_hdr",
84 "gles2_core_functions_hdr",
85 "gles2_extensions_functions_hdr",
86 "gles31_only_functions_hdr",
87 "gles3_only_functions_hdr",
Cole Faustdc3c1452023-10-11 12:28:51 -070088 "libbssl_sys_src_nostd",
Cole Faustdc3c1452023-10-11 12:28:51 -070089 "libc_musl_sysroot_bits",
90 "libchrome-crypto-include",
91 "libchrome-include",
92 "libcore-non-cts-tests-txt",
Cole Faustdc3c1452023-10-11 12:28:51 -070093 "libxml2_schema_fuzz_corpus",
94 "libxml2_xml_fuzz_corpus",
Cole Faustdc3c1452023-10-11 12:28:51 -070095 "pixelatoms_defs.h",
96 "pixelstatsatoms.cpp",
97 "pixelstatsatoms.h",
98 "pvmfw_fdt_template_rs",
99 "r8retrace-dexdump-sample-app",
100 "r8retrace-run-retrace",
Cole Faust10b31342023-10-06 12:00:32 -0700101 "seller-frontend-service-stub-lite",
Cole Faustdc3c1452023-10-11 12:28:51 -0700102 "swiftshader_spvtools_update_build_version",
Cole Faustdc3c1452023-10-11 12:28:51 -0700103 "ue_unittest_erofs_imgs",
Cole Faustdc3c1452023-10-11 12:28:51 -0700104 "vm-tests-tf-lib",
105 "vndk_abi_dump_zip",
Cole Faustdc3c1452023-10-11 12:28:51 -0700106 // go/keep-sorted end
Yu Liu6a7940c2023-05-09 17:12:22 -0700107 }
108
109 SandboxingDenyPathList = []string{
Cole Faustdc3c1452023-10-11 12:28:51 -0700110 // go/keep-sorted start
Yu Liu6a7940c2023-05-09 17:12:22 -0700111 "art/test",
Cole Faust8a253452023-10-05 19:51:17 -0700112 "external/cronet",
Cole Faustdc3c1452023-10-11 12:28:51 -0700113 // go/keep-sorted end
Yu Liu6a7940c2023-05-09 17:12:22 -0700114 }
115)