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

Side by Side Diff: build/common.gypi

Issue 2003733004: Enable LTO on Linux for the official builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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') | no next file with comments »
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 5454 matching lines...) Expand 10 before | Expand all | Expand 10 after
6294 # settings in target dicts. SYMROOT is a special case, because many other 6301 # settings in target dicts. SYMROOT is a special case, because many other
6295 # Xcode variables depend on it, including variables such as 6302 # Xcode variables depend on it, including variables such as
6296 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6303 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6297 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6304 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6298 # files to appear (when present) in the UI as actual files and not red 6305 # files to appear (when present) in the UI as actual files and not red
6299 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6306 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6300 # and therefore SYMROOT, needs to be set at the project level. 6307 # and therefore SYMROOT, needs to be set at the project level.
6301 'SYMROOT': '<(DEPTH)/xcodebuild', 6308 'SYMROOT': '<(DEPTH)/xcodebuild',
6302 }, 6309 },
6303 } 6310 }
OLDNEW
« no previous file with comments | « no previous file | build/toolchain/toolchain.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698