blob: ef926fee622ddbbb9b2f0c520f7c0e86b426b231 [file] [log] [blame]
Polina Bondarenko59d05eb2016-11-03 16:41:18 +01001#
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 Thermal v1.0.
20include $(CLEAR_VARS)
21
22LOCAL_MODULE := libvts_driver_hidl_thermal@1.0
23
24LOCAL_SRC_FILES := \
25 Thermal.vts \
26 types.vts \
27
28LOCAL_C_INCLUDES := \
29 android.hardware.thermal@1.0 \
30 system/core/base/include \
31 system/core/include \
32
33LOCAL_SHARED_LIBRARIES += \
34 android.hardware.thermal@1.0 \
35 libbase \
36 libutils \
37 libcutils \
38 liblog \
Yifan Hong6b920e42016-11-16 14:17:58 -080039 libhidlbase \
40 libhidltransport \
Polina Bondarenko59d05eb2016-11-03 16:41:18 +010041 libhwbinder \
42 libprotobuf-cpp-full \
43 libvts_common \
44 libvts_datatype \
45 libvts_measurement \
46 libvts_multidevice_proto \
47
48LOCAL_STATIC_LIBRARIES := \
49
50LOCAL_PROTOC_OPTIMIZE_TYPE := full
51
52LOCAL_MULTILIB := both
53
54include $(BUILD_SHARED_LIBRARY)
55
56# build profiler for thermal.
57include $(CLEAR_VARS)
58
59LOCAL_MODULE := libvts_profiler_hidl_thermal@1.0
60
61LOCAL_SRC_FILES := \
62 Thermal.vts \
63 types.vts \
64
65LOCAL_C_INCLUDES += \
66 test/vts/drivers/libprofiling \
67
68LOCAL_VTS_MODE := PROFILER
69
70LOCAL_SHARED_LIBRARIES := \
71 android.hardware.thermal@1.0 \
72 libbase \
73 libcutils \
74 liblog \
Yifan Hong6b920e42016-11-16 14:17:58 -080075 libhidlbase \
76 libhidltransport \
Polina Bondarenko59d05eb2016-11-03 16:41:18 +010077 libhwbinder \
78 libprotobuf-cpp-full \
79 libvts_common \
80 libvts_multidevice_proto \
81 libvts_profiling \
82 libutils \
83
84LOCAL_PROTOC_OPTIMIZE_TYPE := full
85
86include $(BUILD_SHARED_LIBRARY)
Keun Soo Yim8a36c0b2016-11-17 15:49:13 -080087
88include $(call all-makefiles-under,$(LOCAL_PATH))