nfc: Android.mk -> Android.bp am: 238dd8a83c

am: 570e021780

Change-Id: Iac5a7ceb249c16540ec2f7201fa01bad4dbfe7de
This commit is contained in:
Steven Moreland 2017-04-29 03:02:26 +00:00 committed by android-build-merger
commit df032be4c9
2 changed files with 21 additions and 25 deletions

View file

@ -16,3 +16,24 @@ cc_library_shared {
"android.hardware.nfc@1.0",
],
}
cc_binary {
name: "android.hardware.nfc@1.0-service",
relative_install_path: "hw",
proprietary: true,
init_rc: ["android.hardware.nfc@1.0-service.rc"],
srcs: ["service.cpp"],
shared_libs: [
"liblog",
"libcutils",
"libdl",
"libbase",
"libutils",
"libhardware",
"libhidlbase",
"libhidltransport",
"android.hardware.nfc@1.0",
],
}

View file

@ -1,25 +0,0 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE := android.hardware.nfc@1.0-service
LOCAL_INIT_RC := android.hardware.nfc@1.0-service.rc
LOCAL_SRC_FILES := \
service.cpp \
LOCAL_SHARED_LIBRARIES := \
liblog \
libcutils \
libdl \
libbase \
libutils \
libhardware \
LOCAL_SHARED_LIBRARIES += \
libhidlbase \
libhidltransport \
android.hardware.nfc@1.0 \
include $(BUILD_EXECUTABLE)