Kenny Root | 6e7ac5f | 2010-07-19 10:31:34 -0700 | [diff] [blame] | 1 | # |
| 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. |
| 8 | ifeq ($(TARGET_BUILD_APPS),) |
| 9 | |
| 10 | LOCAL_PATH:= $(call my-dir) |
| 11 | include $(CLEAR_VARS) |
| 12 | |
| 13 | LOCAL_SRC_FILES := \ |
| 14 | Main.cpp |
| 15 | |
Kenny Root | 3b1abba | 2010-10-13 15:00:07 -0700 | [diff] [blame] | 16 | LOCAL_CFLAGS := -Wall -Werror |
| 17 | |
Kenny Root | 6e7ac5f | 2010-07-19 10:31:34 -0700 | [diff] [blame] | 18 | #LOCAL_C_INCLUDES += |
| 19 | |
| 20 | LOCAL_STATIC_LIBRARIES := \ |
| 21 | libutils \ |
Mathias Agopian | 83c64e6 | 2012-02-20 16:58:20 -0800 | [diff] [blame] | 22 | libandroidfw \ |
Kenny Root | 6e7ac5f | 2010-07-19 10:31:34 -0700 | [diff] [blame] | 23 | libcutils |
| 24 | |
| 25 | ifeq ($(HOST_OS),linux) |
Iliyan Malchev | 64ef6b4 | 2011-10-19 22:35:56 -0700 | [diff] [blame] | 26 | LOCAL_LDLIBS += -ldl -lpthread |
Kenny Root | 6e7ac5f | 2010-07-19 10:31:34 -0700 | [diff] [blame] | 27 | endif |
| 28 | |
| 29 | LOCAL_MODULE := obbtool |
| 30 | |
| 31 | include $(BUILD_HOST_EXECUTABLE) |
| 32 | |
Ying Wang | a1b592e | 2010-10-14 16:13:31 -0700 | [diff] [blame] | 33 | ##################################################### |
| 34 | include $(CLEAR_VARS) |
Kenny Root | 3b1abba | 2010-10-13 15:00:07 -0700 | [diff] [blame] | 35 | |
Ying Wang | a1b592e | 2010-10-14 16:13:31 -0700 | [diff] [blame] | 36 | LOCAL_MODULE := pbkdf2gen |
| 37 | LOCAL_MODULE_TAGS := optional |
| 38 | LOCAL_CFLAGS := -Wall -Werror |
| 39 | LOCAL_SRC_FILES := pbkdf2gen.cpp |
| 40 | LOCAL_LDLIBS += -ldl |
| 41 | LOCAL_C_INCLUDES := external/openssl/include $(LOCAL_C_INCLUDES) |
| 42 | LOCAL_STATIC_LIBRARIES := libcrypto_static |
Kenny Root | 3b1abba | 2010-10-13 15:00:07 -0700 | [diff] [blame] | 43 | |
Ying Wang | a1b592e | 2010-10-14 16:13:31 -0700 | [diff] [blame] | 44 | include $(BUILD_HOST_EXECUTABLE) |
Kenny Root | 3b1abba | 2010-10-13 15:00:07 -0700 | [diff] [blame] | 45 | |
Ying Wang | a1b592e | 2010-10-14 16:13:31 -0700 | [diff] [blame] | 46 | ####################################################### |
Kenny Root | 6e7ac5f | 2010-07-19 10:31:34 -0700 | [diff] [blame] | 47 | endif # TARGET_BUILD_APPS |