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

Side by Side Diff: build/common.gypi

Issue 880403005: Make Android-specific LTO disablements have effect only on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | « build/android/increase_size_for_speed.gypi ('k') | no next file » | 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 2967 matching lines...) Expand 10 before | Expand all | Expand 10 after
2978 'defines': ['ENABLE_IPC_FUZZER=1'], 2978 'defines': ['ENABLE_IPC_FUZZER=1'],
2979 }], 2979 }],
2980 ['video_hole==1', { 2980 ['video_hole==1', {
2981 'defines': ['VIDEO_HOLE=1'], 2981 'defines': ['VIDEO_HOLE=1'],
2982 }], 2982 }],
2983 ['v8_use_external_startup_data==1', { 2983 ['v8_use_external_startup_data==1', {
2984 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'], 2984 'defines': ['V8_USE_EXTERNAL_STARTUP_DATA'],
2985 }], 2985 }],
2986 ['use_lto==1 and (target_arch=="ia32" or target_arch=="x64")', { 2986 ['use_lto==1 and (target_arch=="ia32" or target_arch=="x64")', {
2987 # Required for third_party/zlib/crc_folding.c and various other code 2987 # Required for third_party/zlib/crc_folding.c and various other code
2988 # that uses SSE. 2988 # that uses SSE. TODO(pcc): Remove this once we properly support
2989 # subtarget specific code generation in LLVM.
2989 'ldflags': ['-Wl,-plugin-opt,mcpu=corei7-avx'], 2990 'ldflags': ['-Wl,-plugin-opt,mcpu=corei7-avx'],
2990 }], 2991 }],
2991 ], # conditions for 'target_defaults' 2992 ], # conditions for 'target_defaults'
2992 'target_conditions': [ 2993 'target_conditions': [
2993 ['<(use_libpci)==1', { 2994 ['<(use_libpci)==1', {
2994 'defines': ['USE_LIBPCI=1'], 2995 'defines': ['USE_LIBPCI=1'],
2995 }], 2996 }],
2996 ['<(use_openssl)==1', { 2997 ['<(use_openssl)==1', {
2997 'defines': ['USE_OPENSSL=1'], 2998 'defines': ['USE_OPENSSL=1'],
2998 }], 2999 }],
(...skipping 2888 matching lines...) Expand 10 before | Expand all | Expand 10 after
5887 # settings in target dicts. SYMROOT is a special case, because many other 5888 # settings in target dicts. SYMROOT is a special case, because many other
5888 # Xcode variables depend on it, including variables such as 5889 # Xcode variables depend on it, including variables such as
5889 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5890 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5890 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5891 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5891 # files to appear (when present) in the UI as actual files and not red 5892 # files to appear (when present) in the UI as actual files and not red
5892 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5893 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5893 # and therefore SYMROOT, needs to be set at the project level. 5894 # and therefore SYMROOT, needs to be set at the project level.
5894 'SYMROOT': '<(DEPTH)/xcodebuild', 5895 'SYMROOT': '<(DEPTH)/xcodebuild',
5895 }, 5896 },
5896 } 5897 }
OLDNEW
« no previous file with comments | « build/android/increase_size_for_speed.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698