Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54da018e authored by Zhuoyao Zhang's avatar Zhuoyao Zhang Committed by android-build-merger
Browse files

Update Android.bp of Nfc with make rule for profiler. am: dcfe5d66

am: c97b2f4a

Change-Id: I1469832e68cccd6047c9fb80641f1733325b9703
parents ff56c134 c97b2f4a
Loading
Loading
Loading
Loading
+1 −96
Original line number Diff line number Diff line
@@ -16,99 +16,4 @@

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_SHARED_LIBRARIES += \
  android.hardware.nfc@1.0 \
  libbase \
  libutils \
  libcutils \
  liblog \
  libhidlbase \
  libhidltransport \
  libhwbinder \
  libprotobuf-cpp-full \
  libvts_common \
  libvts_datatype \
  libvts_measurement \
  libvts_multidevice_proto \

LOCAL_PROTOC_OPTIMIZE_TYPE := full

LOCAL_MULTILIB := both

include $(BUILD_SHARED_LIBRARY)

# build profiler for Nfc.
include $(CLEAR_VARS)

LOCAL_MODULE := libvts_profiler_hidl_nfc@1.0

LOCAL_SRC_FILES := \
   Nfc.vts \
   types.vts \

LOCAL_C_INCLUDES += \
  test/vts/drivers/libprofiling \

LOCAL_VTS_MODE := PROFILER

LOCAL_SHARED_LIBRARIES := \
   android.hardware.nfc@1.0 \
   libbase \
   libcutils \
   liblog \
   libhidlbase \
   libhidltransport \
   libhwbinder \
   libprotobuf-cpp-full \
   libvts_common \
   libvts_multidevice_proto \
   libvts_profiling \
   libutils \

LOCAL_PROTOC_OPTIMIZE_TYPE := full

include $(BUILD_SHARED_LIBRARY)

# build profiler for NfcClientCallback.
include $(CLEAR_VARS)

LOCAL_MODULE := libvts_profiler_hidl_nfc_client_callback_@1.0

LOCAL_SRC_FILES := \
   NfcClientCallback.vts \
   types.vts \

LOCAL_C_INCLUDES += \
  test/vts/drivers/libprofiling \

LOCAL_VTS_MODE := PROFILER

LOCAL_SHARED_LIBRARIES := \
   android.hardware.nfc@1.0 \
   libbase \
   libcutils \
   liblog \
   libhidlbase \
   libhidltransport \
   libhwbinder \
   libprotobuf-cpp-full \
   libvts_common \
   libvts_multidevice_proto \
   libvts_profiling \
   libutils \

LOCAL_PROTOC_OPTIMIZE_TYPE := full

include $(BUILD_SHARED_LIBRARY)

include $(call all-makefiles-under,$(LOCAL_PATH))
include $(call all-subdir-makefiles)