Commit 7943910c authored by erikchen's avatar erikchen Committed by Commit bot

mac: Turn on partial availability warning.

When compiling Objective C, warns if a method is used whose availability is
newer than the deployment target.

BUG=471823

Review URL: https://codereview.chromium.org/1140423002

Cr-Commit-Position: refs/heads/master@{#330573}
parent b5dd6d28
......@@ -2584,6 +2584,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',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment