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 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
746 | 746 |
747 # linux_use_gold_flags: whether to use build flags that rely on gold. | 747 # linux_use_gold_flags: whether to use build flags that rely on gold. |
748 # On by default for x64 Linux. Temporarily off for ChromeOS as | 748 # On by default for x64 Linux. Temporarily off for ChromeOS as |
749 # it failed on a buildbot. | 749 # it failed on a buildbot. |
750 ['OS=="linux" and target_arch=="x64" and chromeos==0', { | 750 ['OS=="linux" and target_arch=="x64" and chromeos==0', { |
751 'linux_use_gold_flags%': 1, | 751 'linux_use_gold_flags%': 1, |
752 }, { | 752 }, { |
753 'linux_use_gold_flags%': 0, | 753 'linux_use_gold_flags%': 0, |
754 }], | 754 }], |
755 | 755 |
| 756 # linux_use_debug_fission: whether to use split DWARF debug info |
| 757 # files. This can reduce link time significantly, but is incompatible |
| 758 # with some utilities such as icecc and ccache. Requires gold and |
| 759 # gcc >= 4.8 or clang. |
| 760 # http://gcc.gnu.org/wiki/DebugFission |
| 761 ['OS=="linux" and target_arch=="x64"', { |
| 762 'linux_use_debug_fission%': 1, |
| 763 }, { |
| 764 'linux_use_debug_fission%': 0, |
| 765 }], |
| 766 |
756 ['OS=="android" or OS=="ios"', { | 767 ['OS=="android" or OS=="ios"', { |
757 'enable_captive_portal_detection%': 0, | 768 'enable_captive_portal_detection%': 0, |
758 }, { | 769 }, { |
759 'enable_captive_portal_detection%': 1, | 770 'enable_captive_portal_detection%': 1, |
760 }], | 771 }], |
761 | 772 |
762 # Enable Skia UI text drawing incrementally on different platforms. | 773 # Enable Skia UI text drawing incrementally on different platforms. |
763 # http://crbug.com/105550 | 774 # http://crbug.com/105550 |
764 # | 775 # |
765 # On Aura, this allows per-tile painting to be used in the browser | 776 # On Aura, this allows per-tile painting to be used in the browser |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
994 'enable_extensions%': '<(enable_extensions)', | 1005 'enable_extensions%': '<(enable_extensions)', |
995 'enable_plugin_installation%': '<(enable_plugin_installation)', | 1006 'enable_plugin_installation%': '<(enable_plugin_installation)', |
996 'enable_plugins%': '<(enable_plugins)', | 1007 'enable_plugins%': '<(enable_plugins)', |
997 'enable_session_service%': '<(enable_session_service)', | 1008 'enable_session_service%': '<(enable_session_service)', |
998 'enable_themes%': '<(enable_themes)', | 1009 'enable_themes%': '<(enable_themes)', |
999 'enable_autofill_dialog%': '<(enable_autofill_dialog)', | 1010 'enable_autofill_dialog%': '<(enable_autofill_dialog)', |
1000 'enable_background%': '<(enable_background)', | 1011 'enable_background%': '<(enable_background)', |
1001 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', | 1012 'linux_use_bundled_gold%': '<(linux_use_bundled_gold)', |
1002 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)', | 1013 'linux_use_bundled_binutils%': '<(linux_use_bundled_binutils)', |
1003 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 1014 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
| 1015 'linux_use_debug_fission%': '<(linux_use_debug_fission)', |
1004 'use_canvas_skia%': '<(use_canvas_skia)', | 1016 'use_canvas_skia%': '<(use_canvas_skia)', |
1005 'test_isolation_mode%': '<(test_isolation_mode)', | 1017 'test_isolation_mode%': '<(test_isolation_mode)', |
1006 'test_isolation_outdir%': '<(test_isolation_outdir)', | 1018 'test_isolation_outdir%': '<(test_isolation_outdir)', |
1007 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', | 1019 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', |
1008 'enable_printing%': '<(enable_printing)', | 1020 'enable_printing%': '<(enable_printing)', |
1009 'enable_spellcheck%': '<(enable_spellcheck)', | 1021 'enable_spellcheck%': '<(enable_spellcheck)', |
1010 'enable_google_now%': '<(enable_google_now)', | 1022 'enable_google_now%': '<(enable_google_now)', |
1011 'cld_version%': '<(cld_version)', | 1023 'cld_version%': '<(cld_version)', |
1012 'cld2_table_size%': '<(cld2_table_size)', | 1024 'cld2_table_size%': '<(cld2_table_size)', |
1013 'cld2_dynamic%': '<(cld2_dynamic)', | 1025 'cld2_dynamic%': '<(cld2_dynamic)', |
(...skipping 2174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3188 ['OS=="linux" and target_arch=="ia32"', { | 3200 ['OS=="linux" and target_arch=="ia32"', { |
3189 'ldflags': [ | 3201 'ldflags': [ |
3190 '-Wl,--no-as-needed', | 3202 '-Wl,--no-as-needed', |
3191 ], | 3203 ], |
3192 }], | 3204 }], |
3193 ['debug_unwind_tables==1', { | 3205 ['debug_unwind_tables==1', { |
3194 'cflags': ['-funwind-tables'], | 3206 'cflags': ['-funwind-tables'], |
3195 }, { | 3207 }, { |
3196 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], | 3208 'cflags': ['-fno-unwind-tables', '-fno-asynchronous-unwind-table
s'], |
3197 }], | 3209 }], |
3198 # http://gcc.gnu.org/wiki/DebugFission | 3210 # TODO(mostynb): shuffle clang/gcc_version/binutils_version |
3199 # Requires gold and gcc >= 4.8 or clang. | 3211 # definitions in to the right scope to use them when setting |
3200 ['linux_use_gold_flags==1 and (clang==1 or gcc_version>=48) and bi
nutils_version>=223', { | 3212 # linux_use_debug_fission, so it can be used here alone. |
| 3213 ['linux_use_debug_fission==1 and linux_use_gold_flags==1 and (clan
g==1 or gcc_version>=48) and binutils_version>=223', { |
3201 'cflags': ['-gsplit-dwarf'], | 3214 'cflags': ['-gsplit-dwarf'], |
3202 'ldflags': ['-Wl,--gdb-index'], | 3215 'ldflags': ['-Wl,--gdb-index'], |
3203 }], | 3216 }], |
3204 ], | 3217 ], |
3205 }, | 3218 }, |
3206 'Release_Base': { | 3219 'Release_Base': { |
3207 'variables': { | 3220 'variables': { |
3208 'release_optimize%': '2', | 3221 'release_optimize%': '2', |
3209 # Binaries become big and gold is unable to perform GC | 3222 # Binaries become big and gold is unable to perform GC |
3210 # and remove unused sections for some of test targets | 3223 # and remove unused sections for some of test targets |
(...skipping 2005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5216 # settings in target dicts. SYMROOT is a special case, because many other | 5229 # settings in target dicts. SYMROOT is a special case, because many other |
5217 # Xcode variables depend on it, including variables such as | 5230 # Xcode variables depend on it, including variables such as |
5218 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5231 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5219 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5232 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5220 # files to appear (when present) in the UI as actual files and not red | 5233 # files to appear (when present) in the UI as actual files and not red |
5221 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5234 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5222 # and therefore SYMROOT, needs to be set at the project level. | 5235 # and therefore SYMROOT, needs to be set at the project level. |
5223 'SYMROOT': '<(DEPTH)/xcodebuild', | 5236 'SYMROOT': '<(DEPTH)/xcodebuild', |
5224 }, | 5237 }, |
5225 } | 5238 } |
OLD | NEW |