blob: 640074b78d109177ee16c5ff70dd9943360db75d [file] [log] [blame]
Yifan Hong9532bd22017-04-14 15:30:52 -07001# Copyright (C) 2017 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.
14
15LOCAL_PATH := $(call my-dir)
16
17include $(CLEAR_VARS)
18LOCAL_MODULE := libvintf_recovery
19LOCAL_SRC_FILES := VintfObjectRecovery.cpp
20LOCAL_C_INCLUDES := $(LOCAL_PATH)/include/vintf
21LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
22LOCAL_CFLAGS := -Wall -Werror
23LOCAL_STATIC_LIBRARIES := \
24 libbase \
25 libvintf \
Yifan Hongad40a8e2018-03-05 17:45:34 -080026 libhidl-gen-utils \
Yifan Hong9532bd22017-04-14 15:30:52 -070027 libfs_mgr
Yifan Hongad40a8e2018-03-05 17:45:34 -080028
29LOCAL_EXPORT_STATIC_LIBRARY_HEADERS := libhidl-gen-utils
30
Yifan Hong9532bd22017-04-14 15:30:52 -070031include $(BUILD_STATIC_LIBRARY)
Jae Shinddb80692018-05-24 18:04:17 +090032
33$(call dist-for-goals,dist_files,$(HOST_OUT_EXECUTABLES)/checkvintf)