History log of /ndk/sources/android/support/include/monetary.h
Revision Date Author Comments
7cd0bc09a50cce63a083e9d9c4555e3bb0dc001e 29-May-2014 Andrew Hsieh <andrewhsieh@google.com> Trim android/support for 64-bit

android/support exists for the purpose of filling libc/libm API gaps
between what's have in android-3 and what libc++ needs. Since we
start from clean slate in 64-bit, most of APIs (if not all) in
android/support should be gone.

Benefits in 64-bit land:
1) Smaller libc++ libraries
2) Less chances for libc++ to depends on functions (eg. __srefill) no longer
visible in libc.so

Change-Id: Ieeae6df5a0c11f409916a990302059a29f6d0f09
041656818eb2625982d4b55d176468a4bd07fb32 07-Jun-2013 David 'Digit' Turner <digit@android.com> libc++: Use Android support library.

This improves libc++ in several ways:

- It adds a new static helper library under
sources/android/support/ to provide missing functionality
from Bionic, which are required to support wide chars
and UTF-8 encoded multi byte strings properly, as well
as locales and other stuff.

See README file in this directory for more details.

- It makes the ndk-build of libc++ use the support library.

- It provides a work-around for the Bionic limitation in its
<ctype.h> table named _ctype_, which doesn't include a bit
flag for blank characters (there is a _B flag which is only
used on SPACE (32), to implement isprint()).

See .../libcxx/support/android/locale_android.cpp

This removes the need to completely wrap <ctype.h>
in the support library itself.

+ Add two new unit tests to the NDK:

- test-android-support
- test-libc++

The first one builds and runs a small unit test suite
for the support library to verify it works properly.
This is completely independent from libc++.

The second one builds a minimalistic "Hello World"
program. Note that this uses a hack to avoid a runtime
crash (see sources/cxx-stl/llvm-libc++/test/test_1.cc)

TODO:
- Move the support library into its own independent
patch, when we're confident it works well enough.

Change-Id: I662f48a5ae602975a80b732f8738025f7e50a275