Cleanup the ASTL makefiles.

src/Android.mk:
Removed empty lines.
Removed the ifdef ASTL_TESTS guard and replaced it with a
HOST_OS == linux one. The tests will now be built by default
for the targets and on linux hosts.
Renamed the host module name to libastl_host. Now need to submit
a CL to fix the gtest project before this one can go in.

tests/Android.mk:
Test targets ends with _host to avoid multiple modules (host vs target) with
the same name.

Removed verbosity of the makefile (dropped the $(info xxx) statements).
Collapsed the 2 define tests into one (similar to the one in the gtest package).
Extracted the common include directives to a new libastl_test_includes var.
Got rid of unused EXTRA_CFLAGS (uses LOCAL_C_INCLUDES) and EXTRA_LDFLAGS.

Removed the ASTL_TESTS guard, the tests will always be built.
A host version is built on Linux to run under valgrind.

Forces the tests to go under /data and not /system/bin

Tested: Build on linux for passion-eng and sim-eng
2 files changed
tree: f5d1aa6669809421b6e1a2ae7400afe78b01b5a1
  1. Android.mk
  2. README
  3. include/
  4. src/
  5. tests/