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 "*.cpp", 17 ], 18 init_rc: ["android.hardware.automotive.evs@1.1-service.rc"], 19 shared_libs: [ 20 "android.frameworks.automotive.display@1.0", 21 "android.hardware.automotive.evs@1.0", 22 "android.hardware.automotive.evs@1.1", 23 "android.hardware.camera.device@3.3", 24 "android.hardware.graphics.bufferqueue@1.0", 25 "android.hardware.graphics.bufferqueue@2.0", 26 "android.hidl.allocator@1.0", 27 "android.hidl.memory@1.0", 28 "android.hidl.token@1.0-utils", 29 "libEGL", 30 "libGLESv2", 31 "libbase", 32 "libbinder", 33 "libbufferqueueconverter", 34 "libcamera_metadata", 35 "libhardware", 36 "libhidlbase", 37 "libhidlmemory", 38 "liblog", 39 "libtinyxml2", 40 "libui", 41 "libutils", 42 ], 43 cflags: [ 44 "-O0", 45 "-g", 46 "-DLOG_TAG=\"MockEvsDriver\"", 47 "-DGL_GLEXT_PROTOTYPES", 48 "-DEGL_EGLEXT_PROTOTYPES", 49 ], 50 include_dirs: [ 51 "frameworks/native/include/", 52 ], 53 required: [ 54 "evs_default_configuration.xml", 55 ], 56 vintf_fragments: [ 57 "manifest_android.hardware.automotive.evs@1.1-service.xml", 58 ], 59} 60 61prebuilt_etc { 62 name: "evs_default_configuration.xml", 63 soc_specific: true, 64 src: "resources/evs_default_configuration.xml", 65 sub_dir: "automotive/evs", 66} 67