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 1437 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1448 ], | 1448 ], |
1449 }, { | 1449 }, { |
1450 'binutils_version%': 0, | 1450 'binutils_version%': 0, |
1451 }], | 1451 }], |
1452 # The version of GCC in use, set later in platforms that use GCC and have | 1452 # The version of GCC in use, set later in platforms that use GCC and have |
1453 # not explicitly chosen to build with clang. Currently, this means all | 1453 # not explicitly chosen to build with clang. Currently, this means all |
1454 # platforms except Windows, Mac and iOS. | 1454 # platforms except Windows, Mac and iOS. |
1455 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1455 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
1456 # it takes effect here. | 1456 # it takes effect here. |
1457 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa
n==0 and tsan==0 and msan==0', { | 1457 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa
n==0 and tsan==0 and msan==0', { |
1458 'host_gcc_version%': '<!pymod_do_main(compiler_version host compiler)', | |
1459 'conditions': [ | 1458 'conditions': [ |
1460 ['OS=="android"', { | 1459 ['OS=="android"', { |
1461 # We directly set the gcc versions since we know what we use. | 1460 # We directly set the gcc versions since we know what we use. |
1462 'gcc_version%': 48, | 1461 'gcc_version%': 48, |
1463 }, { | 1462 }, { |
1464 'gcc_version%': '<!pymod_do_main(compiler_version target compiler)', | 1463 'gcc_version%': '<!pymod_do_main(compiler_version target compiler)', |
1465 }], | 1464 }], |
| 1465 ['android_webview_build==1', { |
| 1466 # Android WebView uses a hermetic toolchain even for host, so set it |
| 1467 # manually here. |
| 1468 'conditions': [ |
| 1469 ['host_os=="mac"', { |
| 1470 'host_gcc_version%': 42, |
| 1471 }, { # linux |
| 1472 'host_gcc_version%': 46, |
| 1473 }], |
| 1474 ], |
| 1475 }, { # android_webview_build!=1 |
| 1476 'host_gcc_version%': '<!pymod_do_main(compiler_version host compiler
)', |
| 1477 }], |
1466 ], | 1478 ], |
1467 }, { | 1479 }, { |
1468 'host_gcc_version%': 0, | 1480 'host_gcc_version%': 0, |
1469 'gcc_version%': 0, | 1481 'gcc_version%': 0, |
1470 }], | 1482 }], |
1471 ['OS=="win" and "<!pymod_do_main(dir_exists <(windows_sdk_default_path))"=
="True"', { | 1483 ['OS=="win" and "<!pymod_do_main(dir_exists <(windows_sdk_default_path))"=
="True"', { |
1472 'windows_sdk_path%': '<(windows_sdk_default_path)', | 1484 'windows_sdk_path%': '<(windows_sdk_default_path)', |
1473 }, { | 1485 }, { |
1474 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', | 1486 'windows_sdk_path%': 'C:/Program Files (x86)/Windows Kits/8.0', |
1475 }], | 1487 }], |
(...skipping 3889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5365 # settings in target dicts. SYMROOT is a special case, because many other | 5377 # settings in target dicts. SYMROOT is a special case, because many other |
5366 # Xcode variables depend on it, including variables such as | 5378 # Xcode variables depend on it, including variables such as |
5367 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5379 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5368 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5380 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5369 # files to appear (when present) in the UI as actual files and not red | 5381 # files to appear (when present) in the UI as actual files and not red |
5370 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5382 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5371 # and therefore SYMROOT, needs to be set at the project level. | 5383 # and therefore SYMROOT, needs to be set at the project level. |
5372 'SYMROOT': '<(DEPTH)/xcodebuild', | 5384 'SYMROOT': '<(DEPTH)/xcodebuild', |
5373 }, | 5385 }, |
5374 } | 5386 } |
OLD | NEW |