Chromium Code Reviews| 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 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 540 'enable_plugin_installation%': 1, | 540 'enable_plugin_installation%': 1, |
| 541 }], | 541 }], |
| 542 | 542 |
| 543 ['(OS=="android" and google_tv!=1) or OS=="ios"', { | 543 ['(OS=="android" and google_tv!=1) or OS=="ios"', { |
| 544 'enable_plugins%': 0, | 544 'enable_plugins%': 0, |
| 545 }, { | 545 }, { |
| 546 'enable_plugins%': 1, | 546 'enable_plugins%': 1, |
| 547 }], | 547 }], |
| 548 | 548 |
| 549 # linux_use_gold_binary: whether to use the binary checked into | 549 # linux_use_gold_binary: whether to use the binary checked into |
| 550 # third_party/gold. | 550 # third_party/gold. Gold is not used for 32-bit linux builds |
| 551 ['OS=="linux" and target_arch=="x64"', { | 551 # as it runs out of address space. |
| 552 ['OS=="linux" and (target_arch=="x64" or target_arch=="arm")', { | |
| 552 'linux_use_gold_binary%': 1, | 553 'linux_use_gold_binary%': 1, |
| 553 }, { | 554 }, { |
| 554 'linux_use_gold_binary%': 0, | 555 'linux_use_gold_binary%': 0, |
| 555 }], | 556 }], |
| 556 | 557 |
| 557 # linux_use_gold_flags: whether to use build flags that rely on gold. | 558 # linux_use_gold_flags: whether to use build flags that rely on gold. |
| 558 # On by default for x64 Linux. Temporarily off for ChromeOS as | 559 # On by default for x64 Linux. Temporarily off for ChromeOS as |
| 559 # it failed on a buildbot. | 560 # it failed on a buildbot. |
| 560 ['OS=="linux" and target_arch=="x64" and chromeos==0', { | 561 ['OS=="linux" and target_arch=="x64" and chromeos==0', { |
|
Lei Zhang
2013/03/14 02:03:30
Do you care to use gold flags as well?
| |
| 561 'linux_use_gold_flags%': 1, | 562 'linux_use_gold_flags%': 1, |
| 562 }, { | 563 }, { |
| 563 'linux_use_gold_flags%': 0, | 564 'linux_use_gold_flags%': 0, |
| 564 }], | 565 }], |
| 565 | 566 |
| 566 ['chromeos==1', { | 567 ['chromeos==1', { |
| 567 'linux_use_libgps%': 1, | 568 'linux_use_libgps%': 1, |
| 568 }, { # chromeos==0 | 569 }, { # chromeos==0 |
| 569 # Do not use libgps on desktop Linux by default, | 570 # Do not use libgps on desktop Linux by default, |
| 570 # see http://crbug.com/103751. | 571 # see http://crbug.com/103751. |
| (...skipping 3586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4157 # settings in target dicts. SYMROOT is a special case, because many other | 4158 # settings in target dicts. SYMROOT is a special case, because many other |
| 4158 # Xcode variables depend on it, including variables such as | 4159 # Xcode variables depend on it, including variables such as |
| 4159 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4160 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 4160 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4161 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 4161 # files to appear (when present) in the UI as actual files and not red | 4162 # files to appear (when present) in the UI as actual files and not red |
| 4162 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4163 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 4163 # and therefore SYMROOT, needs to be set at the project level. | 4164 # and therefore SYMROOT, needs to be set at the project level. |
| 4164 'SYMROOT': '<(DEPTH)/xcodebuild', | 4165 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 4165 }, | 4166 }, |
| 4166 } | 4167 } |
| OLD | NEW |