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 \ |
| 22 | libcutils |
| 23 | |
| 24 | ifeq ($(HOST_OS),linux) |
| 25 | LOCAL_LDLIBS += -lpthread |
| 26 | endif |
| 27 | |
| 28 | LOCAL_MODULE := obbtool |
| 29 | |
| 30 | include $(BUILD_HOST_EXECUTABLE) |
| 31 | |
Kenny Root | 3b1abba | 2010-10-13 15:00:07 -0700 | [diff] [blame^] | 32 | include $(CLEAR_VARS) |
| 33 | |
| 34 | LOCAL_MODULE := pbkdf2gen |
| 35 | |
| 36 | LOCAL_MODULE_TAGS := optional |
| 37 | |
| 38 | LOCAL_CFLAGS := -Wall -Werror |
| 39 | |
| 40 | LOCAL_SRC_FILES := pbkdf2gen.cpp |
| 41 | |
| 42 | LOCAL_SHARED_LIBRARIES := libcrypto |
| 43 | |
| 44 | include $(BUILD_HOST_EXECUTABLE) |
| 45 | |
Kenny Root | 6e7ac5f | 2010-07-19 10:31:34 -0700 | [diff] [blame] | 46 | endif # TARGET_BUILD_APPS |