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

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

Issue 139883002: Don't pass thumb-interwork to clang in the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« 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) 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/sysroot.gni") 6 import("//build/config/sysroot.gni")
7 if (cpu_arch == "arm") { 7 if (cpu_arch == "arm") {
8 import("//build/config/arm.gni") 8 import("//build/config/arm.gni")
9 } 9 }
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 cflags += [ 110 cflags += [
111 "-march=$arm_arch", 111 "-march=$arm_arch",
112 "-mfpu=$arm_fpu", 112 "-mfpu=$arm_fpu",
113 "-mfloat-abi=$arm_float_abi", 113 "-mfloat-abi=$arm_float_abi",
114 ] 114 ]
115 if (arm_tune != "") { 115 if (arm_tune != "") {
116 cflags += "-mtune=$arm_tune" 116 cflags += "-mtune=$arm_tune"
117 } 117 }
118 if (arm_use_thumb) { 118 if (arm_use_thumb) {
119 cflags += [ "-mthumb" ] 119 cflags += [ "-mthumb" ]
120 if (is_android) { 120 if (is_android && !is_clang) { # Clang doesn't support this option.
121 cflags += [ "-mthumb-interwork" ] 121 cflags += [ "-mthumb-interwork" ]
122 } 122 }
123 } 123 }
124 } 124 }
125 } 125 }
126 126
127 defines += [ "_FILE_OFFSET_BITS=64" ] 127 defines += [ "_FILE_OFFSET_BITS=64" ]
128 128
129 # Omit unwind support in official builds to save space. We can use breakpad 129 # Omit unwind support in official builds to save space. We can use breakpad
130 # for these builds. 130 # for these builds.
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
669 } else { 669 } else {
670 cflags = [ "-g1" ] 670 cflags = [ "-g1" ]
671 } 671 }
672 } 672 }
673 673
674 config("no_symbols") { 674 config("no_symbols") {
675 if (!is_win) { 675 if (!is_win) {
676 cflags = [ "-g0" ] 676 cflags = [ "-g0" ]
677 } 677 }
678 } 678 }
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