xref: /aosp_15_r20/hardware/interfaces/graphics/allocator/2.0/default/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
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: "[email protected]",
13    defaults: ["hidl_defaults"],
14    vendor: true,
15    relative_install_path: "hw",
16    srcs: ["passthrough.cpp"],
17    header_libs: [
18        "[email protected]",
19    ],
20    shared_libs: [
21        "[email protected]",
22        "libbase",
23        "libcutils",
24        "libhardware",
25        "libhidlbase",
26        "liblog",
27        "libutils",
28    ],
29    cflags: ["-DLOG_TAG=\"AllocatorHal\""],
30}
31
32cc_binary {
33    name: "[email protected]",
34    defaults: ["hidl_defaults"],
35    proprietary: true,
36    relative_install_path: "hw",
37    srcs: ["service.cpp"],
38    init_rc: ["[email protected]"],
39
40    shared_libs: [
41        "[email protected]",
42        "libhidlbase",
43        "liblog",
44        "libutils",
45    ],
46}
47