Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame] | 1 | package { |
| 2 | // See: http://go/android-license-faq |
| 3 | // A large-scale-change added 'default_applicable_licenses' to import |
| 4 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 5 | // to get the below license kinds: |
| 6 | // SPDX-license-identifier-Apache-2.0 |
| 7 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 8 | } |
| 9 | |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 10 | cc_library_shared { |
| 11 | name: "android.hardware.graphics.allocator@2.0-impl", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 12 | defaults: ["hidl_defaults"], |
Chia-I Wu | b511645 | 2017-12-15 14:41:42 -0800 | [diff] [blame] | 13 | vendor: true, |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 14 | relative_install_path: "hw", |
Chia-I Wu | 699df21 | 2017-12-15 14:58:58 -0800 | [diff] [blame] | 15 | srcs: ["passthrough.cpp"], |
Chia-I Wu | 699df21 | 2017-12-15 14:58:58 -0800 | [diff] [blame] | 16 | header_libs: [ |
Chia-I Wu | 422b94e | 2018-01-19 15:04:17 -0800 | [diff] [blame] | 17 | "android.hardware.graphics.allocator@2.0-passthrough", |
Chia-I Wu | 699df21 | 2017-12-15 14:58:58 -0800 | [diff] [blame] | 18 | ], |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 19 | shared_libs: [ |
| 20 | "android.hardware.graphics.allocator@2.0", |
| 21 | "libbase", |
| 22 | "libcutils", |
| 23 | "libhardware", |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 24 | "libhidlbase", |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 25 | "liblog", |
| 26 | "libutils", |
| 27 | ], |
Chia-I Wu | 422b94e | 2018-01-19 15:04:17 -0800 | [diff] [blame] | 28 | cflags: ["-DLOG_TAG=\"AllocatorHal\""], |
Chia-I Wu | 109571a | 2016-09-05 11:46:36 +0800 | [diff] [blame] | 29 | } |
| 30 | |
Chia-I Wu | 4c0d397 | 2016-10-12 06:11:51 -0700 | [diff] [blame] | 31 | cc_binary { |
| 32 | name: "android.hardware.graphics.allocator@2.0-service", |
Steven Moreland | 48c5224 | 2017-03-08 16:11:32 -0800 | [diff] [blame] | 33 | defaults: ["hidl_defaults"], |
Steven Moreland | a0da1a1 | 2017-02-13 09:59:06 -0800 | [diff] [blame] | 34 | proprietary: true, |
Chia-I Wu | 4c0d397 | 2016-10-12 06:11:51 -0700 | [diff] [blame] | 35 | relative_install_path: "hw", |
| 36 | srcs: ["service.cpp"], |
| 37 | init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"], |
| 38 | |
| 39 | shared_libs: [ |
| 40 | "android.hardware.graphics.allocator@2.0", |
Yifan Hong | 6b920e4 | 2016-11-16 14:17:58 -0800 | [diff] [blame] | 41 | "libhidlbase", |
Chia-I Wu | 4c0d397 | 2016-10-12 06:11:51 -0700 | [diff] [blame] | 42 | "liblog", |
| 43 | "libutils", |
| 44 | ], |
| 45 | } |