summaryrefslogtreecommitdiffstats
path: root/testing/gtest.gyp
diff options
context:
space:
mode:
authoreugenebut@chromium.org <eugenebut@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-10 00:41:02 +0000
committereugenebut@chromium.org <eugenebut@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-10 00:41:02 +0000
commit9b00523e53559b874d1de527131baec833fb5489 (patch)
tree8fa97c71af5a2273c7016052c43479d932b1e276 /testing/gtest.gyp
parent69e4cb03edb7e8797bb243071256c32a8cae59b3 (diff)
downloadchromium_src-9b00523e53559b874d1de527131baec833fb5489.zip
chromium_src-9b00523e53559b874d1de527131baec833fb5489.tar.gz
chromium_src-9b00523e53559b874d1de527131baec833fb5489.tar.bz2
Flush gcda (code coverage) files manually in iOS Platform Test.
iOS 7 does not call any code at the "end" of an app so flushing should be performed manually. BUG=392265 Review URL: https://codereview.chromium.org/375033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@282195 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing/gtest.gyp')
-rw-r--r--testing/gtest.gyp11
1 files changed, 10 insertions, 1 deletions
diff --git a/testing/gtest.gyp b/testing/gtest.gyp
index 69b2bf5..e2dc66a 100644
--- a/testing/gtest.gyp
+++ b/testing/gtest.gyp
@@ -66,7 +66,6 @@
'sources': [
'gtest_mac.h',
'gtest_mac.mm',
- 'platform_test_mac.mm'
],
'link_settings': {
'libraries': [
@@ -74,6 +73,11 @@
],
},
}],
+ ['OS == "mac"', {
+ 'sources': [
+ 'platform_test_mac.mm',
+ ],
+ }],
['OS == "ios"', {
'dependencies' : [
'<(DEPTH)/testing/iossim/iossim.gyp:iossim#host',
@@ -105,6 +109,11 @@
}],
],
},
+ 'sources': [
+ 'coverage_util_ios.cc',
+ 'coverage_util_ios.h',
+ 'platform_test_ios.mm',
+ ],
}],
['OS=="ios" and asan==1', {
'direct_dependent_settings': {