1# Copyright (C) 2018 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) 17 18HOST_TOOL_NAME := rpmb_dev 19 20HOST_SRCS := \ 21 $(LOCAL_DIR)/../crypt.c \ 22 $(LOCAL_DIR)/main.c \ 23 $(LOCAL_DIR)/rpmb_dev.c \ 24 25HOST_FLAGS := -DBUILD_STORAGE_TEST=1 26 27HOST_LIBS := \ 28 m \ 29 30# We need to statically link openssl into the host tool in case the version 31# we're building with is unavailable on the host it will be running on. 32HOST_DEPS := \ 33 trusty/user/base/host/boringssl 34 35include make/host_tool.mk 36