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