| 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 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 677 | 677 |
| 678 # Automatically select platforms under ozone. Turn this off to | 678 # Automatically select platforms under ozone. Turn this off to |
| 679 # build only explicitly selected platforms. | 679 # build only explicitly selected platforms. |
| 680 'ozone_auto_platforms%': 1, | 680 'ozone_auto_platforms%': 1, |
| 681 | 681 |
| 682 # If this is set clang is used as host compiler, but not as target | 682 # If this is set clang is used as host compiler, but not as target |
| 683 # compiler. Always do this by default. | 683 # compiler. Always do this by default. |
| 684 'host_clang%': 1, | 684 'host_clang%': 1, |
| 685 | 685 |
| 686 # Variables to control Link-Time Optimization (LTO). | 686 # Variables to control Link-Time Optimization (LTO). |
| 687 # On Android, the variable use_lto enables LTO on code compiled with -Os, | 687 # On Android, when using GCC LTO, the variable use_lto enables LTO on code |
| 688 # and use_lto_o2 enables LTO on code compiled with -O2. On other | 688 # compiled with -Os, and use_lto_o2 enables LTO on code compiled with -O2. |
| 689 # platforms, use_lto enables LTO in all translation units, and use_lto_o2 | 689 # On other platforms, use_lto enables LTO in all translation units, and |
| 690 # has no effect. | 690 # use_lto_o2 has no effect. |
| 691 # | 691 # |
| 692 # On Linux and Android, when using LLVM LTO, the script | 692 # On Linux and Android, when using LLVM LTO, the script |
| 693 # build/download_gold_plugin.py must be run to download a linker plugin. | 693 # build/download_gold_plugin.py must be run to download a linker plugin. |
| 694 # On Mac, LLVM needs to be built from scratch using | 694 # On Mac, LLVM needs to be built from scratch using |
| 695 # tools/clang/scripts/update.py and the absolute path to | 695 # tools/clang/scripts/update.py and the absolute path to |
| 696 # third_party/llvm-build/Release+Asserts/lib must be added to | 696 # third_party/llvm-build/Release+Asserts/lib must be added to |
| 697 # $DYLD_LIBRARY_PATH to pick up the right version of the linker plugin. | 697 # $DYLD_LIBRARY_PATH to pick up the right version of the linker plugin. |
| 698 # | 698 # |
| 699 # On Android, the variables must *not* be enabled at the same time. | 699 # On Android/GCC, the variables must *not* be enabled at the same time. |
| 700 # In this case LTO would 'merge' the optimization flags at link-time | 700 # In this case LTO would 'merge' the optimization flags at link-time |
| 701 # which would lead to all code be optimized with -O2. See crbug.com/407544 | 701 # which would lead to all code be optimized with -O2. See crbug.com/407544 |
| 702 'use_lto%': 0, | 702 'use_lto%': 0, |
| 703 'use_lto_o2%': 0, | 703 'use_lto_o2%': 0, |
| 704 | 704 |
| 705 # Allowed level of identical code folding in the gold linker. | 705 # Allowed level of identical code folding in the gold linker. |
| 706 'gold_icf_level%': 'all', | 706 'gold_icf_level%': 'all', |
| 707 | 707 |
| 708 # Libxkbcommon usage. | 708 # Libxkbcommon usage. |
| 709 'use_xkbcommon%': 0, | 709 'use_xkbcommon%': 0, |
| (...skipping 5606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6316 # settings in target dicts. SYMROOT is a special case, because many other | 6316 # settings in target dicts. SYMROOT is a special case, because many other |
| 6317 # Xcode variables depend on it, including variables such as | 6317 # Xcode variables depend on it, including variables such as |
| 6318 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6318 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 6319 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6319 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 6320 # files to appear (when present) in the UI as actual files and not red | 6320 # files to appear (when present) in the UI as actual files and not red |
| 6321 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6321 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 6322 # and therefore SYMROOT, needs to be set at the project level. | 6322 # and therefore SYMROOT, needs to be set at the project level. |
| 6323 'SYMROOT': '<(DEPTH)/xcodebuild', | 6323 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 6324 }, | 6324 }, |
| 6325 } | 6325 } |
| OLD | NEW |