Run base_unittests_apk on the test try bot for realz.
This will make the android_test bot red when apk tests fail.
The ANDROID_APK_TEST_TARGET flag is required while we transition from executable to APK tests.
- Executable tests need the DIR_CACHE override as the default path comes from the java side.
BUG=125059
Review URL: https://chromiumcodereview.appspot.com/10332230
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@138407 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/build/common.gypi b/build/common.gypi
index 73a7202f..0bc48a5 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -901,7 +901,7 @@
'notifications%': 0,
'gtest_target_type%': '<(gtest_target_type)',
- # TODO(jrg): when 'gtest_target_type'=='shared_libary' and
+ # TODO(jrg): when 'gtest_target_type'=='shared_library' and
# OS==android, make all gtest_targets depend on
# testing/android/native_test.gyp:native_test_apk.
### 'gtest_target_type': 'shared_libary',
@@ -1349,6 +1349,9 @@
['enable_metro==1', {
'defines': ['ENABLE_METRO=1'],
}],
+ ['OS=="android" and gtest_target_type=="shared_library"', {
+ 'defines': ['ANDROID_APK_TEST_TARGET=1'],
+ }],
['fastbuild!=0', {
'conditions': [