Kenny Root | a91203b | 2012-02-15 15:00:46 -0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2009 The Android Open Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | |
| 19 | include $(CLEAR_VARS) |
Kenny Root | da1ed9a | 2012-04-10 12:34:07 -0700 | [diff] [blame] | 20 | LOCAL_CFLAGS := -Wall -Wextra -Werror |
Kenny Root | 822c3a9 | 2012-03-23 16:34:39 -0700 | [diff] [blame] | 21 | LOCAL_SRC_FILES := keystore.cpp keyblob_utils.cpp |
Kenny Root | a91203b | 2012-02-15 15:00:46 -0800 | [diff] [blame] | 22 | LOCAL_C_INCLUDES := external/openssl/include |
Kenny Root | 07438c8 | 2012-11-02 15:41:02 -0700 | [diff] [blame] | 23 | LOCAL_SHARED_LIBRARIES := libcutils libcrypto libhardware libkeystore_binder libutils libbinder |
Kenny Root | a91203b | 2012-02-15 15:00:46 -0800 | [diff] [blame] | 24 | LOCAL_MODULE := keystore |
Kenny Root | 70e3a86 | 2012-02-15 17:20:23 -0800 | [diff] [blame] | 25 | LOCAL_MODULE_TAGS := optional |
Kenny Root | 6a9cafc | 2012-11-16 12:53:42 -0800 | [diff] [blame] | 26 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Kenny Root | a91203b | 2012-02-15 15:00:46 -0800 | [diff] [blame] | 27 | include $(BUILD_EXECUTABLE) |
| 28 | |
| 29 | include $(CLEAR_VARS) |
Kenny Root | da1ed9a | 2012-04-10 12:34:07 -0700 | [diff] [blame] | 30 | LOCAL_CFLAGS := -Wall -Wextra -Werror |
Kenny Root | a91203b | 2012-02-15 15:00:46 -0800 | [diff] [blame] | 31 | LOCAL_SRC_FILES := keystore_cli.cpp |
| 32 | LOCAL_C_INCLUDES := external/openssl/include |
Kenny Root | 07438c8 | 2012-11-02 15:41:02 -0700 | [diff] [blame] | 33 | LOCAL_SHARED_LIBRARIES := libcutils libcrypto libkeystore_binder libutils libbinder |
Kenny Root | a91203b | 2012-02-15 15:00:46 -0800 | [diff] [blame] | 34 | LOCAL_MODULE := keystore_cli |
| 35 | LOCAL_MODULE_TAGS := debug |
Kenny Root | 6a9cafc | 2012-11-16 12:53:42 -0800 | [diff] [blame] | 36 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Kenny Root | a91203b | 2012-02-15 15:00:46 -0800 | [diff] [blame] | 37 | include $(BUILD_EXECUTABLE) |
Kenny Root | 5187818 | 2012-03-13 12:53:19 -0700 | [diff] [blame] | 38 | |
| 39 | # Library for keystore clients |
| 40 | include $(CLEAR_VARS) |
Kenny Root | da1ed9a | 2012-04-10 12:34:07 -0700 | [diff] [blame] | 41 | LOCAL_CFLAGS := -Wall -Wextra -Werror |
Kenny Root | 07438c8 | 2012-11-02 15:41:02 -0700 | [diff] [blame] | 42 | LOCAL_SRC_FILES := IKeystoreService.cpp keystore_get.cpp keyblob_utils.cpp |
| 43 | LOCAL_SHARED_LIBRARIES := libbinder libutils |
| 44 | LOCAL_MODULE := libkeystore_binder |
Kenny Root | 5187818 | 2012-03-13 12:53:19 -0700 | [diff] [blame] | 45 | LOCAL_MODULE_TAGS := optional |
Kenny Root | 07438c8 | 2012-11-02 15:41:02 -0700 | [diff] [blame] | 46 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include |
| 47 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include |
Kenny Root | 6a9cafc | 2012-11-16 12:53:42 -0800 | [diff] [blame] | 48 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Kenny Root | 822c3a9 | 2012-03-23 16:34:39 -0700 | [diff] [blame] | 49 | include $(BUILD_SHARED_LIBRARY) |