Files
frameworks_base/tools/obbtool/Android.mk
Alex Klyubin 9d2b22d2e6 Switch from libcrypto_static to libcrypto target
libcrypto target offers the same static library as libcrypto_static.
Thus, there's no need to use libcrypto_static.

Test: make pbkdf2gen
      Run pbkdf2gen with and without a password and confirm it works
Bug: 26160319

Change-Id: I89a60b7521e6c3df91421d0edf64a71b8b2c20e0
2017-05-08 15:12:00 -07:00

48 lines
923 B
Makefile

#
# Copyright 2010 The Android Open Source Project
#
# Opaque Binary Blob (OBB) Tool
#
# This tool is prebuilt if we're doing an app-only build.
ifeq ($(TARGET_BUILD_APPS),)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
Main.cpp
LOCAL_CFLAGS := -Wall -Werror -Wno-mismatched-tags
#LOCAL_C_INCLUDES +=
LOCAL_STATIC_LIBRARIES := \
libandroidfw \
libutils \
libcutils \
liblog
ifeq ($(HOST_OS),linux)
LOCAL_LDLIBS += -ldl -lpthread
endif
LOCAL_MODULE := obbtool
include $(BUILD_HOST_EXECUTABLE)
#####################################################
include $(CLEAR_VARS)
LOCAL_MODULE := pbkdf2gen
LOCAL_MODULE_TAGS := optional
LOCAL_CFLAGS := -Wall -Werror -Wno-mismatched-tags
LOCAL_SRC_FILES := pbkdf2gen.cpp
LOCAL_LDLIBS += -ldl
LOCAL_STATIC_LIBRARIES := libcrypto
include $(BUILD_HOST_EXECUTABLE)
#######################################################
endif # TARGET_BUILD_APPS