blob: 080eb882f3ca23dedf69c8a345571fc4710aa37c [file] [log] [blame]
Tri Voeafb90c2016-10-17 15:48:29 -07001#
2# Copyright (C) 2016 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH := $(call my-dir)
18
19# build VTS driver for Vibrator v1.0.
20include $(CLEAR_VARS)
21
22LOCAL_MODULE := libvts_driver_hidl_vibrator@1.0
23
24LOCAL_SRC_FILES := \
25 Vibrator.vts \
26 types.vts \
27
Tri Voeafb90c2016-10-17 15:48:29 -070028LOCAL_SHARED_LIBRARIES += \
29 android.hardware.vibrator@1.0 \
30 libbase \
31 libutils \
32 libcutils \
33 liblog \
Yifan Hong6b920e42016-11-16 14:17:58 -080034 libhidlbase \
35 libhidltransport \
Tri Voeafb90c2016-10-17 15:48:29 -070036 libhwbinder \
37 libprotobuf-cpp-full \
38 libvts_common \
39 libvts_datatype \
40 libvts_measurement \
41 libvts_multidevice_proto \
42
Tri Voeafb90c2016-10-17 15:48:29 -070043LOCAL_PROTOC_OPTIMIZE_TYPE := full
44
45LOCAL_MULTILIB := both
46
47include $(BUILD_SHARED_LIBRARY)
Zhuoyao Zhang0d0a5ea2016-10-26 13:28:51 -070048
49# build profiler for vibrator.
50include $(CLEAR_VARS)
51
52LOCAL_MODULE := libvts_profiler_hidl_vibrator@1.0
53
54LOCAL_SRC_FILES := \
55 Vibrator.vts \
56 types.vts \
57
58LOCAL_C_INCLUDES += \
59 test/vts/drivers/libprofiling \
60
61LOCAL_VTS_MODE := PROFILER
62
63LOCAL_SHARED_LIBRARIES := \
64 android.hardware.vibrator@1.0 \
65 libbase \
66 libcutils \
67 liblog \
Yifan Hong6b920e42016-11-16 14:17:58 -080068 libhidlbase \
69 libhidltransport \
Zhuoyao Zhang0d0a5ea2016-10-26 13:28:51 -070070 libhwbinder \
71 libprotobuf-cpp-full \
72 libvts_common \
73 libvts_multidevice_proto \
74 libvts_profiling \
75 libutils \
76
77LOCAL_PROTOC_OPTIMIZE_TYPE := full
78
79include $(BUILD_SHARED_LIBRARY)
Keun Soo Yim8a36c0b2016-11-17 15:49:13 -080080
81include $(call all-makefiles-under,$(LOCAL_PATH))