| 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 2139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2150 'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("whitelist
ed_resource_{numeric_id}") {numeric_id}'], | 2150 'grit_rc_header_format': ['-h', '#define {textual_id} _Pragma("whitelist
ed_resource_{numeric_id}") {numeric_id}'], |
| 2151 }], | 2151 }], |
| 2152 ['enable_resource_whitelist_generation==1 and OS=="win"', { | 2152 ['enable_resource_whitelist_generation==1 and OS=="win"', { |
| 2153 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message("
whitelisted_resource_{numeric_id}")) {numeric_id}'], | 2153 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message("
whitelisted_resource_{numeric_id}")) {numeric_id}'], |
| 2154 }], | 2154 }], |
| 2155 ['enable_mdns==1 or OS=="mac"', { | 2155 ['enable_mdns==1 or OS=="mac"', { |
| 2156 'grit_defines': ['-D', 'enable_service_discovery'], | 2156 'grit_defines': ['-D', 'enable_service_discovery'], |
| 2157 'enable_service_discovery%': 1 | 2157 'enable_service_discovery%': 1 |
| 2158 }], | 2158 }], |
| 2159 ['clang_use_chrome_plugins==1 and OS!="win"', { | 2159 ['clang_use_chrome_plugins==1 and OS!="win"', { |
| 2160 'clang_chrome_plugins_flags': [ | 2160 'clang_chrome_plugins_flags%': |
| 2161 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' | 2161 '<!(python <(DEPTH)/tools/clang/scripts/plugin_flags.py)', |
| 2162 ], | |
| 2163 }], | 2162 }], |
| 2164 ['asan==1 or msan==1 or lsan==1 or tsan==1', { | 2163 ['asan==1 or msan==1 or lsan==1 or tsan==1', { |
| 2165 'clang%': 1, | 2164 'clang%': 1, |
| 2166 'use_allocator%': 'none', | 2165 'use_allocator%': 'none', |
| 2167 'use_sanitizer_options%': 1, | 2166 'use_sanitizer_options%': 1, |
| 2168 # Disable ICF in the linker to avoid debug info loss. | 2167 # Disable ICF in the linker to avoid debug info loss. |
| 2169 'gold_icf_level%': 'none', | 2168 'gold_icf_level%': 'none', |
| 2170 }], | 2169 }], |
| 2171 ['asan==1 and OS=="linux" and chromeos==0', { | 2170 ['asan==1 and OS=="linux" and chromeos==0', { |
| 2172 'use_custom_libcxx%': 1, | 2171 'use_custom_libcxx%': 1, |
| (...skipping 3802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5975 # settings in target dicts. SYMROOT is a special case, because many other | 5974 # settings in target dicts. SYMROOT is a special case, because many other |
| 5976 # Xcode variables depend on it, including variables such as | 5975 # Xcode variables depend on it, including variables such as |
| 5977 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5976 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5978 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5977 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5979 # files to appear (when present) in the UI as actual files and not red | 5978 # files to appear (when present) in the UI as actual files and not red |
| 5980 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5979 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5981 # and therefore SYMROOT, needs to be set at the project level. | 5980 # and therefore SYMROOT, needs to be set at the project level. |
| 5982 'SYMROOT': '<(DEPTH)/xcodebuild', | 5981 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5983 }, | 5982 }, |
| 5984 } | 5983 } |
| OLD | NEW |