Android.mk revision a09f1ebeb5fcdb1763b68a077f918bae87a0095d
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 17 18#LOCAL_C_INCLUDES += 19 20LOCAL_STATIC_LIBRARIES := \ 21 libutils \ 22 libcutils 23 24ifeq ($(HOST_OS),linux) 25LOCAL_LDLIBS += -lpthread 26endif 27 28LOCAL_MODULE := obbtool 29 30include $(BUILD_HOST_EXECUTABLE) 31 32# Non-Linux hosts might not have OpenSSL libcrypto 33ifeq ($(HOST_OS),linux) 34 include $(CLEAR_VARS) 35 36 LOCAL_MODULE := pbkdf2gen 37 38 LOCAL_MODULE_TAGS := optional 39 40 LOCAL_CFLAGS := -Wall -Werror 41 42 LOCAL_SRC_FILES := pbkdf2gen.cpp 43 44 LOCAL_SHARED_LIBRARIES := libcrypto 45 46 include $(BUILD_HOST_EXECUTABLE) 47endif # HOST_OS == linux 48 49endif # TARGET_BUILD_APPS 50