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

Side by Side Diff: build/common.gypi

Issue 541963002: no-slp-vectorize no longer required (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | 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 3624 matching lines...) Expand 10 before | Expand all | Expand 10 after
3635 }], 3635 }],
3636 ['OS=="android"', { 3636 ['OS=="android"', {
3637 'variables': { 3637 'variables': {
3638 'release_optimize%': 's', 3638 'release_optimize%': 's',
3639 }, 3639 },
3640 'ldflags': [ 3640 'ldflags': [
3641 # Warn in case of text relocations. 3641 # Warn in case of text relocations.
3642 '-Wl,--warn-shared-textrel', 3642 '-Wl,--warn-shared-textrel',
3643 ], 3643 ],
3644 }], 3644 }],
3645 ['clang==1', {
3646 'cflags!': [
3647 '-fno-ident',
3648 ],
3649 # TODO(thakis): Remove once http://llvm.org/PR20354 is fixed
3650 # and the fix is in chromium.
3651 'cflags': [ '-fno-slp-vectorize', ],
3652 }],
3653 ['profiling==1', { 3645 ['profiling==1', {
3654 'cflags': [ 3646 'cflags': [
3655 '-fno-omit-frame-pointer', 3647 '-fno-omit-frame-pointer',
3656 '-g', 3648 '-g',
3657 ], 3649 ],
3658 'conditions' : [ 3650 'conditions' : [
3659 ['profiling_full_stack_frames==1', { 3651 ['profiling_full_stack_frames==1', {
3660 'cflags': [ 3652 'cflags': [
3661 '-fno-inline', 3653 '-fno-inline',
3662 '-fno-optimize-sibling-calls', 3654 '-fno-optimize-sibling-calls',
(...skipping 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after
4776 # the -Wobjc-missing-property-synthesis flag. 4768 # the -Wobjc-missing-property-synthesis flag.
4777 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES', 4769 'CLANG_WARN_OBJC_MISSING_PROPERTY_SYNTHESIS': 'YES',
4778 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', 4770 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
4779 'WARNING_CFLAGS': [ 4771 'WARNING_CFLAGS': [
4780 # This warns on selectors from Cocoa headers (-length, -set). 4772 # This warns on selectors from Cocoa headers (-length, -set).
4781 # cfe-dev is currently discussing the merits of this warning. 4773 # cfe-dev is currently discussing the merits of this warning.
4782 # TODO(thakis): Reevaluate what to do with this, based one 4774 # TODO(thakis): Reevaluate what to do with this, based one
4783 # cfe-dev discussion. 4775 # cfe-dev discussion.
4784 '-Wno-selector-type-mismatch', 4776 '-Wno-selector-type-mismatch',
4785 ], 4777 ],
4786 'OTHER_CFLAGS': [
4787 # TODO(thakis): Remove once http://llvm.org/PR20354 is fixed
4788 # and the fix is in chromium.
4789 '-fno-slp-vectorize',
4790 ],
4791 4778
4792 'conditions': [ 4779 'conditions': [
4793 ['clang_xcode==0', { 4780 ['clang_xcode==0', {
4794 'CC': '$(SOURCE_ROOT)/<(clang_dir)/clang', 4781 'CC': '$(SOURCE_ROOT)/<(clang_dir)/clang',
4795 'LDPLUSPLUS': '$(SOURCE_ROOT)/<(clang_dir)/clang++', 4782 'LDPLUSPLUS': '$(SOURCE_ROOT)/<(clang_dir)/clang++',
4796 }], 4783 }],
4797 ], 4784 ],
4798 }], 4785 }],
4799 ['clang==1 and clang_xcode==0 and clang_use_chrome_plugins==1', { 4786 ['clang==1 and clang_xcode==0 and clang_use_chrome_plugins==1', {
4800 'OTHER_CFLAGS': [ 4787 'OTHER_CFLAGS': [
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
5772 # settings in target dicts. SYMROOT is a special case, because many other 5759 # settings in target dicts. SYMROOT is a special case, because many other
5773 # Xcode variables depend on it, including variables such as 5760 # Xcode variables depend on it, including variables such as
5774 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5761 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5775 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5762 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5776 # files to appear (when present) in the UI as actual files and not red 5763 # files to appear (when present) in the UI as actual files and not red
5777 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5764 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5778 # and therefore SYMROOT, needs to be set at the project level. 5765 # and therefore SYMROOT, needs to be set at the project level.
5779 'SYMROOT': '<(DEPTH)/xcodebuild', 5766 'SYMROOT': '<(DEPTH)/xcodebuild',
5780 }, 5767 },
5781 } 5768 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698