blob: 0df4772333c54ffa5dd65afbc5909a1eb1812506 [file] [log] [blame]
Steven Morelandbf0b5862016-11-16 09:02:17 -08001#
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 Light v2.0.
20include $(CLEAR_VARS)
21
22LOCAL_MODULE := libvts_driver_hidl_light@2.0
23
24LOCAL_SRC_FILES := \
25 Light.vts \
26 types.vts \
27
28LOCAL_SHARED_LIBRARIES += \
29 android.hardware.light@2.0 \
30 libbase \
31 libutils \
32 libcutils \
33 liblog \
Yifan Hong6b920e42016-11-16 14:17:58 -080034 libhidlbase \
35 libhidltransport \
Steven Morelandbf0b5862016-11-16 09:02:17 -080036 libhwbinder \
37 libprotobuf-cpp-full \
38 libvts_common \
39 libvts_datatype \
40 libvts_measurement \
41 libvts_multidevice_proto
42
Steven Morelandbf0b5862016-11-16 09:02:17 -080043LOCAL_PROTOC_OPTIMIZE_TYPE := full
44
45LOCAL_MULTILIB := both
46
47include $(BUILD_SHARED_LIBRARY)
Tri Voa4c7c1e2016-12-05 13:39:50 -080048
49include $(call all-makefiles-under,$(LOCAL_PATH))