In gcc 4.6.1 (default in an Ubuntu 11.10 environment) stddef is not implicitly included by including vector (or other libraries included in this file). This is needed for ptrdiff_t which is used on L123. Change-Id: Id3e22e4e8155b343acaa5672c570d748270b2dce
As far as I can tell that didn't ever work. Cherry pick of I08c0fe71a0b7dc7ad7b5e120d965fe0029b649d1 http://b/4584343 Change-Id: I083e309a7b42109dce702de4f7492622edd7e9cc
src/Android.mk Added _host prefix to the module name for host build to prevent name clashes with the device's targets. tests/Android.mk Added _host prefix to the tests built on host. Use new variables to list the required libraries. This is needed because the host libs now have a _host suffix so I maintain the 2 lists of libs separatly. Tests are systematically built. Tested: On linux, build passion-eng and sim-eng Needs to be submitted before Id4771c5f
For the linux targets, fixed the include directives to include libstdc++ and astl. For the targets, both libgtest and libgtest_main are built. Tested on linux: passion-eng and sim-eng.
….mk changes will be sent in a separate CL."
Android.mk changes will be sent in a separate CL. gtest-port.h: need to include the linux like header files. gtest-port.cc: disabled RTTI tests, we don't support it. disabled typed tests we are missing the cxxabi.h file. reenabled death tests, they work fine on android. gtest-filepath_test.cc: Use the sdcard as the /tmp equivalent on android. gtest-unittest.cc : ditto gtest_uniitest.cc: disabled wchar tests. disabled some float/double formatting tests (not important) disabled some NEAR assertion tests for float/double (should look into that) Bug 2398288
Removed from the makefile the explicit OS setting (was linux) Added a new OS: Android. When -DANDROID is specified during preprocessing, the right includes should happen.
Currently builds only under linux. Support for darwin and windows will be added later. Removed unecessary make files for other systems. Added Android.mk to build the libraries and test suite on host. Will enable the target build when the aSTL is available. Added NOTICE and MODULE_LICENSE files. Tests are tagged with 'eng' and 'tests'
Removed unecessary make files for other systems. Added Android.mk to build the libraries and test suite on host. Will enable the target build when the aSTL is available. Added NOTICE and MODULE_LICENSE files. Tests are tagged with 'eng' and 'tests'