b05f2ca150
Preparing for migration from stlport to libc++. STL selection is done with LOCAL_CXX_STL (valid values are default, none, libc++, libc++_static, stlport, stlport_static, bionic). The selection of the STL is as follows: if LOCAL_CXX_STL == 'default' ifdef LOCAL_SDK_VERSION Use whatever STL the other NDK options have selected. else Use bionic's libstdc++ for target, GNU libstdc++ for host. This is compatible with the existing build options. endif else if LOCAL_CXX_STL == 'stlport' Use stlport. else if LOCAL_CXX_STL == 'libc++' Use libc++. else if LOCAL_CXX_STL == '' Don't use any STL. endif endif Bug: 15193147 Change-Id: If712ba0ae7908d8147a69e29da5c453a183d6540
26 lines
494 B
Makefile
26 lines
494 B
Makefile
# Copyright 2005 The Android Open Source Project
|
|
#
|
|
# Custom version of cp.
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES := \
|
|
acp.c
|
|
|
|
ifeq ($(HOST_OS),cygwin)
|
|
LOCAL_CFLAGS += -DWIN32_EXE
|
|
endif
|
|
ifeq ($(HOST_OS),darwin)
|
|
LOCAL_CFLAGS += -DMACOSX_RSRC
|
|
endif
|
|
ifeq ($(HOST_OS),linux)
|
|
endif
|
|
|
|
LOCAL_STATIC_LIBRARIES := libhost
|
|
LOCAL_C_INCLUDES := build/libs/host/include
|
|
LOCAL_MODULE := acp
|
|
LOCAL_ACP_UNAVAILABLE := true
|
|
LOCAL_CXX_STL := none
|
|
|
|
include $(BUILD_HOST_EXECUTABLE)
|