From 731531d87f549cc220baaf9586834f1a0c56cf32 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Mon, 26 Jun 2017 19:22:03 +0000 Subject: [PATCH] Revert "EVS: Android.bp -> Android.mk" This reverts commit ee4f923b319180579c96161c1e23f673bebfed85. Change-Id: I8b8490b3e828a9a31af8f6f823d9c70e1c11c9c5 --- automotive/Android.bp | 1 + automotive/evs/1.0/default/Android.bp | 31 +++++++++++++++++++++++++++ automotive/evs/1.0/default/Android.mk | 29 ------------------------- 3 files changed, 32 insertions(+), 29 deletions(-) create mode 100644 automotive/evs/1.0/default/Android.bp delete mode 100644 automotive/evs/1.0/default/Android.mk 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)