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