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 2216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2227 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll
vm-build/Release+Asserts/lib/libFindBadConstructs.so', | 2227 'clang_lib_path%': '<!(cd <(DEPTH) && pwd -P)/third_party/ll
vm-build/Release+Asserts/lib/libFindBadConstructs.so', |
2228 }], | 2228 }], |
2229 ], | 2229 ], |
2230 }, | 2230 }, |
2231 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ', | 2231 'clang_dynlib_flags%': '-Xclang -load -Xclang <(clang_lib_path) ', |
2232 }, { # OS == "win" | 2232 }, { # OS == "win" |
2233 # On Windows, the plugin is built directly into clang, so there's | 2233 # On Windows, the plugin is built directly into clang, so there's |
2234 # no need to load it dynamically. | 2234 # no need to load it dynamically. |
2235 'clang_dynlib_flags%': '', | 2235 'clang_dynlib_flags%': '', |
2236 }], | 2236 }], |
2237 ['(OS=="android" or OS=="linux") and chromecast==0 and chromeos==0',
{ | 2237 ['(OS=="android" or OS=="linux") and chromecast==0', { |
2238 'clang_plugin_check_ipc_arg': '-Xclang -plugin-arg-find-bad-constr
ucts -Xclang check-ipc', | 2238 'clang_plugin_check_ipc_arg': '-Xclang -plugin-arg-find-bad-constr
ucts -Xclang check-ipc', |
2239 }, { | 2239 }, { |
2240 'clang_plugin_check_ipc_arg': '', | 2240 'clang_plugin_check_ipc_arg': '', |
2241 }], | 2241 }], |
2242 ], | 2242 ], |
2243 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang
check-templates ' | 2243 'clang_plugin_args%': '-Xclang -plugin-arg-find-bad-constructs -Xclang
check-templates ' |
2244 '-Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansio
n ' | 2244 '-Xclang -plugin-arg-find-bad-constructs -Xclang follow-macro-expansio
n ' |
2245 '-Xclang -plugin-arg-find-bad-constructs -Xclang check-implicit-copy-c
tors ', | 2245 '-Xclang -plugin-arg-find-bad-constructs -Xclang check-implicit-copy-c
tors ', |
2246 }, | 2246 }, |
2247 # If you change these, also change build/config/clang/BUILD.gn. | 2247 # If you change these, also change build/config/clang/BUILD.gn. |
(...skipping 4080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6328 # settings in target dicts. SYMROOT is a special case, because many other | 6328 # settings in target dicts. SYMROOT is a special case, because many other |
6329 # Xcode variables depend on it, including variables such as | 6329 # Xcode variables depend on it, including variables such as |
6330 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6330 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6331 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6331 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6332 # files to appear (when present) in the UI as actual files and not red | 6332 # files to appear (when present) in the UI as actual files and not red |
6333 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6333 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6334 # and therefore SYMROOT, needs to be set at the project level. | 6334 # and therefore SYMROOT, needs to be set at the project level. |
6335 'SYMROOT': '<(DEPTH)/xcodebuild', | 6335 'SYMROOT': '<(DEPTH)/xcodebuild', |
6336 }, | 6336 }, |
6337 } | 6337 } |
OLD | NEW |