blob: 9ff56d634c21dc2bff9d40209c987f7511d02860 [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
Hui Shueb8ac252014-08-05 14:34:48 -070016LOCAL_CFLAGS := -Wall -Werror
Kenny Root3b1abba2010-10-13 15:00:07 -070017
Kenny Root6e7ac5f2010-07-19 10:31:34 -070018#LOCAL_C_INCLUDES +=
19
20LOCAL_STATIC_LIBRARIES := \
Mathias Agopian83c64e62012-02-20 16:58:20 -080021 libandroidfw \
Mathias Agopian60e510a2013-05-07 19:52:05 -070022 libutils \
Ying Wangd6858942013-04-09 21:54:12 -070023 libcutils \
24 liblog
Kenny Root6e7ac5f2010-07-19 10:31:34 -070025
26ifeq ($(HOST_OS),linux)
Iliyan Malchev64ef6b42011-10-19 22:35:56 -070027LOCAL_LDLIBS += -ldl -lpthread
Kenny Root6e7ac5f2010-07-19 10:31:34 -070028endif
29
30LOCAL_MODULE := obbtool
31
32include $(BUILD_HOST_EXECUTABLE)
33
Ying Wanga1b592e2010-10-14 16:13:31 -070034#####################################################
35include $(CLEAR_VARS)
Kenny Root3b1abba2010-10-13 15:00:07 -070036
Ying Wanga1b592e2010-10-14 16:13:31 -070037LOCAL_MODULE := pbkdf2gen
38LOCAL_MODULE_TAGS := optional
Hui Shueb8ac252014-08-05 14:34:48 -070039LOCAL_CFLAGS := -Wall -Werror
Ying Wanga1b592e2010-10-14 16:13:31 -070040LOCAL_SRC_FILES := pbkdf2gen.cpp
41LOCAL_LDLIBS += -ldl
42LOCAL_C_INCLUDES := external/openssl/include $(LOCAL_C_INCLUDES)
43LOCAL_STATIC_LIBRARIES := libcrypto_static
Kenny Root3b1abba2010-10-13 15:00:07 -070044
Ying Wanga1b592e2010-10-14 16:13:31 -070045include $(BUILD_HOST_EXECUTABLE)
Kenny Root3b1abba2010-10-13 15:00:07 -070046
Ying Wanga1b592e2010-10-14 16:13:31 -070047#######################################################
Kenny Root6e7ac5f2010-07-19 10:31:34 -070048endif # TARGET_BUILD_APPS