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 16 LOCAL_CFLAGS := -Wall -Werror 17 18 #LOCAL_C_INCLUDES += 19 20 LOCAL_STATIC_LIBRARIES := \ 21 libandroidfw \ 22 libutils \ 23 libcutils \ 24 liblog 25 26 ifeq ($(HOST_OS),linux) 27 LOCAL_LDLIBS += -ldl -lpthread 28 endif 29 30 LOCAL_MODULE := obbtool 31 32 include $(BUILD_HOST_EXECUTABLE) 33 34 ##################################################### 35 include $(CLEAR_VARS) 36 37 LOCAL_MODULE := pbkdf2gen 38 LOCAL_MODULE_TAGS := optional 39 LOCAL_CFLAGS := -Wall -Werror 40 LOCAL_SRC_FILES := pbkdf2gen.cpp 41 LOCAL_LDLIBS += -ldl 42 LOCAL_C_INCLUDES := external/openssl/include $(LOCAL_C_INCLUDES) 43 LOCAL_STATIC_LIBRARIES := libcrypto_static 44 45 include $(BUILD_HOST_EXECUTABLE) 46 47 ####################################################### 48 endif # TARGET_BUILD_APPS 49