Bob Badour | e80ee75 | 2021-05-12 12:41:18 -0700 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 5 | rust_binary { |
| 6 | name: "pvm_exec", |
| 7 | srcs: ["src/pvm_exec.rs"], |
| 8 | rustlibs: [ |
| 9 | "compos_aidl_interface-rust", |
| 10 | "libanyhow", |
Victor Hsieh | a7d3786 | 2021-06-04 17:14:20 -0700 | [diff] [blame] | 11 | "libbinder_rpc_unstable_bindgen", |
| 12 | "libbinder_rs", |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 13 | "libclap", |
| 14 | "liblibc", |
| 15 | "liblog_rust", |
| 16 | "libminijail_rust", |
| 17 | "libnix", |
| 18 | "libscopeguard", |
| 19 | ], |
Victor Hsieh | 3cc5b32 | 2021-05-18 12:44:45 -0700 | [diff] [blame] | 20 | prefer_rlib: true, |
Victor Hsieh | a7d3786 | 2021-06-04 17:14:20 -0700 | [diff] [blame] | 21 | shared_libs: [ |
| 22 | "libbinder_rpc_unstable", |
| 23 | ], |
Victor Hsieh | b5f465a | 2021-05-11 13:45:15 -0700 | [diff] [blame] | 24 | apex_available: [ |
| 25 | "com.android.compos", |
| 26 | ], |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 27 | } |
| 28 | |
| 29 | rust_binary { |
| 30 | name: "compsvc", |
Alan Stokes | 9e2c5d5 | 2021-07-21 11:29:10 +0100 | [diff] [blame] | 31 | srcs: ["src/compsvc_main.rs"], |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 32 | rustlibs: [ |
Victor Hsieh | a64194b | 2021-08-06 17:43:36 -0700 | [diff] [blame] | 33 | "android.hardware.security.keymint-V1-rust", |
| 34 | "android.system.keystore2-V1-rust", |
Victor Hsieh | ebb1d90 | 2021-08-06 13:00:18 -0700 | [diff] [blame] | 35 | "authfs_aidl_interface-rust", |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 36 | "compos_aidl_interface-rust", |
| 37 | "libandroid_logger", |
| 38 | "libanyhow", |
Victor Hsieh | a7d3786 | 2021-06-04 17:14:20 -0700 | [diff] [blame] | 39 | "libbinder_rpc_unstable_bindgen", |
| 40 | "libbinder_rs", |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 41 | "libclap", |
| 42 | "liblog_rust", |
| 43 | "libminijail_rust", |
Victor Hsieh | a64194b | 2021-08-06 17:43:36 -0700 | [diff] [blame] | 44 | "libring", |
| 45 | "libscopeguard", |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 46 | ], |
Victor Hsieh | 3cc5b32 | 2021-05-18 12:44:45 -0700 | [diff] [blame] | 47 | prefer_rlib: true, |
Victor Hsieh | a7d3786 | 2021-06-04 17:14:20 -0700 | [diff] [blame] | 48 | shared_libs: [ |
| 49 | "libbinder_rpc_unstable", |
| 50 | ], |
Victor Hsieh | b5f465a | 2021-05-11 13:45:15 -0700 | [diff] [blame] | 51 | apex_available: [ |
| 52 | "com.android.compos", |
| 53 | ], |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 54 | } |