From b6d8853abeba3fd79306027c242a64f92aa1973d Mon Sep 17 00:00:00 2001 From: Keun Soo Yim Date: Mon, 10 Oct 2016 17:18:29 -0700 Subject: [PATCH] VTS driver build target for NFC 1.0 Test: mma Change-Id: Icc88b2bf79f2d2f23e908389c1e9d4994b439602 --- nfc/1.0/vts/Android.mk | 39 +++++++++++++++++++++++++++++++++++++++ nfc/1.0/vts/types.vts | 1 - 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/nfc/1.0/vts/Android.mk b/nfc/1.0/vts/Android.mk index 15084fca86..6f63e03e24 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 fb1d414669..bd5d1f470e 100644 --- a/nfc/1.0/vts/types.vts +++ b/nfc/1.0/vts/types.vts @@ -5,7 +5,6 @@ component_name: "types" package: "android.hardware.nfc" - attribute: { name: "nfc_event_t" type: TYPE_ENUM