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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 2560 matching lines...) Expand 10 before | Expand all | Expand 10 after
2571 }, 2571 },
2572 'includes': [ 'set_clang_warning_flags.gypi', ], 2572 'includes': [ 'set_clang_warning_flags.gypi', ],
2573 'defines': [ 2573 'defines': [
2574 # Don't use deprecated V8 APIs anywhere. 2574 # Don't use deprecated V8 APIs anywhere.
2575 'V8_DEPRECATION_WARNINGS', 2575 'V8_DEPRECATION_WARNINGS',
2576 ], 2576 ],
2577 'include_dirs': [ 2577 'include_dirs': [
2578 '<(SHARED_INTERMEDIATE_DIR)', 2578 '<(SHARED_INTERMEDIATE_DIR)',
2579 ], 2579 ],
2580 'conditions': [ 2580 'conditions': [
2581 ['OS=="mac"', {
2582 # When compiling Objective C, warns if a method is used whose
2583 # availability is newer than the deployment target.
2584 '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.
2585 }],
2581 ['(OS=="mac" or OS=="ios") and asan==1', { 2586 ['(OS=="mac" or OS=="ios") and asan==1', {
2582 'dependencies': [ 2587 'dependencies': [
2583 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime', 2588 '<(DEPTH)/build/mac/asan.gyp:asan_dynamic_runtime',
2584 ], 2589 ],
2585 }], 2590 }],
2586 ['OS=="win" and asan==1 and component=="shared_library"', { 2591 ['OS=="win" and asan==1 and component=="shared_library"', {
2587 'dependencies': [ 2592 'dependencies': [
2588 '<(DEPTH)/build/win/asan.gyp:asan_dynamic_runtime', 2593 '<(DEPTH)/build/win/asan.gyp:asan_dynamic_runtime',
2589 ], 2594 ],
2590 }], 2595 }],
(...skipping 3595 matching lines...) Expand 10 before | Expand all | Expand 10 after
6186 # settings in target dicts. SYMROOT is a special case, because many other 6191 # settings in target dicts. SYMROOT is a special case, because many other
6187 # Xcode variables depend on it, including variables such as 6192 # Xcode variables depend on it, including variables such as
6188 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6193 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6189 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6194 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6190 # files to appear (when present) in the UI as actual files and not red 6195 # files to appear (when present) in the UI as actual files and not red
6191 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6196 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6192 # and therefore SYMROOT, needs to be set at the project level. 6197 # and therefore SYMROOT, needs to be set at the project level.
6193 'SYMROOT': '<(DEPTH)/xcodebuild', 6198 'SYMROOT': '<(DEPTH)/xcodebuild',
6194 }, 6199 },
6195 } 6200 }
OLDNEW
« 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