Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 73a7202fa733b342b8f503851beae13aaace5bfb..0bc48a556e78b42c128a0a0dc945664d232979fc 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': [ |