Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2660)

Unified Diff: build/common.gypi

Issue 1140423002: mac: Turn on partial availability warning. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments from thakis. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 2f5ea2d1ca409171500de7853b635c68a234b13a..0410775b13216f5918f1c205684257fc234c70a5 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -2578,6 +2578,11 @@
'<(SHARED_INTERMEDIATE_DIR)',
],
'conditions': [
+ ['OS=="mac"', {
+ # When compiling Objective C, warns if a method is used whose
+ # availability is newer than the deployment target.
+ 'variables': { 'clang_warning_flags': ['-Wpartial-availability']},
Nico 2015/05/19 01:40:31 If this is only for mac anyways, you could instead
erikchen 2015/05/19 17:06:20 Done.
+ }],
['(OS=="mac" or OS=="ios") and asan==1', {
'dependencies': [
'<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698