blob: 9c9a136d73414f85a4755cb4d63e7b8dd0bd8c7d [file] [log] [blame]
Ivan Lozanoe169ad72019-09-18 08:42:54 -07001package config
2
3var (
4 RustAllowedPaths = []string{
Lingfeng Yang0f8c5b42020-02-20 07:27:15 -08005 "external/minijail",
Chih-Hung Hsiehc74d7232019-10-25 10:01:42 -07006 "external/rust",
Ivan Lozanoe169ad72019-09-18 08:42:54 -07007 "external/crosvm",
8 "external/adhd",
Matthew Maurer99020b02019-10-31 10:44:40 -07009 "prebuilts/rust",
Janis Danisevskis8b7eb8d2020-07-20 09:15:16 -070010 "system/security",
Ivan Lozanoe169ad72019-09-18 08:42:54 -070011 }
12
13 RustModuleTypes = []string{
14 "rust_binary",
15 "rust_binary_host",
16 "rust_library",
17 "rust_library_dylib",
18 "rust_library_rlib",
Matthew Maurer2ae05132020-06-23 14:28:53 -070019 "rust_ffi",
20 "rust_ffi_shared",
21 "rust_ffi_static",
Ivan Lozanoe169ad72019-09-18 08:42:54 -070022 "rust_library_host",
23 "rust_library_host_dylib",
24 "rust_library_host_rlib",
Matthew Maurer2ae05132020-06-23 14:28:53 -070025 "rust_ffi_host",
26 "rust_ffi_host_shared",
27 "rust_ffi_host_static",
Ivan Lozanoe169ad72019-09-18 08:42:54 -070028 "rust_proc_macro",
Ivan Lozano8a342872019-11-14 07:36:22 -080029 "rust_test",
30 "rust_test_host",
Ivan Lozanoe169ad72019-09-18 08:42:54 -070031 }
32)