Bob Badour | 56786ac | 2021-02-25 15:24:36 -0800 | [diff] [blame] | 1 | package { |
Ronish Kalia | b5dd44b | 2024-02-14 14:32:32 +0000 | [diff] [blame] | 2 | default_team: "trendy_team_media_framework_audio", |
Bob Badour | 56786ac | 2021-02-25 15:24:36 -0800 | [diff] [blame] | 3 | // See: http://go/android-license-faq |
| 4 | // A large-scale-change added 'default_applicable_licenses' to import |
| 5 | // all of the 'license_kinds' from "frameworks_av_license" |
| 6 | // to get the below license kinds: |
| 7 | // SPDX-license-identifier-Apache-2.0 |
| 8 | default_applicable_licenses: ["frameworks_av_license"], |
| 9 | } |
| 10 | |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 11 | aidl_interface { |
| 12 | name: "shared-file-region-aidl", |
| 13 | unstable: true, |
Ytai Ben-Tsvi | 4dfeb62 | 2020-11-02 12:47:30 -0800 | [diff] [blame] | 14 | host_supported: true, |
| 15 | vendor_available: true, |
| 16 | double_loadable: true, |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 17 | local_include_dir: "aidl", |
| 18 | srcs: [ |
| 19 | "aidl/android/media/SharedFileRegion.aidl", |
| 20 | ], |
| 21 | } |
| 22 | |
| 23 | cc_library { |
| 24 | name: "libshmemcompat", |
| 25 | export_include_dirs: ["include"], |
| 26 | srcs: ["ShmemCompat.cpp"], |
Ytai Ben-Tsvi | 71109da | 2020-11-03 15:11:13 -0800 | [diff] [blame] | 27 | host_supported: true, |
| 28 | vendor_available: true, |
| 29 | double_loadable: true, |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 30 | shared_libs: [ |
| 31 | "libbinder", |
| 32 | "libshmemutil", |
| 33 | "libutils", |
Jeongik Cha | 7f2285b | 2021-01-28 00:49:46 +0900 | [diff] [blame] | 34 | "shared-file-region-aidl-cpp", |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 35 | ], |
| 36 | export_shared_lib_headers: [ |
| 37 | "libbinder", |
| 38 | "libutils", |
Jeongik Cha | 7f2285b | 2021-01-28 00:49:46 +0900 | [diff] [blame] | 39 | "shared-file-region-aidl-cpp", |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 40 | ], |
Ytai Ben-Tsvi | 8a9048f | 2020-11-30 14:19:26 -0800 | [diff] [blame] | 41 | target: { |
| 42 | darwin: { |
| 43 | enabled: false, |
| 44 | }, |
| 45 | }, |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 46 | } |
| 47 | |
| 48 | cc_library { |
| 49 | name: "libshmemutil", |
| 50 | export_include_dirs: ["include"], |
| 51 | srcs: ["ShmemUtil.cpp"], |
Ytai Ben-Tsvi | 71109da | 2020-11-03 15:11:13 -0800 | [diff] [blame] | 52 | host_supported: true, |
| 53 | vendor_available: true, |
| 54 | double_loadable: true, |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 55 | shared_libs: [ |
Jeongik Cha | 7f2285b | 2021-01-28 00:49:46 +0900 | [diff] [blame] | 56 | "shared-file-region-aidl-cpp", |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 57 | ], |
| 58 | export_shared_lib_headers: [ |
Jeongik Cha | 7f2285b | 2021-01-28 00:49:46 +0900 | [diff] [blame] | 59 | "shared-file-region-aidl-cpp", |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 60 | ], |
Ytai Ben-Tsvi | 8a9048f | 2020-11-30 14:19:26 -0800 | [diff] [blame] | 61 | target: { |
| 62 | darwin: { |
| 63 | enabled: false, |
| 64 | }, |
| 65 | }, |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 66 | } |
| 67 | |
| 68 | cc_test { |
| 69 | name: "shmemTest", |
| 70 | srcs: ["ShmemTest.cpp"], |
| 71 | shared_libs: [ |
| 72 | "libbinder", |
Ytai Ben-Tsvi | e817f39 | 2020-10-20 09:16:19 -0700 | [diff] [blame] | 73 | "libcutils", |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 74 | "libshmemcompat", |
| 75 | "libshmemutil", |
| 76 | "libutils", |
Jeongik Cha | 7f2285b | 2021-01-28 00:49:46 +0900 | [diff] [blame] | 77 | "shared-file-region-aidl-cpp", |
Ytai Ben-Tsvi | 37934a2 | 2020-08-11 15:53:04 -0700 | [diff] [blame] | 78 | ], |
| 79 | test_suites: ["device-tests"], |
| 80 | } |