summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
Diffstat (limited to 'skia')
-rw-r--r--skia/skia_chrome.gypi20
-rw-r--r--skia/skia_common.gypi5
-rw-r--r--skia/skia_library.gypi12
3 files changed, 12 insertions, 25 deletions
diff --git a/skia/skia_chrome.gypi b/skia/skia_chrome.gypi
index 99c7134..1637e88 100644
--- a/skia/skia_chrome.gypi
+++ b/skia/skia_chrome.gypi
@@ -19,7 +19,13 @@
'ext',
],
},
-
+ 'variables': {
+ # TODO(scottmg): http://crbug.com/177306
+ 'clang_warning_flags_unset': [
+ # Don't warn about string->bool used in asserts.
+ '-Wstring-conversion',
+ ],
+ },
'sources': [
# Note: file list duplicated in GN build.
'ext/analysis_canvas.cc',
@@ -99,18 +105,6 @@
'skia_chrome_opts',
],
}],
- # TODO(scottmg): http://crbug.com/177306
- ['clang==1', {
- 'xcode_settings': {
- 'WARNING_CFLAGS!': [
- # Don't warn about string->bool used in asserts.
- '-Wstring-conversion',
- ],
- },
- 'cflags!': [
- '-Wstring-conversion',
- ],
- }],
[ 'OS != "android" and (OS != "linux" or use_cairo==1)', {
'sources!': [
'ext/bitmap_platform_device_skia.cc',
diff --git a/skia/skia_common.gypi b/skia/skia_common.gypi
index d56070e..2d89b4c 100644
--- a/skia/skia_common.gypi
+++ b/skia/skia_common.gypi
@@ -137,6 +137,11 @@
'skia_support_pdf': 1,
}],
],
+ # TODO(scottmg): http://crbug.com/177306
+ 'clang_warning_flags': [
+ # Don't warn about string->bool used in asserts.
+ '-Wstring-conversion',
+ ]
},
'skia_support_gpu': '<(skia_support_gpu)',
'skia_support_pdf': '<(skia_support_pdf)',
diff --git a/skia/skia_library.gypi b/skia/skia_library.gypi
index 7410d7c..d1fd91e 100644
--- a/skia/skia_library.gypi
+++ b/skia/skia_library.gypi
@@ -358,18 +358,6 @@
'../third_party/skia/src/utils/win/SkHRESULT.cpp',
],
}],
- # TODO(scottmg): http://crbug.com/177306
- ['clang==1', {
- 'xcode_settings': {
- 'WARNING_CFLAGS!': [
- # Don't warn about string->bool used in asserts.
- '-Wstring-conversion',
- ],
- },
- 'cflags!': [
- '-Wstring-conversion',
- ],
- }],
],
'target_conditions': [
# Pull in specific Mac files for iOS (which have been filtered out