• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package {
2    default_team: "trendy_team_android_core_graphics_stack",
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 "hardware_interfaces_license"
6    // to get the below license kinds:
7    //   SPDX-license-identifier-Apache-2.0
8    default_applicable_licenses: ["hardware_interfaces_license"],
9}
10
11cc_library_shared {
12    name: "android.hardware.graphics.allocator@2.0-impl",
13    defaults: ["hidl_defaults"],
14    vendor: true,
15    relative_install_path: "hw",
16    srcs: ["passthrough.cpp"],
17    header_libs: [
18        "android.hardware.graphics.allocator@2.0-passthrough",
19    ],
20    shared_libs: [
21        "android.hardware.graphics.allocator@2.0",
22        "libbase",
23        "libcutils",
24        "libhardware",
25        "libhidlbase",
26        "liblog",
27        "libutils",
28    ],
29    cflags: ["-DLOG_TAG=\"AllocatorHal\""],
30}
31
32cc_binary {
33    name: "android.hardware.graphics.allocator@2.0-service",
34    defaults: ["hidl_defaults"],
35    proprietary: true,
36    relative_install_path: "hw",
37    srcs: ["service.cpp"],
38    init_rc: ["android.hardware.graphics.allocator@2.0-service.rc"],
39
40    shared_libs: [
41        "android.hardware.graphics.allocator@2.0",
42        "libhidlbase",
43        "liblog",
44        "libutils",
45    ],
46}
47