blob: dd57ae662ee9860dc141db593939e0d0a0b95cf4 [file] [log] [blame]
Kenny Root6e7ac5f2010-07-19 10:31:34 -07001#
2# Copyright 2010 The Android Open Source Project
3#
4# Opaque Binary Blob (OBB) Tool
5#
6
7# This tool is prebuilt if we're doing an app-only build.
8ifeq ($(TARGET_BUILD_APPS),)
9
10LOCAL_PATH:= $(call my-dir)
11include $(CLEAR_VARS)
12
13LOCAL_SRC_FILES := \
14 Main.cpp
15
Kenny Root3b1abba2010-10-13 15:00:07 -070016LOCAL_CFLAGS := -Wall -Werror
17
Kenny Root6e7ac5f2010-07-19 10:31:34 -070018#LOCAL_C_INCLUDES +=
19
20LOCAL_STATIC_LIBRARIES := \
21 libutils \
Mathias Agopian83c64e62012-02-20 16:58:20 -080022 libandroidfw \
Kenny Root6e7ac5f2010-07-19 10:31:34 -070023 libcutils
24
25ifeq ($(HOST_OS),linux)
Iliyan Malchev64ef6b42011-10-19 22:35:56 -070026LOCAL_LDLIBS += -ldl -lpthread
Kenny Root6e7ac5f2010-07-19 10:31:34 -070027endif
28
29LOCAL_MODULE := obbtool
30
31include $(BUILD_HOST_EXECUTABLE)
32
Ying Wanga1b592e2010-10-14 16:13:31 -070033#####################################################
34include $(CLEAR_VARS)
Kenny Root3b1abba2010-10-13 15:00:07 -070035
Ying Wanga1b592e2010-10-14 16:13:31 -070036LOCAL_MODULE := pbkdf2gen
37LOCAL_MODULE_TAGS := optional
38LOCAL_CFLAGS := -Wall -Werror
39LOCAL_SRC_FILES := pbkdf2gen.cpp
40LOCAL_LDLIBS += -ldl
41LOCAL_C_INCLUDES := external/openssl/include $(LOCAL_C_INCLUDES)
42LOCAL_STATIC_LIBRARIES := libcrypto_static
Kenny Root3b1abba2010-10-13 15:00:07 -070043
Ying Wanga1b592e2010-10-14 16:13:31 -070044include $(BUILD_HOST_EXECUTABLE)
Kenny Root3b1abba2010-10-13 15:00:07 -070045
Ying Wanga1b592e2010-10-14 16:13:31 -070046#######################################################
Kenny Root6e7ac5f2010-07-19 10:31:34 -070047endif # TARGET_BUILD_APPS