Loading nfc/1.0/Android.bp +62 −0 Original line number Diff line number Diff line Loading @@ -62,3 +62,65 @@ cc_library_shared { "android.hidl.base@1.0", ], } genrule { name: "android.hardware.nfc.vts.driver@1.0_genc++", tools: ["hidl-gen", "vtsc"], cmd: "$(location hidl-gen) -o $(genDir) -L vts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/", srcs: [ "types.hal", "INfc.hal", "INfcClientCallback.hal", ], out: [ "android/hardware/nfc/1.0/types.vts.cpp", "android/hardware/nfc/1.0/Nfc.vts.cpp", "android/hardware/nfc/1.0/NfcClientCallback.vts.cpp", ], } genrule { name: "android.hardware.nfc.vts.driver@1.0_genc++_headers", tools: ["hidl-gen", "vtsc"], cmd: "$(location hidl-gen) -o $(genDir) -L vts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/", srcs: [ "types.hal", "INfc.hal", "INfcClientCallback.hal", ], out: [ "android/hardware/nfc/1.0/types.vts.h", "android/hardware/nfc/1.0/Nfc.vts.h", "android/hardware/nfc/1.0/NfcClientCallback.vts.h", ], } cc_library_shared { name: "android.hardware.nfc.vts.driver@1.0", generated_sources: ["android.hardware.nfc.vts.driver@1.0_genc++"], generated_headers: ["android.hardware.nfc.vts.driver@1.0_genc++_headers"], export_generated_headers: ["android.hardware.nfc.vts.driver@1.0_genc++_headers"], shared_libs: [ "libhidlbase", "libhidltransport", "libhwbinder", "liblog", "libutils", "libcutils", "libvts_common", "libvts_datatype", "libvts_measurement", "libvts_multidevice_proto", "libcamera_metadata", "libprotobuf-cpp-full", "android.hidl.base@1.0", "android.hardware.nfc@1.0", ], export_shared_lib_headers: [ "libhidlbase", "libhidltransport", "libhwbinder", "libutils", "android.hidl.base@1.0", ], } nfc/1.0/vts/Android.mk +1 −32 Original line number Diff line number Diff line Loading @@ -16,37 +16,6 @@ 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) Loading Loading
nfc/1.0/Android.bp +62 −0 Original line number Diff line number Diff line Loading @@ -62,3 +62,65 @@ cc_library_shared { "android.hidl.base@1.0", ], } genrule { name: "android.hardware.nfc.vts.driver@1.0_genc++", tools: ["hidl-gen", "vtsc"], cmd: "$(location hidl-gen) -o $(genDir) -L vts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/", srcs: [ "types.hal", "INfc.hal", "INfcClientCallback.hal", ], out: [ "android/hardware/nfc/1.0/types.vts.cpp", "android/hardware/nfc/1.0/Nfc.vts.cpp", "android/hardware/nfc/1.0/NfcClientCallback.vts.cpp", ], } genrule { name: "android.hardware.nfc.vts.driver@1.0_genc++_headers", tools: ["hidl-gen", "vtsc"], cmd: "$(location hidl-gen) -o $(genDir) -L vts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.nfc@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/nfc/1.0/ $(genDir)/android/hardware/nfc/1.0/", srcs: [ "types.hal", "INfc.hal", "INfcClientCallback.hal", ], out: [ "android/hardware/nfc/1.0/types.vts.h", "android/hardware/nfc/1.0/Nfc.vts.h", "android/hardware/nfc/1.0/NfcClientCallback.vts.h", ], } cc_library_shared { name: "android.hardware.nfc.vts.driver@1.0", generated_sources: ["android.hardware.nfc.vts.driver@1.0_genc++"], generated_headers: ["android.hardware.nfc.vts.driver@1.0_genc++_headers"], export_generated_headers: ["android.hardware.nfc.vts.driver@1.0_genc++_headers"], shared_libs: [ "libhidlbase", "libhidltransport", "libhwbinder", "liblog", "libutils", "libcutils", "libvts_common", "libvts_datatype", "libvts_measurement", "libvts_multidevice_proto", "libcamera_metadata", "libprotobuf-cpp-full", "android.hidl.base@1.0", "android.hardware.nfc@1.0", ], export_shared_lib_headers: [ "libhidlbase", "libhidltransport", "libhwbinder", "libutils", "android.hidl.base@1.0", ], }
nfc/1.0/vts/Android.mk +1 −32 Original line number Diff line number Diff line Loading @@ -16,37 +16,6 @@ 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) Loading