blob: afa52cc7b95e9e6fde714bd4abf28e13fd898b26 [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",
Yu Liu6a7940c2023-05-09 17:12:22 -0700138 }
139
140 SandboxingDenyPathList = []string{
141 "art/test",
142 "external/perfetto",
143 }
144)