blob: f1ac716a78376c32072d0a7a3857ff59d71390a3 [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 \
39 libhidl \
40 libhwbinder \
41 libprotobuf-cpp-full \
42 libvts_common \
43 libvts_datatype \
44 libvts_measurement \
45 libvts_multidevice_proto \
46
47LOCAL_STATIC_LIBRARIES := \
48
49LOCAL_PROTOC_OPTIMIZE_TYPE := full
50
51LOCAL_MULTILIB := both
52
53include $(BUILD_SHARED_LIBRARY)
54
55# build profiler for thermal.
56include $(CLEAR_VARS)
57
58LOCAL_MODULE := libvts_profiler_hidl_thermal@1.0
59
60LOCAL_SRC_FILES := \
61 Thermal.vts \
62 types.vts \
63
64LOCAL_C_INCLUDES += \
65 test/vts/drivers/libprofiling \
66
67LOCAL_VTS_MODE := PROFILER
68
69LOCAL_SHARED_LIBRARIES := \
70 android.hardware.thermal@1.0 \
71 libbase \
72 libcutils \
73 liblog \
74 libhidl \
75 libhwbinder \
76 libprotobuf-cpp-full \
77 libvts_common \
78 libvts_multidevice_proto \
79 libvts_profiling \
80 libutils \
81
82LOCAL_PROTOC_OPTIMIZE_TYPE := full
83
84include $(BUILD_SHARED_LIBRARY)