Chromium Code Reviews| 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 2119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2130 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message(" whitelisted_resource_{numeric_id}")) {numeric_id}'], | 2130 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message(" whitelisted_resource_{numeric_id}")) {numeric_id}'], |
| 2131 }], | 2131 }], |
| 2132 ['enable_mdns==1 or OS=="mac"', { | 2132 ['enable_mdns==1 or OS=="mac"', { |
| 2133 'grit_defines': ['-D', 'enable_service_discovery'], | 2133 'grit_defines': ['-D', 'enable_service_discovery'], |
| 2134 'enable_service_discovery%': 1 | 2134 'enable_service_discovery%': 1 |
| 2135 }], | 2135 }], |
| 2136 ['clang_use_chrome_plugins==1 and OS!="win"', { | 2136 ['clang_use_chrome_plugins==1 and OS!="win"', { |
| 2137 'clang_chrome_plugins_flags': [ | 2137 'clang_chrome_plugins_flags': [ |
| 2138 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' | 2138 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' |
| 2139 ], | 2139 ], |
| 2140 'conditions': [ | |
| 2141 # TODO(dcheng): https://crbug.com/417463 -- work to enable this flag | |
| 2142 # on all platforms is currently underway. | |
| 2143 ['OS=="linux" and chromeos==0', { | |
|
Nico
2014/12/31 01:35:56
(if this ends up breaking the official bots, you c
| |
| 2144 'clang_chrome_plugins_flags': [ | |
| 2145 '-Xclang', | |
| 2146 '-plugin-arg-find-bad-constructs', | |
| 2147 '-Xclang', | |
| 2148 'strict-virtual-specifiers', | |
| 2149 ], | |
| 2150 }], | |
| 2151 ], | |
| 2140 }], | 2152 }], |
| 2141 ['asan==1 or msan==1 or lsan==1 or tsan==1', { | 2153 ['asan==1 or msan==1 or lsan==1 or tsan==1', { |
| 2142 'clang%': 1, | 2154 'clang%': 1, |
| 2143 'use_allocator%': 'none', | 2155 'use_allocator%': 'none', |
| 2144 'use_sanitizer_options%': 1, | 2156 'use_sanitizer_options%': 1, |
| 2145 }], | 2157 }], |
| 2146 ['asan==1 and OS=="linux" and chromeos==0', { | 2158 ['asan==1 and OS=="linux" and chromeos==0', { |
| 2147 'use_custom_libcxx%': 1, | 2159 'use_custom_libcxx%': 1, |
| 2148 }], | 2160 }], |
| 2149 ['ubsan==1', { | 2161 ['ubsan==1', { |
| (...skipping 3677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 5827 # settings in target dicts. SYMROOT is a special case, because many other | 5839 # settings in target dicts. SYMROOT is a special case, because many other |
| 5828 # Xcode variables depend on it, including variables such as | 5840 # Xcode variables depend on it, including variables such as |
| 5829 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5841 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5830 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5842 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5831 # files to appear (when present) in the UI as actual files and not red | 5843 # files to appear (when present) in the UI as actual files and not red |
| 5832 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5844 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5833 # and therefore SYMROOT, needs to be set at the project level. | 5845 # and therefore SYMROOT, needs to be set at the project level. |
| 5834 'SYMROOT': '<(DEPTH)/xcodebuild', | 5846 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5835 }, | 5847 }, |
| 5836 } | 5848 } |
| OLD | NEW |