Skip to content

Commit

Permalink
Replace final remnants of the old android_support.
Browse files Browse the repository at this point in the history
It's over now, mister Frodo.

Test: ./checkbuild.py && ./run_tests.py
Bug: android/ndk#300
Change-Id: I708d8e4eca491488cc2bd7387fe2da90a45f2d8d
  • Loading branch information
DanAlbert committed Jul 13, 2017
1 parent df9a4dd commit a7947cf
Show file tree
Hide file tree
Showing 20 changed files with 138 additions and 5,016 deletions.
22 changes: 1 addition & 21 deletions sources/android/support/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,7 @@ android_support_sources := \
src/posix_memalign.cpp \
src/stdlib_support.cpp \
src/swprintf.cpp \

# These are old sources that should be purged/rewritten/taken from bionic.
android_support_sources += \
src/wcstox/floatscan.c \
src/wcstox/intscan.c \
src/wcstox/shgetc.c \
src/wcstox/wcstod.c \
src/wcstox/wcstol.c \
src/wcstox.cpp \

ifneq (armeabi,$(TARGET_ARCH_ABI))
# The file uses instructions that aren't available in arm5.
Expand Down Expand Up @@ -159,19 +152,6 @@ LOCAL_CPPFLAGS := \
-fvisibility-inlines-hidden \
-std=c++11 \

# These Clang warnings are triggered by the Musl sources. The code is fine,
# but we don't want to modify it. TODO(digit): This is potentially dangerous,
# see if there is a way to build the Musl sources in a separate static library
# and have the main one depend on it, or include its object files.
ifneq ($(TARGET_TOOLCHAIN),$(subst clang,,$(TARGET_TOOLCHAIN)))
LOCAL_CFLAGS += \
-Wno-shift-op-parentheses \
-Wno-string-plus-int \
-Wno-dangling-else \
-Wno-bitwise-op-parentheses \
-Wno-shift-negative-value
endif

LOCAL_EXPORT_C_INCLUDES := $(android_support_export_c_includes)

include $(BUILD_STATIC_LIBRARY)
Expand Down
60 changes: 0 additions & 60 deletions sources/android/support/src/stdio/amd64/_fpmath.h

This file was deleted.

63 changes: 0 additions & 63 deletions sources/android/support/src/stdio/arm/_fpmath.h

This file was deleted.

73 changes: 0 additions & 73 deletions sources/android/support/src/stdio/arm64/_fpmath.h

This file was deleted.

54 changes: 0 additions & 54 deletions sources/android/support/src/stdio/i386/_fpmath.h

This file was deleted.

83 changes: 0 additions & 83 deletions sources/android/support/src/stdio/mips/_fpmath.h

This file was deleted.

Loading

0 comments on commit a7947cf

Please sign in to comment.