blob: a8c8c20b2fda92da385fe9bc86ff99e40159884a [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 \
34 libhidl \
35 libhwbinder \
36 libprotobuf-cpp-full \
37 libvts_common \
38 libvts_datatype \
39 libvts_measurement \
40 libvts_multidevice_proto
41
42LOCAL_CFLAGS += -DENABLE_TREBLE
43
44LOCAL_PROTOC_OPTIMIZE_TYPE := full
45
46LOCAL_MULTILIB := both
47
48include $(BUILD_SHARED_LIBRARY)