blob: 9cc98f57a2ce6d1fedc8cfb6ad96d74c52e24ecc [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 Faustdc3c1452023-10-11 12:28:51 -070021 "gen_uwb_core_proto",
22 "libtextclassifier_fbgen_actions_actions-entity-data",
23 "libtextclassifier_fbgen_actions_actions_model",
24 "libtextclassifier_fbgen_annotator_datetime_datetime",
25 "libtextclassifier_fbgen_annotator_entity-data",
26 "libtextclassifier_fbgen_annotator_experimental_experimental",
27 "libtextclassifier_fbgen_annotator_model",
28 "libtextclassifier_fbgen_annotator_person_name_person_name_model",
29 "libtextclassifier_fbgen_lang_id_common_flatbuffers_embedding-network",
30 "libtextclassifier_fbgen_lang_id_common_flatbuffers_model",
31 "libtextclassifier_fbgen_utils_codepoint-range",
32 "libtextclassifier_fbgen_utils_container_bit-vector",
33 "libtextclassifier_fbgen_utils_flatbuffers_flatbuffers",
34 "libtextclassifier_fbgen_utils_flatbuffers_flatbuffers_test",
35 "libtextclassifier_fbgen_utils_grammar_rules",
36 "libtextclassifier_fbgen_utils_grammar_semantics_expression",
37 "libtextclassifier_fbgen_utils_grammar_testing_value",
38 "libtextclassifier_fbgen_utils_i18n_language-tag",
39 "libtextclassifier_fbgen_utils_intents_intent-config",
40 "libtextclassifier_fbgen_utils_lua_utils_tests",
41 "libtextclassifier_fbgen_utils_normalization",
42 "libtextclassifier_fbgen_utils_resources",
43 "libtextclassifier_fbgen_utils_tflite_text_encoder_config",
44 "libtextclassifier_fbgen_utils_tokenizer",
45 "libtextclassifier_fbgen_utils_zlib_buffer",
Cole Faust10b31342023-10-06 12:00:32 -070046 "tflite_support_metadata_schema",
Yu Liu6a7940c2023-05-09 17:12:22 -070047 "tflite_support_spm_config",
48 "tflite_support_spm_encoder_config",
Cole Faustdc3c1452023-10-11 12:28:51 -070049 // go/keep-sorted end
Yu Liu6a7940c2023-05-09 17:12:22 -070050 }
51
52 SandboxingDenyModuleList = []string{
Cole Faustdc3c1452023-10-11 12:28:51 -070053 // go/keep-sorted start
Cole Faust3af559c2023-10-12 09:54:53 -070054 "CompilationTestCases_package-dex-usage",
Cole Faust8a253452023-10-05 19:51:17 -070055 "ControlEnvProxyServerProto_cc",
56 "ControlEnvProxyServerProto_h",
Cole Faust8a253452023-10-05 19:51:17 -070057 "CtsApkVerityTestDebugFiles",
Cole Faustdc3c1452023-10-11 12:28:51 -070058 "FrontendStub_cc",
59 "FrontendStub_h",
60 "HeadlessBuildTimestamp",
61 "ImageProcessing-rscript",
62 "ImageProcessing2-rscript",
63 "ImageProcessingJB-rscript",
Cole Faust8a253452023-10-05 19:51:17 -070064 "MultiDexLegacyTestApp_genrule",
Cole Faust8a253452023-10-05 19:51:17 -070065 "PackageManagerServiceServerTests_apks_as_resources",
Cole Faustdc3c1452023-10-11 12:28:51 -070066 "PacketStreamerStub_cc",
67 "PacketStreamerStub_h",
68 "RSTest-rscript",
69 "RSTest_v11-rscript",
70 "RSTest_v14-rscript",
71 "RSTest_v16-rscript",
72 "Refocus-rscript",
73 "RsBalls-rscript",
74 "ScriptGroupTest-rscript",
75 "TracingVMProtoStub_cc",
76 "TracingVMProtoStub_h",
Cole Faustdc3c1452023-10-11 12:28:51 -070077 "VehicleServerProtoStub_cc",
78 "VehicleServerProtoStub_cc@2.0-grpc-trout",
79 "VehicleServerProtoStub_cc@default-grpc",
80 "VehicleServerProtoStub_h",
81 "VehicleServerProtoStub_h@2.0-grpc-trout",
82 "VehicleServerProtoStub_h@default-grpc",
83 "aidl-golden-test-build-hook-gen",
84 "aidl_camera_build_version",
85 "android-cts-verifier",
Cole Faust8a253452023-10-05 19:51:17 -070086 "android-support-multidex-instrumentation-version",
87 "android-support-multidex-version",
Cole Faustdc3c1452023-10-11 12:28:51 -070088 "angle_commit_id",
Cole Faust8a253452023-10-05 19:51:17 -070089 "apexer_test_host_tools",
Cole Faustdc3c1452023-10-11 12:28:51 -070090 "atest_integration_fake_src",
91 "authfs_test_apk_assets",
92 "awkgram.tab.h",
93 "bluetooth_core_rust_packets",
94 "c2hal_test_genc++",
95 "c2hal_test_genc++_headers",
96 "camera-its",
97 "checkIn-service-stub-lite",
98 "chre_atoms_log.h",
Cole Faustdc3c1452023-10-11 12:28:51 -070099 "common-profile-text-protos",
100 "core-tests-smali-dex",
101 "cronet_aml_base_android_runtime_jni_headers",
102 "cronet_aml_base_android_runtime_jni_headers__testing",
103 "cronet_aml_base_android_runtime_unchecked_jni_headers",
104 "cronet_aml_base_android_runtime_unchecked_jni_headers__testing",
105 "deqp_spvtools_update_build_version",
106 "egl_extensions_functions_hdr",
107 "egl_functions_hdr",
108 "emp_ematch.yacc.c",
109 "emp_ematch.yacc.h",
110 "fdt_test_tree_empty_memory_range_dtb",
111 "fdt_test_tree_multiple_memory_ranges_dtb",
112 "fdt_test_tree_one_memory_range_dtb",
113 "futility_cmds",
114 "gd_hci_packets_python3_gen",
115 "gd_smp_packets_python3_gen",
116 "gen_corrupt_rebootless_apex",
117 "gen_corrupt_superblock_apex",
118 "gen_key_mismatch_capex",
119 "gen_manifest_mismatch_apex_no_hashtree",
Cole Faust8a253452023-10-05 19:51:17 -0700120 "generate_hash_v1",
Cole Faustdc3c1452023-10-11 12:28:51 -0700121 "gles1_core_functions_hdr",
122 "gles1_extensions_functions_hdr",
123 "gles2_core_functions_hdr",
124 "gles2_extensions_functions_hdr",
125 "gles31_only_functions_hdr",
126 "gles3_only_functions_hdr",
127 "hci_packets_python3_gen",
128 "hidl2aidl_test_gen_aidl",
129 "hidl2aidl_translate_cpp_test_gen_headers",
130 "hidl2aidl_translate_cpp_test_gen_src",
131 "hidl2aidl_translate_java_test_gen_src",
132 "hidl2aidl_translate_ndk_test_gen_headers",
133 "hidl2aidl_translate_ndk_test_gen_src",
134 "hidl_cpp_impl_test_gen-headers",
135 "hidl_cpp_impl_test_gen-sources",
136 "hidl_error_test_gen",
137 "hidl_export_test_gen-headers",
138 "hidl_format_test_diff",
139 "hidl_hash_test_gen",
140 "hidl_hash_version_gen",
141 "hidl_java_impl_test_gen",
142 "lib-test-profile-text-protos",
143 "libbssl_sys_src_nostd",
Cole Faustdc3c1452023-10-11 12:28:51 -0700144 "libc_musl_sysroot_bits",
145 "libchrome-crypto-include",
146 "libchrome-include",
147 "libcore-non-cts-tests-txt",
148 "libmojo_jni_headers",
149 "libxml2_schema_fuzz_corpus",
150 "libxml2_xml_fuzz_corpus",
151 "link_layer_packets_python3_gen",
152 "llcp_packets_python3_gen",
Cole Faustdc3c1452023-10-11 12:28:51 -0700153 "measure_io_as_jar",
154 "nos_app_avb_service_genc++",
155 "nos_app_avb_service_genc++_headers",
156 "nos_app_avb_service_genc++_mock",
157 "nos_app_identity_service_genc++",
158 "nos_app_identity_service_genc++_headers",
159 "nos_app_identity_service_genc++_mock",
160 "nos_app_keymaster_service_genc++",
161 "nos_app_keymaster_service_genc++_headers",
162 "nos_app_keymaster_service_genc++_mock",
163 "nos_app_weaver_service_genc++",
164 "nos_app_weaver_service_genc++_headers",
165 "nos_app_weaver_service_genc++_mock",
166 "nos_generator_test_service_genc++",
167 "nos_generator_test_service_genc++_headers",
168 "nos_generator_test_service_genc++_mock",
169 "openwrt_rootfs_combined_aarch64",
170 "openwrt_rootfs_combined_x86_64",
171 "openwrt_rootfs_customization_aarch64",
172 "openwrt_rootfs_customization_x86_64",
173 "pandora-python-gen-src",
174 "pdl_cxx_canonical_be_src_gen",
175 "pdl_cxx_canonical_be_test_gen",
176 "pdl_cxx_canonical_le_src_gen",
177 "pdl_cxx_canonical_le_test_gen",
178 "pdl_python_generator_be_test_gen",
179 "pdl_python_generator_le_test_gen",
180 "pdl_rust_noalloc_le_test_backend_srcs",
181 "pdl_rust_noalloc_le_test_gen_harness",
182 "pixelatoms_defs.h",
183 "pixelstatsatoms.cpp",
184 "pixelstatsatoms.h",
185 "pvmfw_fdt_template_rs",
186 "r8retrace-dexdump-sample-app",
187 "r8retrace-run-retrace",
188 "rootcanal_bredr_bb_packets_cxx_gen",
189 "rootcanal_hci_packets_cxx_gen",
190 "rootcanal_link_layer_packets_cxx_gen",
191 "sample-profile-text-protos",
Cole Faust10b31342023-10-06 12:00:32 -0700192 "seller-frontend-service-stub-lite",
Cole Faustdc3c1452023-10-11 12:28:51 -0700193 "services.core.protologsrc",
194 "statsd-config-protos",
195 "swiftshader_spvtools_update_build_version",
196 "temp_layoutlib",
197 "ue_unittest_erofs_imgs",
198 "uwb_core_artifacts",
199 "vm-tests-tf-lib",
200 "vndk_abi_dump_zip",
201 "vts_vndk_abi_dump_zip",
202 "wm_shell_protolog_src",
203 "wmtests.protologsrc",
204 // go/keep-sorted end
Yu Liu6a7940c2023-05-09 17:12:22 -0700205 }
206
207 SandboxingDenyPathList = []string{
Cole Faustdc3c1452023-10-11 12:28:51 -0700208 // go/keep-sorted start
Yu Liu6a7940c2023-05-09 17:12:22 -0700209 "art/test",
Cole Faust8a253452023-10-05 19:51:17 -0700210 "external/cronet",
Cole Faustdc3c1452023-10-11 12:28:51 -0700211 // go/keep-sorted end
Yu Liu6a7940c2023-05-09 17:12:22 -0700212 }
213)