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