• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: "android.hardware.automotive.evs@1.1-service",
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: ["android.hardware.automotive.evs@1.1-service.rc"],
20    shared_libs: [
21        "android.frameworks.automotive.display@1.0",
22        "android.hardware.automotive.evs@1.0",
23        "android.hardware.automotive.evs@1.1",
24        "android.hardware.camera.device@3.3",
25        "android.hardware.graphics.bufferqueue@1.0",
26        "android.hardware.graphics.bufferqueue@2.0",
27        "android.hidl.allocator@1.0",
28        "android.hidl.memory@1.0",
29        "android.hidl.token@1.0-utils",
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        "manifest_android.hardware.automotive.evs@1.1-service.xml",
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