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

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, round two. 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..75342c569f6b9c486ab1a0b9fbadfc9a3c685eba 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.
+ 'xcode_settings': { 'WARNING_CFLAGS': ['-Wpartial-availability']},
+ }],
['(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