blob: 467090f54a3a3bc1a0fa49ad52ce533bee7d23a1 [file] [log] [blame]
Martijn Coenen72110162016-08-19 14:28:25 +02001# Copyright (C) 2016 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14LOCAL_PATH:= $(call my-dir)
15
16include $(CLEAR_VARS)
17LOCAL_MODULE := libhidl
18LOCAL_SHARED_LIBRARIES := libbase liblog libutils libhwbinder
19LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := libbase libutils
20
21LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
22
23LOCAL_CLANG := true
24LOCAL_SANITIZE := integer
25LOCAL_SRC_FILES := \
26 HidlSupport.cpp \
27 IServiceManager.cpp \
28 Static.cpp
29
30LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
31LOCAL_MULTILIB := both
32LOCAL_COMPATIBILITY_SUITE := vts
33include $(BUILD_SHARED_LIBRARY)