blob: 4d17dc3a1b5ab857b5d1f521ccb983a169dfbf53 [file] [log] [blame]
Bob Badourc22b35b2021-02-23 14:26:20 -08001package {
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 Wu109571a2016-09-05 11:46:36 +080010cc_library_shared {
11 name: "android.hardware.graphics.allocator@2.0-impl",
Steven Moreland48c52242017-03-08 16:11:32 -080012 defaults: ["hidl_defaults"],
Chia-I Wub5116452017-12-15 14:41:42 -080013 vendor: true,
Chia-I Wu109571a2016-09-05 11:46:36 +080014 relative_install_path: "hw",
Chia-I Wu699df212017-12-15 14:58:58 -080015 srcs: ["passthrough.cpp"],
Chia-I Wu699df212017-12-15 14:58:58 -080016 header_libs: [
Chia-I Wu422b94e2018-01-19 15:04:17 -080017 "android.hardware.graphics.allocator@2.0-passthrough",
Chia-I Wu699df212017-12-15 14:58:58 -080018 ],
Chia-I Wu109571a2016-09-05 11:46:36 +080019 shared_libs: [
20 "android.hardware.graphics.allocator@2.0",
21 "libbase",
22 "libcutils",
23 "libhardware",
Yifan Hong6b920e42016-11-16 14:17:58 -080024 "libhidlbase",
Chia-I Wu109571a2016-09-05 11:46:36 +080025 "liblog",
26 "libutils",
27 ],
Chia-I Wu422b94e2018-01-19 15:04:17 -080028 cflags: ["-DLOG_TAG=\"AllocatorHal\""],
Chia-I Wu109571a2016-09-05 11:46:36 +080029}
30
Chia-I Wu4c0d3972016-10-12 06:11:51 -070031cc_binary {
32 name: "android.hardware.graphics.allocator@2.0-service",
Steven Moreland48c52242017-03-08 16:11:32 -080033 defaults: ["hidl_defaults"],
Steven Morelanda0da1a12017-02-13 09:59:06 -080034 proprietary: true,
Chia-I Wu4c0d3972016-10-12 06:11:51 -070035 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 Hong6b920e42016-11-16 14:17:58 -080041 "libhidlbase",
Chia-I Wu4c0d3972016-10-12 06:11:51 -070042 "liblog",
43 "libutils",
44 ],
45}