| OLD | NEW |
| 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 3102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3113 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { | 3113 ['<(use_nss_certs)==1 and >(nacl_untrusted_build)==0', { |
| 3114 'defines': ['USE_NSS_CERTS=1'], | 3114 'defines': ['USE_NSS_CERTS=1'], |
| 3115 }], | 3115 }], |
| 3116 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { | 3116 ['<(chromeos)==1 and >(nacl_untrusted_build)==0', { |
| 3117 'defines': ['OS_CHROMEOS=1'], | 3117 'defines': ['OS_CHROMEOS=1'], |
| 3118 }], | 3118 }], |
| 3119 ['enable_wexit_time_destructors==1 and OS!="win"', { | 3119 ['enable_wexit_time_destructors==1 and OS!="win"', { |
| 3120 # TODO: Enable on Windows too, http://crbug.com/404525 | 3120 # TODO: Enable on Windows too, http://crbug.com/404525 |
| 3121 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, | 3121 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, |
| 3122 }], | 3122 }], |
| 3123 ['"<!(python <(DEPTH)/tools/clang/scripts/update.py --print-revision)"!="2
57955-1"', { | |
| 3124 # TODO(thakis): Remove once | |
| 3125 # https://chromium-review.googlesource.com/#/c/324860/ is in. | |
| 3126 'variables': { 'clang_warning_flags': ['-Wno-constant-conversion']}, | |
| 3127 }], | |
| 3128 ['chromium_code==0', { | 3123 ['chromium_code==0', { |
| 3129 'variables': { | 3124 'variables': { |
| 3130 'clang_warning_flags': [ | 3125 'clang_warning_flags': [ |
| 3131 # Lots of third-party libraries have unused variables. Instead of | 3126 # Lots of third-party libraries have unused variables. Instead of |
| 3132 # suppressing them individually, we just blanket suppress them here. | 3127 # suppressing them individually, we just blanket suppress them here. |
| 3133 '-Wno-unused-variable', | 3128 '-Wno-unused-variable', |
| 3134 ], | 3129 ], |
| 3135 }, | 3130 }, |
| 3136 'conditions': [ | 3131 'conditions': [ |
| 3137 [ 'os_posix==1 and OS!="mac" and OS!="ios"', { | 3132 [ 'os_posix==1 and OS!="mac" and OS!="ios"', { |
| (...skipping 3263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6401 # settings in target dicts. SYMROOT is a special case, because many other | 6396 # settings in target dicts. SYMROOT is a special case, because many other |
| 6402 # Xcode variables depend on it, including variables such as | 6397 # Xcode variables depend on it, including variables such as |
| 6403 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6398 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6404 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6399 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6405 # files to appear (when present) in the UI as actual files and not red | 6400 # files to appear (when present) in the UI as actual files and not red |
| 6406 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6401 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6407 # and therefore SYMROOT, needs to be set at the project level. | 6402 # and therefore SYMROOT, needs to be set at the project level. |
| 6408 'SYMROOT': '<(DEPTH)/xcodebuild', | 6403 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6409 }, | 6404 }, |
| 6410 } | 6405 } |
| OLD | NEW |