blob: 9647a18a4db21ccdef458b3a8d28db6f3bc69693 [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{
19 "depfile_allowed_for_test",
Cole Faust10b31342023-10-06 12:00:32 -070020 "tflite_support_metadata_schema",
Yu Liu6a7940c2023-05-09 17:12:22 -070021 "tflite_support_spm_config",
22 "tflite_support_spm_encoder_config",
23 "gen_uwb_core_proto",
24 "libtextclassifier_fbgen_utils_flatbuffers_flatbuffers_test",
25 "libtextclassifier_fbgen_utils_lua_utils_tests",
26 "libtextclassifier_fbgen_lang_id_common_flatbuffers_model",
27 "libtextclassifier_fbgen_lang_id_common_flatbuffers_embedding-network",
28 "libtextclassifier_fbgen_annotator_datetime_datetime",
29 "libtextclassifier_fbgen_annotator_model",
30 "libtextclassifier_fbgen_annotator_experimental_experimental",
31 "libtextclassifier_fbgen_annotator_entity-data",
32 "libtextclassifier_fbgen_annotator_person_name_person_name_model",
33 "libtextclassifier_fbgen_utils_tflite_text_encoder_config",
34 "libtextclassifier_fbgen_utils_codepoint-range",
35 "libtextclassifier_fbgen_utils_intents_intent-config",
36 "libtextclassifier_fbgen_utils_flatbuffers_flatbuffers",
37 "libtextclassifier_fbgen_utils_zlib_buffer",
38 "libtextclassifier_fbgen_utils_tokenizer",
39 "libtextclassifier_fbgen_utils_grammar_rules",
40 "libtextclassifier_fbgen_utils_grammar_semantics_expression",
41 "libtextclassifier_fbgen_utils_resources",
42 "libtextclassifier_fbgen_utils_i18n_language-tag",
43 "libtextclassifier_fbgen_utils_normalization",
44 "libtextclassifier_fbgen_utils_container_bit-vector",
45 "libtextclassifier_fbgen_actions_actions-entity-data",
46 "libtextclassifier_fbgen_actions_actions_model",
47 "libtextclassifier_fbgen_utils_grammar_testing_value",
48 }
49
50 SandboxingDenyModuleList = []string{
Yu Liu6a7940c2023-05-09 17:12:22 -070051 "RsBalls-rscript",
Yu Liu6a7940c2023-05-09 17:12:22 -070052 "pvmfw_fdt_template_rs",
53 "RSTest_v14-rscript",
54 "com.android.apex.test.bar_stripped",
55 "com.android.apex.test.sharedlibs_secondary_generated",
56 "ImageProcessingJB-rscript",
57 "RSTest-rscript",
58 "BluetoothGeneratedDumpsysBinarySchema_bfbs",
Yu Liu6a7940c2023-05-09 17:12:22 -070059 "TracingVMProtoStub_h",
Yu Liu6a7940c2023-05-09 17:12:22 -070060 "VehicleServerProtoStub_cc",
61 "AudioFocusControlProtoStub_cc",
62 "AudioFocusControlProtoStub_h",
63 "TracingVMProtoStub_cc",
64 "VehicleServerProtoStub_h",
65 "hidl2aidl_translate_cpp_test_gen_headers",
66 "hidl2aidl_translate_cpp_test_gen_src",
67 "hidl2aidl_translate_java_test_gen_src",
68 "hidl2aidl_translate_ndk_test_gen_headers",
69 "hidl2aidl_translate_ndk_test_gen_src",
70 "hidl_hash_test_gen",
71 "nos_app_avb_service_genc++",
72 "nos_app_avb_service_genc++_headers",
73 "nos_app_avb_service_genc++_mock",
74 "nos_app_identity_service_genc++",
75 "nos_app_keymaster_service_genc++",
76 "nos_generator_test_service_genc++_headers",
77 "nos_generator_test_service_genc++_mock",
78 "r8retrace-run-retrace",
79 "ltp_config_arm",
80 "ltp_config_arm_64_hwasan",
81 "ltp_config_arm_lowmem",
82 "ltp_config_arm_64",
83 "ltp_config_riscv_64",
84 "ltp_config_x86_64",
85 "vm-tests-tf-lib",
86 "hidl_cpp_impl_test_gen-headers",
Yu Liu6a7940c2023-05-09 17:12:22 -070087 "Refocus-rscript",
88 "RSTest_v11-rscript",
89 "RSTest_v16-rscript",
90 "ScriptGroupTest-rscript",
91 "ImageProcessing2-rscript",
92 "ImageProcessing-rscript",
93 "com.android.apex.test.pony_stripped",
94 "com.android.apex.test.baz_stripped",
95 "com.android.apex.test.foo_stripped",
96 "com.android.apex.test.sharedlibs_generated",
Yu Liu6a7940c2023-05-09 17:12:22 -070097 "BlueberryFacadeAndCertGeneratedStub_py",
98 "BlueberryFacadeGeneratedStub_cc",
99 "BlueberryFacadeGeneratedStub_h",
100 "BluetoothGeneratedDumpsysDataSchema_h",
Yu Liu6a7940c2023-05-09 17:12:22 -0700101 "c2hal_test_genc++",
102 "c2hal_test_genc++_headers",
103 "hidl2aidl_test_gen_aidl",
104 "hidl_error_test_gen",
105 "hidl_export_test_gen-headers",
106 "hidl_format_test_diff",
107 "hidl_hash_version_gen",
108 "libbt_topshim_facade_py_proto",
109 "nos_app_identity_service_genc++_headers",
110 "nos_app_identity_service_genc++_mock",
111 "nos_app_keymaster_service_genc++_headers",
112 "nos_app_keymaster_service_genc++_mock",
113 "nos_app_weaver_service_genc++",
114 "nos_app_weaver_service_genc++_headers",
115 "nos_app_weaver_service_genc++_mock",
116 "nos_generator_test_service_genc++",
Igor Foox04ff5f92023-07-10 14:58:51 -0400117 "aidl_camera_build_version",
118 "cronet_aml_base_android_runtime_unchecked_jni_headers",
119 "cronet_aml_base_android_runtime_jni_headers",
Cole Faustedbabc62023-07-20 15:39:04 -0700120 "aidl-golden-test-build-hook-gen",
121 "PacketStreamerStub_h",
122 "FrontendStub_cc",
123 "FrontendStub_h",
124 "PacketStreamerStub_cc",
125 "pixelstatsatoms.h",
126 "pixelatoms_defs.h",
127 "pixelstatsatoms.cpp",
128 "hidl_java_impl_test_gen",
129 "cronet_aml_base_android_runtime_jni_headers__testing",
130 "cronet_aml_base_android_runtime_unchecked_jni_headers__testing",
131 "hidl_cpp_impl_test_gen-sources",
132 "fdt_test_tree_multiple_memory_ranges_dtb",
133 "fdt_test_tree_one_memory_range_dtb",
134 "fdt_test_tree_empty_memory_range_dtb",
135 "ltp_config_arm_64_lowmem",
136 "ltp_config_arm_64_lowmem_hwasan",
137 "ltp_config_x86",
138 "libbssl_sys_src_nostd",
Cole Faust8a253452023-10-05 19:51:17 -0700139 "libcore-non-cts-tests-txt",
140 "ControlEnvProxyServerProto_cc",
141 "ControlEnvProxyServerProto_h",
142 "camera-its",
143 "android-cts-verifier",
144 "CtsApkVerityTestDebugFiles",
145 "vm-tests-tf-lib",
146 "egl_extensions_functions_hdr",
147 "egl_functions_hdr",
148 "gles1_core_functions_hdr",
149 "gles1_extensions_functions_hdr",
150 "gles2_core_functions_hdr",
151 "gles2_extensions_functions_hdr",
152 "gles31_only_functions_hdr",
153 "gles3_only_functions_hdr",
154 "angle_commit_id",
155 "deqp_spvtools_update_build_version",
156 "emp_ematch.yacc.c",
157 "emp_ematch.yacc.h",
158 "libchrome-crypto-include",
159 "libchrome-include",
160 "libmojo_jni_headers",
161 "libxml2_schema_fuzz_corpus",
162 "libxml2_xml_fuzz_corpus",
163 "libc_musl_sysroot_bits",
164 "awkgram.tab.h",
165 "openwrt_rootfs_combined_aarch64",
166 "openwrt_rootfs_combined_x86_64",
167 "openwrt_rootfs_customization_aarch64",
168 "openwrt_rootfs_customization_x86_64",
169 "pandora-python-gen-src",
170 "pdl_cxx_canonical_be_src_gen",
171 "pdl_cxx_canonical_be_test_gen",
172 "pdl_cxx_canonical_le_src_gen",
173 "pdl_cxx_canonical_le_test_gen",
174 "pdl_python_generator_be_test_gen",
175 "pdl_python_generator_le_test_gen",
176 "pdl_rust_noalloc_le_test_backend_srcs",
177 "pdl_rust_noalloc_le_test_gen_harness",
178 "swiftshader_spvtools_update_build_version",
179 "uwb_core_artifacts",
180 "futility_cmds",
181 "MultiDexLegacyTestApp_genrule",
182 "com.android.overlaytest.overlaid.pem",
183 "com.android.overlaytest.overlaid.pubkey",
184 "com.android.overlaytest.overlay.pem",
185 "com.android.overlaytest.overlay.pubkey",
186 "wm_shell_protolog_src",
187 "services.core.protologsrc",
188 "PackageManagerServiceServerTests_apks_as_resources",
189 "wmtests.protologsrc",
190 "com.android.apex.apkrollback.test.pem",
191 "com.android.apex.apkrollback.test.pubkey",
192 "UpdatableSystemFontTest_NotoColorEmojiV0.sig",
193 "UpdatableSystemFontTest_NotoColorEmojiV0.ttf",
194 "UpdatableSystemFontTest_NotoColorEmojiVPlus1.sig",
195 "UpdatableSystemFontTest_NotoColorEmojiVPlus1.ttf",
196 "UpdatableSystemFontTest_NotoColorEmojiVPlus2.sig",
197 "UpdatableSystemFontTest_NotoColorEmojiVPlus2.ttf",
198 "temp_layoutlib",
199 "android-support-multidex-instrumentation-version",
200 "android-support-multidex-version",
201 "core-tests-smali-dex",
202 "gd_hci_packets_python3_gen",
203 "gd_smp_packets_python3_gen",
204 "bluetooth_core_rust_packets",
205 "HeadlessBuildTimestamp",
206 "hci_packets_python3_gen",
207 "link_layer_packets_python3_gen",
208 "llcp_packets_python3_gen",
209 "rootcanal_bredr_bb_packets_cxx_gen",
210 "rootcanal_hci_packets_cxx_gen",
211 "rootcanal_link_layer_packets_cxx_gen",
212 "authfs_test_apk_assets",
213 "measure_io_as_jar",
214 "statsd-config-protos",
215 "statsd-config-protos",
216 "sample-profile-text-protos",
217 "sample-profile-text-protos",
218 "lib-test-profile-text-protos",
219 "lib-test-profile-text-protos",
220 "common-profile-text-protos",
221 "common-profile-text-protos",
222 "vndk_abi_dump_zip",
223 "r8retrace-dexdump-sample-app",
224 "gen_key_mismatch_capex",
225 "gen_corrupt_rebootless_apex",
226 "gen_corrupt_superblock_apex",
227 "gen_manifest_mismatch_apex_no_hashtree",
228 "apexer_test_host_tools",
229 "com.android.apex.cts.shim.debug.pem",
230 "com.android.apex.cts.shim.debug.pubkey",
231 "com.android.apex.cts.shim.pem",
232 "com.android.apex.cts.shim.pubkey",
233 "com.android.apex.cts.shim.v2_no_pb",
234 "com.android.apex.cts.shim.v2_signed_bob",
235 "com.android.apex.cts.shim.v2_signed_bob_rot",
236 "com.android.apex.cts.shim.v2_signed_bob_rot_rollback",
237 "com.android.apex.cts.shim.v2_unsigned_apk_container",
238 "com.android.apex.cts.shim.v3_signed_bob",
239 "com.android.apex.cts.shim.v3_signed_bob_rot",
240 "com.android.apex.cts.shim_not_pre_installed.pem",
241 "com.android.apex.cts.shim_not_pre_installed.pubkey",
242 "com.android.apex.rotation.key.bob.pem",
243 "com.android.apex.rotation.key.bob.pk8",
244 "com.android.apex.rotation.key.bob.rot.rollback",
245 "com.android.apex.rotation.key.bob.rot",
246 "com.android.apex.rotation.key.bob.x509.pem",
247 "generate_hash_v1",
248 "ue_unittest_erofs_imgs",
249 "ue_unittest_erofs_imgs",
250 "ue_unittest_erofs_imgs",
251 "vts_vndk_abi_dump_zip",
252 "atest_integration_fake_src",
Cole Faust10b31342023-10-06 12:00:32 -0700253 "VehicleServerProtoStub_cc@2.0-grpc-trout",
254 "VehicleServerProtoStub_cc@default-grpc",
255 "VehicleServerProtoStub_h@default-grpc",
256 "VehicleServerProtoStub_h@2.0-grpc-trout",
257 "chre_atoms_log.h",
258 "checkIn-service-stub-lite",
259 "seller-frontend-service-stub-lite",
Yu Liu6a7940c2023-05-09 17:12:22 -0700260 }
261
262 SandboxingDenyPathList = []string{
263 "art/test",
264 "external/perfetto",
Cole Faust8a253452023-10-05 19:51:17 -0700265 "external/cronet",
Yu Liu6a7940c2023-05-09 17:12:22 -0700266 }
267)