nfc: Android.mk -> Android.bp
am: 238dd8a83c
Change-Id: Ib9e26069a58e86d4ab94f2ea5afde7ae1fd8dcc4
This commit is contained in:
commit
570e021780
2 changed files with 21 additions and 25 deletions
|
@ -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",
|
||||
],
|
||||
|
||||
}
|
||||
|
|
|
@ -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)
|
Loading…
Reference in a new issue