• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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.
8ifeq ($(TARGET_BUILD_APPS),)
9
10LOCAL_PATH:= $(call my-dir)
11include $(CLEAR_VARS)
12
13LOCAL_SRC_FILES := \
14	Main.cpp
15
16LOCAL_CFLAGS := -Wall -Werror -Wno-mismatched-tags
17
18#LOCAL_C_INCLUDES +=
19
20LOCAL_STATIC_LIBRARIES := \
21	libandroidfw \
22	libutils \
23	libcutils \
24	liblog
25
26ifeq ($(HOST_OS),linux)
27LOCAL_LDLIBS += -ldl -lpthread
28endif
29
30LOCAL_MODULE := obbtool
31
32include $(BUILD_HOST_EXECUTABLE)
33
34#####################################################
35include $(CLEAR_VARS)
36
37LOCAL_MODULE := pbkdf2gen
38LOCAL_MODULE_TAGS := optional
39LOCAL_CFLAGS := -Wall -Werror -Wno-mismatched-tags
40LOCAL_SRC_FILES := pbkdf2gen.cpp
41LOCAL_LDLIBS += -ldl
42LOCAL_STATIC_LIBRARIES := libcrypto_static
43
44include $(BUILD_HOST_EXECUTABLE)
45
46#######################################################
47endif # TARGET_BUILD_APPS
48