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 2126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2137 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message("
whitelisted_resource_{numeric_id}")) {numeric_id}'], | 2137 'grit_rc_header_format': ['-h', '#define {textual_id} __pragma(message("
whitelisted_resource_{numeric_id}")) {numeric_id}'], |
2138 }], | 2138 }], |
2139 ['enable_mdns==1 or OS=="mac"', { | 2139 ['enable_mdns==1 or OS=="mac"', { |
2140 'grit_defines': ['-D', 'enable_service_discovery'], | 2140 'grit_defines': ['-D', 'enable_service_discovery'], |
2141 'enable_service_discovery%': 1 | 2141 'enable_service_discovery%': 1 |
2142 }], | 2142 }], |
2143 ['clang_use_chrome_plugins==1 and OS!="win"', { | 2143 ['clang_use_chrome_plugins==1 and OS!="win"', { |
2144 'clang_chrome_plugins_flags': [ | 2144 'clang_chrome_plugins_flags': [ |
2145 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' | 2145 '<!@(<(DEPTH)/tools/clang/scripts/plugin_flags.sh)' |
2146 ], | 2146 ], |
2147 'conditions': [ | |
2148 # TODO(dcheng): https://crbug.com/417463 -- work to enable this flag | |
2149 # on all platforms is currently underway. | |
2150 ['OS=="android" or OS=="linux" or OS=="mac" or OS=="ios"', { | |
2151 'clang_chrome_plugins_flags': [ | |
2152 '-Xclang', | |
2153 '-plugin-arg-find-bad-constructs', | |
2154 '-Xclang', | |
2155 'strict-virtual-specifiers', | |
2156 ], | |
2157 }], | |
2158 ], | |
2159 }], | 2147 }], |
2160 ['asan==1 or msan==1 or lsan==1 or tsan==1', { | 2148 ['asan==1 or msan==1 or lsan==1 or tsan==1', { |
2161 'clang%': 1, | 2149 'clang%': 1, |
2162 'use_allocator%': 'none', | 2150 'use_allocator%': 'none', |
2163 'use_sanitizer_options%': 1, | 2151 'use_sanitizer_options%': 1, |
2164 }], | 2152 }], |
2165 ['asan==1 and OS=="linux" and chromeos==0', { | 2153 ['asan==1 and OS=="linux" and chromeos==0', { |
2166 'use_custom_libcxx%': 1, | 2154 'use_custom_libcxx%': 1, |
2167 }], | 2155 }], |
2168 ['ubsan==1', { | 2156 ['ubsan==1', { |
(...skipping 3739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5908 # settings in target dicts. SYMROOT is a special case, because many other | 5896 # settings in target dicts. SYMROOT is a special case, because many other |
5909 # Xcode variables depend on it, including variables such as | 5897 # Xcode variables depend on it, including variables such as |
5910 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5898 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5911 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5899 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5912 # files to appear (when present) in the UI as actual files and not red | 5900 # files to appear (when present) in the UI as actual files and not red |
5913 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5901 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5914 # and therefore SYMROOT, needs to be set at the project level. | 5902 # and therefore SYMROOT, needs to be set at the project level. |
5915 'SYMROOT': '<(DEPTH)/xcodebuild', | 5903 'SYMROOT': '<(DEPTH)/xcodebuild', |
5916 }, | 5904 }, |
5917 } | 5905 } |
OLD | NEW |