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

Side by Side Diff: third_party/tcmalloc/BUILD.gn

Issue 2892413002: Fix ARMv6 Linux cross-build (Closed)
Patch Set: Add an argument to specifiy the float ABI Created 3 years, 7 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 | « runtime/vm/intermediate_language.cc ('k') | tools/gn.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) 2016, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 config("internal_config") { 5 config("internal_config") {
6 visibility = [ ":*" ] # Only targets in this file can depend on this. 6 visibility = [ ":*" ] # Only targets in this file can depend on this.
7 cflags = [ 7 cflags = [
8 "-Wall", 8 "-Wall",
9 "-Wextra", 9 "-Wextra",
10 "-Wno-missing-field-initializers", 10 "-Wno-missing-field-initializers",
(...skipping 14 matching lines...) Expand all
25 "-fno-builtin-calloc", 25 "-fno-builtin-calloc",
26 "-fno-builtin-cfree", 26 "-fno-builtin-cfree",
27 "-fno-builtin-memalign", 27 "-fno-builtin-memalign",
28 "-fno-builtin-posix_memalign", 28 "-fno-builtin-posix_memalign",
29 "-fno-builtin-valloc", 29 "-fno-builtin-valloc",
30 "-fno-builtin-pvalloc", 30 "-fno-builtin-pvalloc",
31 ] 31 ]
32 if (is_clang) { 32 if (is_clang) {
33 cflags += [ "-Wno-unused-const-variable" ] 33 cflags += [ "-Wno-unused-const-variable" ]
34 } 34 }
35 if (current_cpu == "arm" && !is_clang) {
36 cflags += [ "-Wno-psabi" ]
37 }
35 } 38 }
36 39
37 config("link_config") { 40 config("link_config") {
38 visibility = [ ":*" ] # Only targets in this file can depend on this. 41 visibility = [ ":*" ] # Only targets in this file can depend on this.
39 ldflags = [ 42 ldflags = [
40 # Don't let linker rip this symbol out, otherwise the heap&cpu 43 # Don't let linker rip this symbol out, otherwise the heap&cpu
41 # profilers will not initialize properly on startup. 44 # profilers will not initialize properly on startup.
42 "-Wl,-uIsHeapProfilerRunning,-uProfilerStart", 45 "-Wl,-uIsHeapProfilerRunning,-uProfilerStart",
43 ] 46 ]
44 } 47 }
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 "gperftools/src/base/thread_lister.h", 120 "gperftools/src/base/thread_lister.h",
118 "gperftools/src/profile-handler.cc", 121 "gperftools/src/profile-handler.cc",
119 "gperftools/src/profile-handler.h", 122 "gperftools/src/profile-handler.h",
120 "gperftools/src/profiledata.cc", 123 "gperftools/src/profiledata.cc",
121 "gperftools/src/profiledata.h", 124 "gperftools/src/profiledata.h",
122 "gperftools/src/profiler.cc", 125 "gperftools/src/profiler.cc",
123 ]) 126 ])
124 127
125 sources = tcmalloc_sources_list.sources 128 sources = tcmalloc_sources_list.sources
126 } 129 }
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | tools/gn.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698