diff --git a/automotive/Android.bp b/automotive/Android.bp index be588299e3..aec8865f89 100644 --- a/automotive/Android.bp +++ b/automotive/Android.bp @@ -1,6 +1,7 @@ // This is an autogenerated file, do not edit. subdirs = [ "evs/1.0", + "evs/1.0/default", "evs/1.0/vts/functional", "vehicle/2.0", "vehicle/2.1", diff --git a/automotive/evs/1.0/default/Android.bp b/automotive/evs/1.0/default/Android.bp new file mode 100644 index 0000000000..2574e860b2 --- /dev/null +++ b/automotive/evs/1.0/default/Android.bp @@ -0,0 +1,31 @@ +cc_binary { + name: "android.hardware.automotive.evs@1.0-service", + defaults: ["hidl_defaults"], + proprietary: true, + relative_install_path: "hw", + srcs: [ + "service.cpp", + "EvsCamera.cpp", + "EvsEnumerator.cpp", + "EvsDisplay.cpp" + ], + init_rc: ["android.hardware.automotive.evs@1.0-service.rc"], + + shared_libs: [ + "android.hardware.automotive.evs@1.0", + "libui", + "libbase", + "libbinder", + "libcutils", + "libhardware", + "libhidlbase", + "libhidltransport", + "liblog", + "libutils", + ], + + cflags: [ + "-O0", + "-g", + ], +} diff --git a/automotive/evs/1.0/default/Android.mk b/automotive/evs/1.0/default/Android.mk deleted file mode 100644 index 0ee70711d1..0000000000 --- a/automotive/evs/1.0/default/Android.mk +++ /dev/null @@ -1,29 +0,0 @@ -LOCAL_PATH:=$(call my-dir) - -include $(CLEAR_VARS) -LOCAL_MODULE := android.hardware.automotive.evs@1.0-service -LOCAL_INIT_RC := android.hardware.automotive.evs@1.0-service.rc -LOCAL_MODULE_RELATIVE_PATH := hw -LOCAL_VENDOR_MODULE := true - -LOCAL_SRC_FILES := \ - service.cpp \ - EvsCamera.cpp \ - EvsEnumerator.cpp \ - EvsDisplay.cpp \ - -LOCAL_SHARED_LIBRARIES := \ - android.hardware.automotive.evs@1.0 \ - libui \ - libbase \ - libbinder \ - libcutils \ - libhardware \ - libhidlbase \ - libhidltransport \ - liblog \ - libutils \ - -LOCAL_CFLAGS := -O0 -g - -include $(BUILD_EXECUTABLE)