1# 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. 14# 15 16LOCAL_DIR := $(GET_LOCAL_DIR) 17COMMON_DIR := $(LOCAL_DIR)/../common 18STORAGE_DIR := $(LOCAL_DIR)/../.. 19 20HOST_TEST := storage_block_test 21 22include $(STORAGE_DIR)/common.mk 23 24HOST_SRCS := \ 25 $(STORAGE_COMMON_SRCS) \ 26 $(LOCAL_DIR)/block_test.c \ 27 $(COMMON_DIR)/error_reporting_mock.c \ 28 29HOST_FLAGS := -DBUILD_STORAGE_TEST=1 30 31HOST_INCLUDE_DIRS += \ 32 $(STORAGE_DIR) \ 33 $(COMMON_DIR) \ 34 trusty/kernel/lib/libc-ext/include \ 35 36HOST_LIBS := \ 37 m \ 38 c++ \ 39 40HOST_DEPS := \ 41 trusty/user/base/host/boringssl 42 43undefine STORAGE_COMMON_SRCS 44 45include make/host_test.mk 46