xref: /aosp_15_r20/external/drm_hwcomposer/tests/Android.bp (revision 0a9764fe0a15e71ebbeb85e87e10990c23aab47f)
1*0a9764feSAndroid Build Coastguard Workercc_library_shared {
2*0a9764feSAndroid Build Coastguard Worker    name: "hwcomposer.filegroups_build_test",
3*0a9764feSAndroid Build Coastguard Worker    defaults: ["hwcomposer.drm_defaults"],
4*0a9764feSAndroid Build Coastguard Worker
5*0a9764feSAndroid Build Coastguard Worker    srcs: [
6*0a9764feSAndroid Build Coastguard Worker        ":drm_hwcomposer_common",
7*0a9764feSAndroid Build Coastguard Worker        ":drm_hwcomposer_platformhisi",
8*0a9764feSAndroid Build Coastguard Worker        ":drm_hwcomposer_platformimagination",
9*0a9764feSAndroid Build Coastguard Worker        ":drm_hwcomposer_platformmediatek",
10*0a9764feSAndroid Build Coastguard Worker        ":drm_hwcomposer_platformmeson",
11*0a9764feSAndroid Build Coastguard Worker    ],
12*0a9764feSAndroid Build Coastguard Worker
13*0a9764feSAndroid Build Coastguard Worker    local_include_dirs: [
14*0a9764feSAndroid Build Coastguard Worker        "test_include",
15*0a9764feSAndroid Build Coastguard Worker    ],
16*0a9764feSAndroid Build Coastguard Worker
17*0a9764feSAndroid Build Coastguard Worker    cppflags: [
18*0a9764feSAndroid Build Coastguard Worker        "-DDISABLE_LEGACY_GETTERS",
19*0a9764feSAndroid Build Coastguard Worker    ],
20*0a9764feSAndroid Build Coastguard Worker}
21*0a9764feSAndroid Build Coastguard Worker
22*0a9764feSAndroid Build Coastguard Workerpackage {
23*0a9764feSAndroid Build Coastguard Worker    // See: http://go/android-license-faq
24*0a9764feSAndroid Build Coastguard Worker    // A large-scale-change added 'default_applicable_licenses' to import
25*0a9764feSAndroid Build Coastguard Worker    // all of the 'license_kinds' from "external_drm_hwcomposer_license"
26*0a9764feSAndroid Build Coastguard Worker    // to get the below license kinds:
27*0a9764feSAndroid Build Coastguard Worker    //   SPDX-license-identifier-Apache-2.0
28*0a9764feSAndroid Build Coastguard Worker    default_applicable_licenses: ["external_drm_hwcomposer_license"],
29*0a9764feSAndroid Build Coastguard Worker}
30*0a9764feSAndroid Build Coastguard Worker
31*0a9764feSAndroid Build Coastguard Worker// Tool for listening and dumping uevents
32*0a9764feSAndroid Build Coastguard Workercc_test {
33*0a9764feSAndroid Build Coastguard Worker    name: "hwc-drm-uevent-print",
34*0a9764feSAndroid Build Coastguard Worker
35*0a9764feSAndroid Build Coastguard Worker    srcs: [
36*0a9764feSAndroid Build Coastguard Worker        ":drm_hwcomposer_fd",
37*0a9764feSAndroid Build Coastguard Worker        "uevent_print.cpp",
38*0a9764feSAndroid Build Coastguard Worker    ],
39*0a9764feSAndroid Build Coastguard Worker
40*0a9764feSAndroid Build Coastguard Worker    vendor: true,
41*0a9764feSAndroid Build Coastguard Worker    header_libs: [
42*0a9764feSAndroid Build Coastguard Worker        "drm_hwcomposer_headers",
43*0a9764feSAndroid Build Coastguard Worker        "libhardware_headers",
44*0a9764feSAndroid Build Coastguard Worker    ],
45*0a9764feSAndroid Build Coastguard Worker    shared_libs: ["liblog"],
46*0a9764feSAndroid Build Coastguard Worker}
47