1a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# 2a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# Copyright (C) 2009 The Android Open Source Project 3a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# 4a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# Licensed under the Apache License, Version 2.0 (the "License"); 5a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# you may not use this file except in compliance with the License. 6a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# You may obtain a copy of the License at 7a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# 8a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# http://www.apache.org/licenses/LICENSE-2.0 9a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# 10a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# Unless required by applicable law or agreed to in writing, software 11a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# distributed under the License is distributed on an "AS IS" BASIS, 12a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# See the License for the specific language governing permissions and 14a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# limitations under the License. 15a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root# 16a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root 17a91203b08350b2fc7efda5b1eab39e7541476b3aKenny RootLOCAL_PATH := $(call my-dir) 18a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root 19a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Rootinclude $(CLEAR_VARS) 20da1ed9ab99c00698af64ec655ff668efffe2960dKenny RootLOCAL_CFLAGS := -Wall -Wextra -Werror 21822c3a99d930e9299e2fad2fb3e0ff91b119b95aKenny RootLOCAL_SRC_FILES := keystore.cpp keyblob_utils.cpp 22a91203b08350b2fc7efda5b1eab39e7541476b3aKenny RootLOCAL_C_INCLUDES := external/openssl/include 2317208e0de5a42722901d803118745cca25fd10c1Kenny RootLOCAL_SHARED_LIBRARIES := \ 2417208e0de5a42722901d803118745cca25fd10c1Kenny Root libbinder \ 2517208e0de5a42722901d803118745cca25fd10c1Kenny Root libcutils \ 2617208e0de5a42722901d803118745cca25fd10c1Kenny Root libcrypto \ 2717208e0de5a42722901d803118745cca25fd10c1Kenny Root libhardware \ 2817208e0de5a42722901d803118745cca25fd10c1Kenny Root libkeystore_binder \ 2917208e0de5a42722901d803118745cca25fd10c1Kenny Root liblog \ 3017208e0de5a42722901d803118745cca25fd10c1Kenny Root libsoftkeymaster \ 3117208e0de5a42722901d803118745cca25fd10c1Kenny Root libutils 32a91203b08350b2fc7efda5b1eab39e7541476b3aKenny RootLOCAL_MODULE := keystore 3370e3a86abd2c412d602a018967c01c177eb6cf4eKenny RootLOCAL_MODULE_TAGS := optional 346a9cafc30a90b3dfd188212a105ef57c32ed7541Kenny RootLOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 35a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Rootinclude $(BUILD_EXECUTABLE) 36a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Root 37a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Rootinclude $(CLEAR_VARS) 38da1ed9ab99c00698af64ec655ff668efffe2960dKenny RootLOCAL_CFLAGS := -Wall -Wextra -Werror 39a91203b08350b2fc7efda5b1eab39e7541476b3aKenny RootLOCAL_SRC_FILES := keystore_cli.cpp 40a91203b08350b2fc7efda5b1eab39e7541476b3aKenny RootLOCAL_C_INCLUDES := external/openssl/include 41a6fe620941f04b55ecefb8f82d866a264cac9b9eYing WangLOCAL_SHARED_LIBRARIES := libcutils libcrypto libkeystore_binder libutils liblog libbinder 42a91203b08350b2fc7efda5b1eab39e7541476b3aKenny RootLOCAL_MODULE := keystore_cli 43a91203b08350b2fc7efda5b1eab39e7541476b3aKenny RootLOCAL_MODULE_TAGS := debug 446a9cafc30a90b3dfd188212a105ef57c32ed7541Kenny RootLOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 45a91203b08350b2fc7efda5b1eab39e7541476b3aKenny Rootinclude $(BUILD_EXECUTABLE) 465187818895c4c5f650a611c40531b1dff7764c18Kenny Root 475187818895c4c5f650a611c40531b1dff7764c18Kenny Root# Library for keystore clients 485187818895c4c5f650a611c40531b1dff7764c18Kenny Rootinclude $(CLEAR_VARS) 49da1ed9ab99c00698af64ec655ff668efffe2960dKenny RootLOCAL_CFLAGS := -Wall -Wextra -Werror 5007438c8d7256d3788dac323b4d0055f201e0bec9Kenny RootLOCAL_SRC_FILES := IKeystoreService.cpp keystore_get.cpp keyblob_utils.cpp 51a6fe620941f04b55ecefb8f82d866a264cac9b9eYing WangLOCAL_SHARED_LIBRARIES := libbinder libutils liblog 5207438c8d7256d3788dac323b4d0055f201e0bec9Kenny RootLOCAL_MODULE := libkeystore_binder 535187818895c4c5f650a611c40531b1dff7764c18Kenny RootLOCAL_MODULE_TAGS := optional 5407438c8d7256d3788dac323b4d0055f201e0bec9Kenny RootLOCAL_C_INCLUDES := $(LOCAL_PATH)/include 5507438c8d7256d3788dac323b4d0055f201e0bec9Kenny RootLOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include 566a9cafc30a90b3dfd188212a105ef57c32ed7541Kenny RootLOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 57822c3a99d930e9299e2fad2fb3e0ff91b119b95aKenny Rootinclude $(BUILD_SHARED_LIBRARY) 58