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

Side by Side Diff: build/config/compiler/BUILD.gn

Issue 2241413003: Roll clang 277962:278861 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build fix 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
« no previous file with comments | « base/threading/thread_unittest.cc ('k') | tools/clang/scripts/update.py » ('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) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 import("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/chrome_build.gni") 6 import("//build/config/chrome_build.gni")
7 import("//build/config/compiler/compiler.gni") 7 import("//build/config/compiler/compiler.gni")
8 import("//build/config/nacl/config.gni") 8 import("//build/config/nacl/config.gni")
9 import("//build/toolchain/cc_wrapper.gni") 9 import("//build/toolchain/cc_wrapper.gni")
10 import("//build/toolchain/toolchain.gni") 10 import("//build/toolchain/toolchain.gni")
(...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 } 1007 }
1008 if (!is_nacl && !use_xcode_clang) { 1008 if (!is_nacl && !use_xcode_clang) {
1009 # Flags NaCl (Clang 3.7) and Xcode 7.3 (Clang clang-703.0.31) do not 1009 # Flags NaCl (Clang 3.7) and Xcode 7.3 (Clang clang-703.0.31) do not
1010 # recognize. 1010 # recognize.
1011 cflags += [ 1011 cflags += [
1012 # TODO(thakis): https://crbug.com/604888 1012 # TODO(thakis): https://crbug.com/604888
1013 "-Wno-undefined-var-template", 1013 "-Wno-undefined-var-template",
1014 1014
1015 # TODO(thakis): https://crbug.com/617318 1015 # TODO(thakis): https://crbug.com/617318
1016 "-Wno-nonportable-include-path", 1016 "-Wno-nonportable-include-path",
1017
1018 # TODO(hans): https://crbug.com/637306
1019 "-Wno-address-of-packed-member",
1017 ] 1020 ]
1018 if (llvm_force_head_revision) {
1019 cflags += [
1020 # TODO(hans): https://crbug.com/637306
1021 "-Wno-address-of-packed-member",
1022 ]
1023 }
1024 } 1021 }
1025 } 1022 }
1026 } 1023 }
1027 1024
1028 # chromium_code --------------------------------------------------------------- 1025 # chromium_code ---------------------------------------------------------------
1029 # 1026 #
1030 # Toggles between higher and lower warnings for code that is (or isn't) 1027 # Toggles between higher and lower warnings for code that is (or isn't)
1031 # part of Chromium. 1028 # part of Chromium.
1032 1029
1033 config("chromium_code") { 1030 config("chromium_code") {
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
1568 1565
1569 if (is_ios || is_mac) { 1566 if (is_ios || is_mac) {
1570 # On Mac and iOS, this enables support for ARC (automatic ref-counting). 1567 # On Mac and iOS, this enables support for ARC (automatic ref-counting).
1571 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html. 1568 # See http://clang.llvm.org/docs/AutomaticReferenceCounting.html.
1572 config("enable_arc") { 1569 config("enable_arc") {
1573 common_flags = [ "-fobjc-arc" ] 1570 common_flags = [ "-fobjc-arc" ]
1574 cflags_objc = common_flags 1571 cflags_objc = common_flags
1575 cflags_objcc = common_flags 1572 cflags_objcc = common_flags
1576 } 1573 }
1577 } 1574 }
OLDNEW
« no previous file with comments | « base/threading/thread_unittest.cc ('k') | tools/clang/scripts/update.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698