Makefile文件  |  21行  |  529 B

# This file is dual licensed under the MIT and the University of Illinois Open
# Source Licenses. See LICENSE.TXT for details.

LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)
LOCAL_MODULE := test_1_shared
LOCAL_SRC_FILES := test_1.cc
LOCAL_SHARED_LIBRARIES := libc++_shared
include $(BUILD_EXECUTABLE)


include $(CLEAR_VARS)
LOCAL_MODULE := test_1_static
LOCAL_SRC_FILES := test_1.cc
LOCAL_STATIC_LIBRARIES := libc++_static
LOCAL_LDFLAGS := -Wl,-gc-sections
include $(BUILD_EXECUTABLE)

include $(LOCAL_PATH)/../Android.mk