summaryrefslogtreecommitdiff
path: root/automotive/evs/1.1/default/Android.bp
blob: 4c08ef364ebe130f4413f6c52b197257ee7d58ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "hardware_interfaces_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["hardware_interfaces_license"],
}

cc_binary {
    name: "android.hardware.automotive.evs@1.1-service",
    defaults: ["hidl_defaults"],
    proprietary: true,
    relative_install_path: "hw",
    srcs: [
        "*.cpp",
    ],
    init_rc: ["android.hardware.automotive.evs@1.1-service.rc"],
    shared_libs: [
        "android.frameworks.automotive.display@1.0",
        "android.hardware.automotive.evs@1.0",
        "android.hardware.automotive.evs@1.1",
        "android.hardware.camera.device@3.3",
        "android.hardware.graphics.bufferqueue@1.0",
        "android.hardware.graphics.bufferqueue@2.0",
        "android.hidl.allocator@1.0",
        "android.hidl.memory@1.0",
        "android.hidl.token@1.0-utils",
        "libEGL",
        "libGLESv2",
        "libbase",
        "libbinder",
        "libbufferqueueconverter",
        "libcamera_metadata",
        "libhardware",
        "libhidlbase",
        "libhidlmemory",
        "liblog",
        "libtinyxml2",
        "libui",
        "libutils",
    ],
    cflags: [
        "-O0",
        "-g",
        "-DLOG_TAG=\"MockEvsDriver\"",
        "-DGL_GLEXT_PROTOTYPES",
        "-DEGL_EGLEXT_PROTOTYPES",
    ],
    include_dirs: [
        "frameworks/native/include/",
    ],
    required: [
        "evs_default_configuration.xml",
    ],
    vintf_fragments: [
        "manifest_android.hardware.automotive.evs@1.1-service.xml",
    ],
}

prebuilt_etc {
    name: "evs_default_configuration.xml",
    soc_specific: true,
    src: "resources/evs_default_configuration.xml",
    sub_dir: "automotive/evs",
}