allowlists.go 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. // 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. package genrule
  15. var (
  16. DepfileAllowList = []string{
  17. "depfile_allowed_for_test",
  18. "tflite_support_spm_config",
  19. "tflite_support_spm_encoder_config",
  20. "gen_uwb_core_proto",
  21. "libtextclassifier_fbgen_utils_flatbuffers_flatbuffers_test",
  22. "libtextclassifier_fbgen_utils_lua_utils_tests",
  23. "libtextclassifier_fbgen_lang_id_common_flatbuffers_model",
  24. "libtextclassifier_fbgen_lang_id_common_flatbuffers_embedding-network",
  25. "libtextclassifier_fbgen_annotator_datetime_datetime",
  26. "libtextclassifier_fbgen_annotator_model",
  27. "libtextclassifier_fbgen_annotator_experimental_experimental",
  28. "libtextclassifier_fbgen_annotator_entity-data",
  29. "libtextclassifier_fbgen_annotator_person_name_person_name_model",
  30. "libtextclassifier_fbgen_utils_tflite_text_encoder_config",
  31. "libtextclassifier_fbgen_utils_codepoint-range",
  32. "libtextclassifier_fbgen_utils_intents_intent-config",
  33. "libtextclassifier_fbgen_utils_flatbuffers_flatbuffers",
  34. "libtextclassifier_fbgen_utils_zlib_buffer",
  35. "libtextclassifier_fbgen_utils_tokenizer",
  36. "libtextclassifier_fbgen_utils_grammar_rules",
  37. "libtextclassifier_fbgen_utils_grammar_semantics_expression",
  38. "libtextclassifier_fbgen_utils_resources",
  39. "libtextclassifier_fbgen_utils_i18n_language-tag",
  40. "libtextclassifier_fbgen_utils_normalization",
  41. "libtextclassifier_fbgen_utils_container_bit-vector",
  42. "libtextclassifier_fbgen_actions_actions-entity-data",
  43. "libtextclassifier_fbgen_actions_actions_model",
  44. "libtextclassifier_fbgen_utils_grammar_testing_value",
  45. }
  46. SandboxingDenyModuleList = []string{
  47. "RsBalls-rscript",
  48. "pvmfw_fdt_template_rs",
  49. "RSTest_v14-rscript",
  50. "com.android.apex.test.bar_stripped",
  51. "com.android.apex.test.sharedlibs_secondary_generated",
  52. "ImageProcessingJB-rscript",
  53. "RSTest-rscript",
  54. "BluetoothGeneratedDumpsysBinarySchema_bfbs",
  55. "TracingVMProtoStub_h",
  56. "FrontendStub_h",
  57. "VehicleServerProtoStub_cc",
  58. "AudioFocusControlProtoStub_cc",
  59. "AudioFocusControlProtoStub_h",
  60. "TracingVMProtoStub_cc",
  61. "VehicleServerProtoStub_h",
  62. "hidl2aidl_translate_cpp_test_gen_headers",
  63. "hidl2aidl_translate_cpp_test_gen_src",
  64. "hidl2aidl_translate_java_test_gen_src",
  65. "hidl2aidl_translate_ndk_test_gen_headers",
  66. "hidl2aidl_translate_ndk_test_gen_src",
  67. "hidl_hash_test_gen",
  68. "nos_app_avb_service_genc++",
  69. "nos_app_avb_service_genc++_headers",
  70. "nos_app_avb_service_genc++_mock",
  71. "nos_app_identity_service_genc++",
  72. "nos_app_keymaster_service_genc++",
  73. "nos_generator_test_service_genc++_headers",
  74. "nos_generator_test_service_genc++_mock",
  75. "r8retrace-run-retrace",
  76. "ltp_config_arm",
  77. "ltp_config_arm_64_hwasan",
  78. "ltp_config_arm_lowmem",
  79. "ltp_config_arm_64",
  80. "ltp_config_riscv_64",
  81. "ltp_config_x86_64",
  82. "vm-tests-tf-lib",
  83. "hidl_cpp_impl_test_gen-headers",
  84. "Refocus-rscript",
  85. "RSTest_v11-rscript",
  86. "RSTest_v16-rscript",
  87. "ScriptGroupTest-rscript",
  88. "ImageProcessing2-rscript",
  89. "ImageProcessing-rscript",
  90. "com.android.apex.test.pony_stripped",
  91. "com.android.apex.test.baz_stripped",
  92. "com.android.apex.test.foo_stripped",
  93. "com.android.apex.test.sharedlibs_generated",
  94. "BlueberryFacadeAndCertGeneratedStub_py",
  95. "BlueberryFacadeGeneratedStub_cc",
  96. "BlueberryFacadeGeneratedStub_h",
  97. "BluetoothGeneratedDumpsysDataSchema_h",
  98. "FrontendStub_cc",
  99. "OpenwrtControlServerProto_cc",
  100. "OpenwrtControlServerProto_h",
  101. "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++",
  117. }
  118. SandboxingDenyPathList = []string{
  119. "art/test",
  120. "external/perfetto",
  121. }
  122. )