xref: /aosp_15_r20/hardware/interfaces/automotive/evs/1.1/default/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1package {
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
10cc_binary {
11    name: "[email protected]",
12    defaults: ["hidl_defaults"],
13    proprietary: true,
14    relative_install_path: "hw",
15    srcs: [
16        ":libgui_frame_event_aidl",
17        "*.cpp",
18    ],
19    init_rc: ["[email protected]"],
20    shared_libs: [
21        "[email protected]",
22        "[email protected]",
23        "[email protected]",
24        "[email protected]",
25        "[email protected]",
26        "[email protected]",
27        "[email protected]",
28        "[email protected]",
29        "[email protected]",
30        "libEGL",
31        "libGLESv2",
32        "libbase",
33        "libbinder",
34        "libbufferqueueconverter",
35        "libcamera_metadata",
36        "libhardware",
37        "libhidlbase",
38        "libhidlmemory",
39        "liblog",
40        "libtinyxml2",
41        "libui",
42        "libutils",
43    ],
44    cflags: [
45        "-O0",
46        "-g",
47        "-DLOG_TAG=\"MockEvsDriver\"",
48        "-DGL_GLEXT_PROTOTYPES",
49        "-DEGL_EGLEXT_PROTOTYPES",
50    ],
51    include_dirs: [
52        "frameworks/native/include/",
53    ],
54    required: [
55        "evs_default_configuration.xml",
56    ],
57    vintf_fragments: [
58        "[email protected]",
59    ],
60}
61
62prebuilt_etc {
63    name: "evs_default_configuration.xml",
64    soc_specific: true,
65    src: "resources/evs_default_configuration.xml",
66    sub_dir: "automotive/evs",
67}
68