From 60d79b68bbd6979ced4c7521fa78b734f35dae40 Mon Sep 17 00:00:00 2001 From: Yuexi Ma Date: Wed, 30 Nov 2016 17:15:38 -0800 Subject: [PATCH] add vts profiler for vehicle hal Test: local Change-Id: I5012346df43a48d7273a1ba0307f7fb211891edf --- vehicle/2.0/vts/Android.mk | 72 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/vehicle/2.0/vts/Android.mk b/vehicle/2.0/vts/Android.mk index 1972c2a0b6..8370067e99 100644 --- a/vehicle/2.0/vts/Android.mk +++ b/vehicle/2.0/vts/Android.mk @@ -46,3 +46,75 @@ LOCAL_PROTOC_OPTIMIZE_TYPE := full LOCAL_MULTILIB := both include $(BUILD_SHARED_LIBRARY) + + +# build profiler for Vehicle. +include $(CLEAR_VARS) + +LOCAL_MODULE := libvts_profiler_hidl_vehicle@2.0 + +LOCAL_SRC_FILES := \ + Vehicle.vts \ + types.vts \ + +LOCAL_C_INCLUDES += \ + test/vts/drivers/libprofiling \ + +LOCAL_VTS_MODE := PROFILER + +LOCAL_SHARED_LIBRARIES := \ + android.hardware.vehicle@2.0 \ + libbase \ + libcutils \ + liblog \ + libhidlbase \ + libhidltransport \ + libhwbinder \ + libprotobuf-cpp-full \ + libvts_common \ + libvts_multidevice_proto \ + libvts_profiling \ + libutils \ + +LOCAL_PROTOC_OPTIMIZE_TYPE := full + +LOCAL_MULTILIB := both + +include $(BUILD_SHARED_LIBRARY) + + +# build profiler for VehicleCallback. +include $(CLEAR_VARS) + +LOCAL_MODULE := libvts_profiler_hidl_vehicle_callback_@2.0 + +LOCAL_SRC_FILES := \ + Vehicle.vts \ + types.vts \ + +LOCAL_C_INCLUDES += \ + test/vts/drivers/libprofiling \ + +LOCAL_VTS_MODE := PROFILER + +LOCAL_SHARED_LIBRARIES := \ + android.hardware.vehicle@2.0 \ + libbase \ + libcutils \ + liblog \ + libhidlbase \ + libhidltransport \ + libhwbinder \ + libprotobuf-cpp-full \ + libvts_common \ + libvts_multidevice_proto \ + libvts_profiling \ + libutils \ + +LOCAL_PROTOC_OPTIMIZE_TYPE := full + +LOCAL_MULTILIB := both + +include $(BUILD_SHARED_LIBRARY) + +include $(call all-makefiles-under,$(LOCAL_PATH)) \ No newline at end of file