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 | 537 |
538 ['(OS=="android" and google_tv!=1) or OS=="ios"', { | 538 ['(OS=="android" and google_tv!=1) or OS=="ios"', { |
539 'enable_plugins%': 0, | 539 'enable_plugins%': 0, |
540 }, { | 540 }, { |
541 'enable_plugins%': 1, | 541 'enable_plugins%': 1, |
542 }], | 542 }], |
543 | 543 |
544 # linux_use_gold_binary: whether to use the binary checked into | 544 # linux_use_gold_binary: whether to use the binary checked into |
545 # third_party/gold. | 545 # third_party/gold. |
546 ['OS=="linux"', { | 546 ['OS=="linux" and target_arch=="x64"', { |
Paweł Hajdan Jr.
2013/02/21 15:08:25
I think it'd be better to say target_arch!="ia32",
Lei Zhang
2013/02/21 19:41:40
Actually, we only have pre-compiled gold binaries
| |
547 'linux_use_gold_binary%': 1, | 547 'linux_use_gold_binary%': 1, |
548 }, { | 548 }, { |
549 'linux_use_gold_binary%': 0, | 549 'linux_use_gold_binary%': 0, |
550 }], | 550 }], |
551 | 551 |
552 # linux_use_gold_flags: whether to use build flags that rely on gold. | 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 | 553 # On by default for x64 Linux. Temporarily off for ChromeOS as |
554 # it failed on a buildbot. | 554 # it failed on a buildbot. |
555 ['OS=="linux" and chromeos==0', { | 555 ['OS=="linux" and target_arch=="x64" and chromeos==0', { |
556 'linux_use_gold_flags%': 1, | 556 'linux_use_gold_flags%': 1, |
557 }, { | 557 }, { |
558 'linux_use_gold_flags%': 0, | 558 'linux_use_gold_flags%': 0, |
559 }], | 559 }], |
560 | 560 |
561 ['chromeos==1', { | 561 ['chromeos==1', { |
562 'linux_use_libgps%': 1, | 562 'linux_use_libgps%': 1, |
563 }, { # chromeos==0 | 563 }, { # chromeos==0 |
564 # Do not use libgps on desktop Linux by default, | 564 # Do not use libgps on desktop Linux by default, |
565 # see http://crbug.com/103751. | 565 # see http://crbug.com/103751. |
(...skipping 2325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2891 ['linux_breakpad==1', { | 2891 ['linux_breakpad==1', { |
2892 'defines': ['USE_LINUX_BREAKPAD'], | 2892 'defines': ['USE_LINUX_BREAKPAD'], |
2893 }], | 2893 }], |
2894 ['linux_dump_symbols==1', { | 2894 ['linux_dump_symbols==1', { |
2895 'cflags': [ '-g' ], | 2895 'cflags': [ '-g' ], |
2896 'conditions': [ | 2896 'conditions': [ |
2897 ['target_arch=="ia32"', { | 2897 ['target_arch=="ia32"', { |
2898 'target_conditions': [ | 2898 'target_conditions': [ |
2899 ['_toolset=="target"', { | 2899 ['_toolset=="target"', { |
2900 'ldflags': [ | 2900 'ldflags': [ |
2901 # Workaround for linker OOM. http://crbug.com/160253. | 2901 # Workaround for linker OOM. |
2902 '-Wl,--no-keep-files-mapped', | 2902 '-Wl,--no-keep-memory', |
2903 ], | 2903 ], |
2904 }], | 2904 }], |
2905 ], | 2905 ], |
2906 }], | 2906 }], |
2907 ], | 2907 ], |
2908 }], | 2908 }], |
2909 ['linux_use_heapchecker==1', { | 2909 ['linux_use_heapchecker==1', { |
2910 'variables': {'linux_use_tcmalloc%': 1}, | 2910 'variables': {'linux_use_tcmalloc%': 1}, |
2911 'defines': ['USE_HEAPCHECKER'], | 2911 'defines': ['USE_HEAPCHECKER'], |
2912 }], | 2912 }], |
(...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
4046 # settings in target dicts. SYMROOT is a special case, because many other | 4046 # settings in target dicts. SYMROOT is a special case, because many other |
4047 # Xcode variables depend on it, including variables such as | 4047 # Xcode variables depend on it, including variables such as |
4048 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4048 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4049 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4049 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4050 # files to appear (when present) in the UI as actual files and not red | 4050 # files to appear (when present) in the UI as actual files and not red |
4051 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4051 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4052 # and therefore SYMROOT, needs to be set at the project level. | 4052 # and therefore SYMROOT, needs to be set at the project level. |
4053 'SYMROOT': '<(DEPTH)/xcodebuild', | 4053 'SYMROOT': '<(DEPTH)/xcodebuild', |
4054 }, | 4054 }, |
4055 } | 4055 } |
OLD | NEW |