aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-21 17:04:29 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-21 17:04:29 +0000
commit866f4e34a943c115ac372c22123a1520aa5f9b06 (patch)
treed2b7e2b36ae069cc1a6936d797d94cf1d3e86d27 /gyp
parent8660783e196dc3cb4ead492253a493844fa43f7a (diff)
optimize pathops coverage
Remove unused code from SkOpSegment.cpp and friends. Add new tests exposed by coverage. Fix a bug exposed by coverage -- removing the need to detect points that are nearby when intersecting. Add gyp rule for building coverage flavor on Mac. R=mtklein@google.com Author: caryclark@google.com Review URL: https://codereview.chromium.org/75453003 git-svn-id: http://skia.googlecode.com/svn/trunk@12344 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gyp')
-rw-r--r--gyp/common_conditions.gypi7
1 files changed, 7 insertions, 0 deletions
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index 9a75fffc2c..d25f035076 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -337,6 +337,13 @@
}],
],
'configurations': {
+ 'Coverage': {
+ 'xcode_settings': {
+ 'GCC_OPTIMIZATION_LEVEL': '0',
+ 'GCC_GENERATE_TEST_COVERAGE_FILES': 'YES',
+ 'GCC_INSTRUMENT_PROGRAM_FLOW_ARCS' : 'YES',
+ },
+ },
'Debug': {
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '0',