| 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 2622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2633 '-Wno-deprecated-register', | 2633 '-Wno-deprecated-register', |
| 2634 | 2634 |
| 2635 # TODO(hans): Get this cleaned up, http://crbug.com/428099 | 2635 # TODO(hans): Get this cleaned up, http://crbug.com/428099 |
| 2636 '-Wno-inconsistent-missing-override', | 2636 '-Wno-inconsistent-missing-override', |
| 2637 | 2637 |
| 2638 # TODO(thakis): Enable this, crbug.com/507717 | 2638 # TODO(thakis): Enable this, crbug.com/507717 |
| 2639 '-Wno-shift-negative-value', | 2639 '-Wno-shift-negative-value', |
| 2640 | 2640 |
| 2641 # TODO(thakis): https://crbug.com/604888 | 2641 # TODO(thakis): https://crbug.com/604888 |
| 2642 '-Wno-undefined-var-template', | 2642 '-Wno-undefined-var-template', |
| 2643 |
| 2644 # TODO(thakis): https://crbug.com/617318 |
| 2645 '-Wno-nonportable-include-path', |
| 2643 ], | 2646 ], |
| 2644 }, | 2647 }, |
| 2645 'includes': [ 'set_clang_warning_flags.gypi', ], | 2648 'includes': [ 'set_clang_warning_flags.gypi', ], |
| 2646 'defines': [ | 2649 'defines': [ |
| 2647 # Don't use deprecated V8 APIs anywhere. | 2650 # Don't use deprecated V8 APIs anywhere. |
| 2648 'V8_DEPRECATION_WARNINGS', | 2651 'V8_DEPRECATION_WARNINGS', |
| 2649 ], | 2652 ], |
| 2650 'include_dirs': [ | 2653 'include_dirs': [ |
| 2651 '<(SHARED_INTERMEDIATE_DIR)', | 2654 '<(SHARED_INTERMEDIATE_DIR)', |
| 2652 ], | 2655 ], |
| (...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3041 'defines': [ | 3044 'defines': [ |
| 3042 'ADDRESS_SANITIZER', | 3045 'ADDRESS_SANITIZER', |
| 3043 'MEMORY_TOOL_REPLACES_ALLOCATOR', | 3046 'MEMORY_TOOL_REPLACES_ALLOCATOR', |
| 3044 'MEMORY_SANITIZER_INITIAL_SIZE', | 3047 'MEMORY_SANITIZER_INITIAL_SIZE', |
| 3045 ], | 3048 ], |
| 3046 }], | 3049 }], |
| 3047 ['enable_wexit_time_destructors==1 and OS!="win"', { | 3050 ['enable_wexit_time_destructors==1 and OS!="win"', { |
| 3048 # TODO: Enable on Windows too, http://crbug.com/404525 | 3051 # TODO: Enable on Windows too, http://crbug.com/404525 |
| 3049 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, | 3052 'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, |
| 3050 }], | 3053 }], |
| 3051 ['"<!(python <(DEPTH)/tools/clang/scripts/update.py --print-revision)"!="2
70823-1"', { | |
| 3052 # TODO(thakis): https://crbug.com/617318 | |
| 3053 'variables': { 'clang_warning_flags': ['-Wno-nonportable-include-path']}
, | |
| 3054 }], | |
| 3055 ['chromium_code==0', { | 3054 ['chromium_code==0', { |
| 3056 'variables': { | 3055 'variables': { |
| 3057 'clang_warning_flags': [ | 3056 'clang_warning_flags': [ |
| 3058 # Lots of third-party libraries have unused variables. Instead of | 3057 # Lots of third-party libraries have unused variables. Instead of |
| 3059 # suppressing them individually, we just blanket suppress them here. | 3058 # suppressing them individually, we just blanket suppress them here. |
| 3060 '-Wno-unused-variable', | 3059 '-Wno-unused-variable', |
| 3061 ], | 3060 ], |
| 3062 }, | 3061 }, |
| 3063 'conditions': [ | 3062 'conditions': [ |
| 3064 [ 'os_posix==1 and OS!="mac" and OS!="ios"', { | 3063 [ 'os_posix==1 and OS!="mac" and OS!="ios"', { |
| (...skipping 3280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6345 # settings in target dicts. SYMROOT is a special case, because many other | 6344 # settings in target dicts. SYMROOT is a special case, because many other |
| 6346 # Xcode variables depend on it, including variables such as | 6345 # Xcode variables depend on it, including variables such as |
| 6347 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6346 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6348 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6347 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6349 # files to appear (when present) in the UI as actual files and not red | 6348 # files to appear (when present) in the UI as actual files and not red |
| 6350 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6349 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6351 # and therefore SYMROOT, needs to be set at the project level. | 6350 # and therefore SYMROOT, needs to be set at the project level. |
| 6352 'SYMROOT': '<(DEPTH)/xcodebuild', | 6351 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6353 }, | 6352 }, |
| 6354 } | 6353 } |
| OLD | NEW |