Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 1 | aidl_interface { |
| 2 | name: "shared-file-region-aidl", |
| 3 | unstable: true, |
| 4 | local_include_dir: "aidl", |
| 5 | srcs: [ |
| 6 | "aidl/android/media/SharedFileRegion.aidl", |
| 7 | ], |
| 8 | } |
| 9 | |
| 10 | cc_library { |
| 11 | name: "libshmemcompat", |
| 12 | export_include_dirs: ["include"], |
| 13 | srcs: ["ShmemCompat.cpp"], |
| 14 | shared_libs: [ |
| 15 | "libbinder", |
| 16 | "libshmemutil", |
| 17 | "libutils", |
Jeongik Cha | bde90a4 | 2020-08-29 02:09:08 +0900 | [diff] [blame] | 18 | "shared-file-region-aidl-unstable-cpp", |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 19 | ], |
| 20 | export_shared_lib_headers: [ |
| 21 | "libbinder", |
| 22 | "libutils", |
Jeongik Cha | bde90a4 | 2020-08-29 02:09:08 +0900 | [diff] [blame] | 23 | "shared-file-region-aidl-unstable-cpp", |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 24 | ], |
| 25 | } |
| 26 | |
| 27 | cc_library { |
| 28 | name: "libshmemutil", |
| 29 | export_include_dirs: ["include"], |
| 30 | srcs: ["ShmemUtil.cpp"], |
| 31 | shared_libs: [ |
Jeongik Cha | bde90a4 | 2020-08-29 02:09:08 +0900 | [diff] [blame] | 32 | "shared-file-region-aidl-unstable-cpp", |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 33 | ], |
| 34 | export_shared_lib_headers: [ |
Jeongik Cha | bde90a4 | 2020-08-29 02:09:08 +0900 | [diff] [blame] | 35 | "shared-file-region-aidl-unstable-cpp", |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 36 | ], |
| 37 | } |
| 38 | |
| 39 | cc_test { |
| 40 | name: "shmemTest", |
| 41 | srcs: ["ShmemTest.cpp"], |
| 42 | shared_libs: [ |
| 43 | "libbinder", |
Ytai Ben-Tsvi | e817f39 | 2020-10-20 09:16:19 -0700 | [diff] [blame^] | 44 | "libcutils", |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 45 | "libshmemcompat", |
| 46 | "libshmemutil", |
| 47 | "libutils", |
Jeongik Cha | bde90a4 | 2020-08-29 02:09:08 +0900 | [diff] [blame] | 48 | "shared-file-region-aidl-unstable-cpp", |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 49 | ], |
| 50 | test_suites: ["device-tests"], |
| 51 | } |