Steven Moreland | bf0b586 | 2016-11-16 09:02:17 -0800 | [diff] [blame] | 1 | # |
| 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 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | |
| 19 | # build VTS driver for Light v2.0. |
| 20 | include $(CLEAR_VARS) |
| 21 | |
| 22 | LOCAL_MODULE := libvts_driver_hidl_light@2.0 |
| 23 | |
| 24 | LOCAL_SRC_FILES := \ |
| 25 | Light.vts \ |
| 26 | types.vts \ |
| 27 | |
| 28 | LOCAL_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 | |
| 42 | LOCAL_CFLAGS += -DENABLE_TREBLE |
| 43 | |
| 44 | LOCAL_PROTOC_OPTIMIZE_TYPE := full |
| 45 | |
| 46 | LOCAL_MULTILIB := both |
| 47 | |
| 48 | include $(BUILD_SHARED_LIBRARY) |