Cleanup the ASTL makefiles.
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.
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