blob: 8824dfeda6fcf8e6224c44020a12c72f3588845a [file] [log] [blame]
Kenny Roota91203b2012-02-15 15:00:46 -08001#
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
17LOCAL_PATH := $(call my-dir)
18
19include $(CLEAR_VARS)
Kenny Rootda1ed9a2012-04-10 12:34:07 -070020LOCAL_CFLAGS := -Wall -Wextra -Werror
Kenny Root822c3a92012-03-23 16:34:39 -070021LOCAL_SRC_FILES := keystore.cpp keyblob_utils.cpp
Kenny Roota91203b2012-02-15 15:00:46 -080022LOCAL_C_INCLUDES := external/openssl/include
Kenny Root07438c82012-11-02 15:41:02 -070023LOCAL_SHARED_LIBRARIES := libcutils libcrypto libhardware libkeystore_binder libutils libbinder
Kenny Roota91203b2012-02-15 15:00:46 -080024LOCAL_MODULE := keystore
Kenny Root70e3a862012-02-15 17:20:23 -080025LOCAL_MODULE_TAGS := optional
Kenny Roota91203b2012-02-15 15:00:46 -080026include $(BUILD_EXECUTABLE)
27
28include $(CLEAR_VARS)
Kenny Rootda1ed9a2012-04-10 12:34:07 -070029LOCAL_CFLAGS := -Wall -Wextra -Werror
Kenny Roota91203b2012-02-15 15:00:46 -080030LOCAL_SRC_FILES := keystore_cli.cpp
31LOCAL_C_INCLUDES := external/openssl/include
Kenny Root07438c82012-11-02 15:41:02 -070032LOCAL_SHARED_LIBRARIES := libcutils libcrypto libkeystore_binder libutils libbinder
Kenny Roota91203b2012-02-15 15:00:46 -080033LOCAL_MODULE := keystore_cli
34LOCAL_MODULE_TAGS := debug
35include $(BUILD_EXECUTABLE)
Kenny Root51878182012-03-13 12:53:19 -070036
37# Library for keystore clients
38include $(CLEAR_VARS)
Kenny Rootda1ed9a2012-04-10 12:34:07 -070039LOCAL_CFLAGS := -Wall -Wextra -Werror
Kenny Root07438c82012-11-02 15:41:02 -070040LOCAL_SRC_FILES := IKeystoreService.cpp keystore_get.cpp keyblob_utils.cpp
41LOCAL_SHARED_LIBRARIES := libbinder libutils
42LOCAL_MODULE := libkeystore_binder
Kenny Root51878182012-03-13 12:53:19 -070043LOCAL_MODULE_TAGS := optional
Kenny Root07438c82012-11-02 15:41:02 -070044LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
45LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
Kenny Root822c3a92012-03-23 16:34:39 -070046include $(BUILD_SHARED_LIBRARY)