VTS driver build target for NFC 1.0
Test: mma
Change-Id: Icc88b2bf79f2d2f23e908389c1e9d4994b439602
(cherry picked from commit dceef4931685e8556aa8f1127c45d745099b7d96)
diff --git a/nfc/1.0/vts/Android.mk b/nfc/1.0/vts/Android.mk
index 15084fc..6f63e03 100644
--- a/nfc/1.0/vts/Android.mk
+++ b/nfc/1.0/vts/Android.mk
@@ -16,6 +16,45 @@
LOCAL_PATH := $(call my-dir)
+# build VTS driver for Nfc v1.0.
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libvts_driver_hidl_nfc@1.0
+
+LOCAL_SRC_FILES := \
+ Nfc.vts \
+ NfcClientCallback.vts \
+ types.vts \
+
+LOCAL_C_INCLUDES := \
+ android.hardware.nfc@1.0 \
+ system/core/base/include \
+ system/core/include \
+
+LOCAL_SHARED_LIBRARIES += \
+ android.hardware.nfc@1.0 \
+ libbase \
+ libutils \
+ libcutils \
+ liblog \
+ libhidl \
+ libhwbinder \
+ libprotobuf-cpp-full \
+ libvts_common \
+ libvts_datatype \
+ libvts_measurement \
+ libvts_multidevice_proto \
+
+LOCAL_CFLAGS += -DENABLE_TREBLE
+
+LOCAL_STATIC_LIBRARIES := \
+
+LOCAL_PROTOC_OPTIMIZE_TYPE := full
+
+LOCAL_MULTILIB := both
+
+include $(BUILD_SHARED_LIBRARY)
+
# build profiler for Nfc.
include $(CLEAR_VARS)
diff --git a/nfc/1.0/vts/types.vts b/nfc/1.0/vts/types.vts
index fb1d414..bd5d1f4 100644
--- a/nfc/1.0/vts/types.vts
+++ b/nfc/1.0/vts/types.vts
@@ -5,7 +5,6 @@
package: "android.hardware.nfc"
-
attribute: {
name: "nfc_event_t"
type: TYPE_ENUM