Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: build/common.gypi

Issue 2017633002: Reland of Enable LTO on Linux for the official builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: target_os vs is_linux Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | build/toolchain/toolchain.gni » ('j') | build/toolchain/toolchain.gni » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 ['branding=="Chrome" or chromecast==1', { 820 ['branding=="Chrome" or chromecast==1', {
821 'proprietary_codecs%': 1, 821 'proprietary_codecs%': 1,
822 }, { 822 }, {
823 'proprietary_codecs%': 0, 823 'proprietary_codecs%': 0,
824 }], 824 }],
825 825
826 ['buildtype=="Official"', { 826 ['buildtype=="Official"', {
827 'enable_prod_wallet_service%': 1, 827 'enable_prod_wallet_service%': 1,
828 }], 828 }],
829 829
830 # Enable Link Time Optimization for the official Linux Chrome.
831 # This requires LLVM Gold plugin to be downloaded.
832 # See src/tools/clang/scripts/update.py
833 ['OS=="linux" and target_arch=="x64" and buildtype=="Official" and brand ing=="Chrome" and chromeos==0', {
834 'use_lto%': 1,
835 }],
836
830 # Enable hotwording on Chrome-branded ChromeOS builds. 837 # Enable hotwording on Chrome-branded ChromeOS builds.
831 ['branding=="Chrome" and chromeos==1', { 838 ['branding=="Chrome" and chromeos==1', {
832 'enable_hotwording%': 1, 839 'enable_hotwording%': 1,
833 }], 840 }],
834 841
835 ['OS=="android"', { 842 ['OS=="android"', {
836 'enable_webrtc%': 1, 843 'enable_webrtc%': 1,
837 }], 844 }],
838 845
839 ['OS=="ios"', { 846 ['OS=="ios"', {
(...skipping 5453 matching lines...) Expand 10 before | Expand all | Expand 10 after
6293 # settings in target dicts. SYMROOT is a special case, because many other 6300 # settings in target dicts. SYMROOT is a special case, because many other
6294 # Xcode variables depend on it, including variables such as 6301 # Xcode variables depend on it, including variables such as
6295 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6302 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6296 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6303 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6297 # files to appear (when present) in the UI as actual files and not red 6304 # files to appear (when present) in the UI as actual files and not red
6298 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6305 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6299 # and therefore SYMROOT, needs to be set at the project level. 6306 # and therefore SYMROOT, needs to be set at the project level.
6300 'SYMROOT': '<(DEPTH)/xcodebuild', 6307 'SYMROOT': '<(DEPTH)/xcodebuild',
6301 }, 6308 },
6302 } 6309 }
OLDNEW
« no previous file with comments | « no previous file | build/toolchain/toolchain.gni » ('j') | build/toolchain/toolchain.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698