am 036bf65a: Merge "Removes bionic\'s dependence on stlport"

* commit '036bf65a9f295562a0e99a36683454323c4639b2':
  Removes bionic's dependence on stlport
This commit is contained in:
Dan Albert 2014-05-19 23:35:02 +00:00 committed by Android Git Automerger
commit 1f71e131b6
4 changed files with 7 additions and 6 deletions

View File

@ -49,8 +49,7 @@ LOCAL_MODULE_STEM_64 := bionic-benchmarks64
LOCAL_MULTILIB := both LOCAL_MULTILIB := both
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
LOCAL_CFLAGS += $(benchmark_c_flags) LOCAL_CFLAGS += $(benchmark_c_flags)
LOCAL_C_INCLUDES += external/stlport/stlport bionic/ bionic/libstdc++/include include external/libcxx/libcxx.mk
LOCAL_SHARED_LIBRARIES += libstlport
LOCAL_SRC_FILES := $(benchmark_src_files) LOCAL_SRC_FILES := $(benchmark_src_files)
include $(BUILD_EXECUTABLE) include $(BUILD_EXECUTABLE)

View File

@ -77,7 +77,7 @@ LOCAL_LDLIBS := \
$($(module)_ldlibs_$(build_type)) \ $($(module)_ldlibs_$(build_type)) \
ifeq ($(build_type),target) ifeq ($(build_type),target)
include external/stlport/libstlport.mk include external/libcxx/libcxx.mk
include $(BUILD_$(build_target)) include $(BUILD_$(build_target))
endif endif

View File

@ -107,6 +107,9 @@ libBionicStandardTests_src_files := \
unistd_test.cpp \ unistd_test.cpp \
wchar_test.cpp \ wchar_test.cpp \
libBionicStandardTests_c_includes := \
bionic/libc/private \
libBionicStandardTests_cflags := \ libBionicStandardTests_cflags := \
$(test_cflags) \ $(test_cflags) \
@ -319,10 +322,9 @@ bionic-unit-tests-static_whole_static_libraries := \
libBionicTests \ libBionicTests \
bionic-unit-tests-static_static_libraries := \ bionic-unit-tests-static_static_libraries := \
libstlport_static \
libm \ libm \
libc \ libc \
libstdc++ \ libc++ \
bionic-unit-tests-static_force_static_executable := true bionic-unit-tests-static_force_static_executable := true

View File

@ -27,7 +27,7 @@
#include "ScopedSignalHandler.h" #include "ScopedSignalHandler.h"
#if defined(__BIONIC__) // mktime_tz is a bionic extension. #if defined(__BIONIC__) // mktime_tz is a bionic extension.
#include <libc/private/bionic_time.h> #include <bionic_time.h>
#endif // __BIONIC__ #endif // __BIONIC__
TEST(time, mktime_tz) { TEST(time, mktime_tz) {