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 525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 | 536 |
537 ['(OS=="android" and google_tv!=1) or OS=="ios"', { | 537 ['(OS=="android" and google_tv!=1) or OS=="ios"', { |
538 'enable_plugins%': 0, | 538 'enable_plugins%': 0, |
539 }, { | 539 }, { |
540 'enable_plugins%': 1, | 540 'enable_plugins%': 1, |
541 }], | 541 }], |
542 | 542 |
543 # linux_use_gold_binary: whether to use the binary checked into | 543 # linux_use_gold_binary: whether to use the binary checked into |
544 # third_party/gold. Gold is not used for 32-bit linux builds | 544 # third_party/gold. Gold is not used for 32-bit linux builds |
545 # as it runs out of address space. | 545 # as it runs out of address space. |
| 546 # linux_use_gold_flags: whether to use build flags that rely on gold. |
546 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', { | 547 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', { |
547 'linux_use_gold_binary%': 1, | 548 'linux_use_gold_binary%': 1, |
| 549 'linux_use_gold_flags%': 1, |
548 }, { | 550 }, { |
549 'linux_use_gold_binary%': 0, | 551 'linux_use_gold_binary%': 0, |
550 }], | |
551 | |
552 # linux_use_gold_flags: whether to use build flags that rely on gold. | |
553 # On by default for x64 Linux. Temporarily off for ChromeOS as | |
554 # it failed on a buildbot. | |
555 ['OS=="linux" and target_arch=="x64" and chromeos==0', { | |
556 'linux_use_gold_flags%': 1, | |
557 }, { | |
558 'linux_use_gold_flags%': 0, | 552 'linux_use_gold_flags%': 0, |
559 }], | 553 }], |
560 | 554 |
561 ['chromeos==1', { | 555 ['chromeos==1', { |
562 'linux_use_libgps%': 1, | 556 'linux_use_libgps%': 1, |
563 }, { # chromeos==0 | 557 }, { # chromeos==0 |
564 # Do not use libgps on desktop Linux by default, | 558 # Do not use libgps on desktop Linux by default, |
565 # see http://crbug.com/103751. | 559 # see http://crbug.com/103751. |
566 'linux_use_libgps%': 0, | 560 'linux_use_libgps%': 0, |
567 }], | 561 }], |
(...skipping 3607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4175 # settings in target dicts. SYMROOT is a special case, because many other | 4169 # settings in target dicts. SYMROOT is a special case, because many other |
4176 # Xcode variables depend on it, including variables such as | 4170 # Xcode variables depend on it, including variables such as |
4177 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4171 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4178 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4172 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4179 # files to appear (when present) in the UI as actual files and not red | 4173 # files to appear (when present) in the UI as actual files and not red |
4180 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4174 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4181 # and therefore SYMROOT, needs to be set at the project level. | 4175 # and therefore SYMROOT, needs to be set at the project level. |
4182 'SYMROOT': '<(DEPTH)/xcodebuild', | 4176 'SYMROOT': '<(DEPTH)/xcodebuild', |
4183 }, | 4177 }, |
4184 } | 4178 } |
OLD | NEW |