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', |