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

Side by Side Diff: build/common.gypi

Issue 2259293002: Enable CFI for virtual calls on Linux x86-64 official builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
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 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 ['branding=="Chrome" or chromecast==1', { 841 ['branding=="Chrome" or chromecast==1', {
842 'proprietary_codecs%': 1, 842 'proprietary_codecs%': 1,
843 }, { 843 }, {
844 'proprietary_codecs%': 0, 844 'proprietary_codecs%': 0,
845 }], 845 }],
846 846
847 # Enable Link Time Optimization for the official Linux Chrome. 847 # Enable Link Time Optimization for the official Linux Chrome.
848 # This requires LLVM Gold plugin to be downloaded. 848 # This requires LLVM Gold plugin to be downloaded.
849 # See src/tools/clang/scripts/update.py 849 # See src/tools/clang/scripts/update.py
850 ['OS=="linux" and target_arch=="x64" and buildtype=="Official" and brand ing=="Chrome" and chromeos==0', { 850 ['OS=="linux" and target_arch=="x64" and buildtype=="Official" and brand ing=="Chrome" and chromeos==0', {
851 'use_lto%': 1, 851 'cfi_vptr%': 1,
Dirk Pranke 2016/08/19 20:22:09 you don't really need to change GYP at this point.
krasin 2016/08/19 20:30:45 That's useful to know. Reverted. I am very glad t
852 }], 852 }],
853 853
854 # Enable hotwording on Chrome-branded ChromeOS builds. 854 # Enable hotwording on Chrome-branded ChromeOS builds.
855 ['branding=="Chrome" and chromeos==1', { 855 ['branding=="Chrome" and chromeos==1', {
856 'enable_hotwording%': 1, 856 'enable_hotwording%': 1,
857 }], 857 }],
858 858
859 ['OS=="android"', { 859 ['OS=="android"', {
860 'enable_webrtc%': 1, 860 'enable_webrtc%': 1,
861 }], 861 }],
(...skipping 5467 matching lines...) Expand 10 before | Expand all | Expand 10 after
6329 # settings in target dicts. SYMROOT is a special case, because many other 6329 # settings in target dicts. SYMROOT is a special case, because many other
6330 # Xcode variables depend on it, including variables such as 6330 # Xcode variables depend on it, including variables such as
6331 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 6331 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
6332 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 6332 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
6333 # files to appear (when present) in the UI as actual files and not red 6333 # files to appear (when present) in the UI as actual files and not red
6334 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 6334 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
6335 # and therefore SYMROOT, needs to be set at the project level. 6335 # and therefore SYMROOT, needs to be set at the project level.
6336 'SYMROOT': '<(DEPTH)/xcodebuild', 6336 'SYMROOT': '<(DEPTH)/xcodebuild',
6337 }, 6337 },
6338 } 6338 }
OLDNEW
« no previous file with comments | « no previous file | build/config/sanitizers/sanitizers.gni » ('j') | build/config/sanitizers/sanitizers.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698