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", |
Victor Hsieh | 4a65459 | 2021-08-19 09:08:19 -0700 | [diff] [blame] | 10 | "libandroid_logger", |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 11 | "libanyhow", |
Victor Hsieh | a7d3786 | 2021-06-04 17:14:20 -0700 | [diff] [blame] | 12 | "libbinder_rpc_unstable_bindgen", |
| 13 | "libbinder_rs", |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 14 | "libclap", |
Alan Stokes | 17fd36a | 2021-09-06 17:22:37 +0100 | [diff] [blame] | 15 | "libcompos_common", |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 16 | "liblibc", |
| 17 | "liblog_rust", |
| 18 | "libminijail_rust", |
| 19 | "libnix", |
| 20 | "libscopeguard", |
| 21 | ], |
Victor Hsieh | 3cc5b32 | 2021-05-18 12:44:45 -0700 | [diff] [blame] | 22 | prefer_rlib: true, |
Victor Hsieh | a7d3786 | 2021-06-04 17:14:20 -0700 | [diff] [blame] | 23 | shared_libs: [ |
| 24 | "libbinder_rpc_unstable", |
| 25 | ], |
Victor Hsieh | b5f465a | 2021-05-11 13:45:15 -0700 | [diff] [blame] | 26 | apex_available: [ |
| 27 | "com.android.compos", |
| 28 | ], |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 29 | } |
| 30 | |
| 31 | rust_binary { |
| 32 | name: "compsvc", |
Alan Stokes | 9e2c5d5 | 2021-07-21 11:29:10 +0100 | [diff] [blame] | 33 | srcs: ["src/compsvc_main.rs"], |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 34 | rustlibs: [ |
Victor Hsieh | a64194b | 2021-08-06 17:43:36 -0700 | [diff] [blame] | 35 | "android.hardware.security.keymint-V1-rust", |
| 36 | "android.system.keystore2-V1-rust", |
Victor Hsieh | ebb1d90 | 2021-08-06 13:00:18 -0700 | [diff] [blame] | 37 | "authfs_aidl_interface-rust", |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 38 | "compos_aidl_interface-rust", |
| 39 | "libandroid_logger", |
| 40 | "libanyhow", |
Victor Hsieh | a7d3786 | 2021-06-04 17:14:20 -0700 | [diff] [blame] | 41 | "libbinder_rpc_unstable_bindgen", |
| 42 | "libbinder_rs", |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 43 | "libclap", |
Alan Stokes | 17fd36a | 2021-09-06 17:22:37 +0100 | [diff] [blame] | 44 | "libcompos_common", |
Alan Stokes | f03d81a | 2021-09-20 17:44:03 +0100 | [diff] [blame^] | 45 | "libenv_logger", |
Victor Hsieh | 6e34038 | 2021-08-13 12:18:02 -0700 | [diff] [blame] | 46 | "liblibc", |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 47 | "liblog_rust", |
| 48 | "libminijail_rust", |
Victor Hsieh | a64194b | 2021-08-06 17:43:36 -0700 | [diff] [blame] | 49 | "libring", |
| 50 | "libscopeguard", |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 51 | ], |
Victor Hsieh | 3cc5b32 | 2021-05-18 12:44:45 -0700 | [diff] [blame] | 52 | prefer_rlib: true, |
Victor Hsieh | a7d3786 | 2021-06-04 17:14:20 -0700 | [diff] [blame] | 53 | shared_libs: [ |
| 54 | "libbinder_rpc_unstable", |
| 55 | ], |
Victor Hsieh | b5f465a | 2021-05-11 13:45:15 -0700 | [diff] [blame] | 56 | apex_available: [ |
| 57 | "com.android.compos", |
| 58 | ], |
Victor Hsieh | 272aa24 | 2021-02-01 14:19:20 -0800 | [diff] [blame] | 59 | } |