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

Commit dcfe5d66 authored by Zhuoyao Zhang's avatar Zhuoyao Zhang Committed by Ruchi Kandoi
Browse files

Update Android.bp of Nfc with make rule for profiler.

Bug:31930023
Test: mma
Change-Id: I4e159d4f0b37fdd4738cdee354c4fe05406baa02
(cherry picked from commit 42a6dddd)
parent 63ff7347
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)