OSDN Git Service

VTS driver build target for NFC 1.0
authorKeun Soo Yim <yim@google.com>
Tue, 11 Oct 2016 00:18:29 +0000 (17:18 -0700)
committerRuchi Kandoi <kandoiruchi@google.com>
Wed, 11 Jan 2017 02:58:53 +0000 (18:58 -0800)
Test: mma
Change-Id: Icc88b2bf79f2d2f23e908389c1e9d4994b439602
(cherry picked from commit dceef4931685e8556aa8f1127c45d745099b7d96)

nfc/1.0/vts/Android.mk
nfc/1.0/vts/types.vts

index 15084fc..6f63e03 100644 (file)
 
 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)
 
index fb1d414..bd5d1f4 100644 (file)
@@ -5,7 +5,6 @@ component_name: "types"
 
 package: "android.hardware.nfc"
 
-
 attribute: {
   name: "nfc_event_t"
   type: TYPE_ENUM