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

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

Issue 2797303005: [infra] Fixes for cross-toolchains (Closed)
Patch Set: Roll boringssl_gen and remove bad assert Created 3 years, 8 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/toolchain/linux/BUILD.gn ('k') | tools/build.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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 defines += [ "NO_TCMALLOC_SAMPLES" ] 94 defines += [ "NO_TCMALLOC_SAMPLES" ]
95 } 95 }
96 96
97 cflags = [ 97 cflags = [
98 "-Wnon-virtual-dtor", 98 "-Wnon-virtual-dtor",
99 "-Woverloaded-virtual", 99 "-Woverloaded-virtual",
100 "-fno-rtti", 100 "-fno-rtti",
101 "-fpermissive", 101 "-fpermissive",
102 ] 102 ]
103 103
104 if (!is_clang && current_cpu == "x86") { 104 if (!is_clang) {
105 cflags += [ "-Wno-format" ] 105 cflags += [ "-Wno-format" ]
106 } 106 }
107 107
108 set_sources_assignment_filter([ 108 set_sources_assignment_filter([
109 # No debug allocator. 109 # No debug allocator.
110 "gperftools/src/debugallocation.cc", 110 "gperftools/src/debugallocation.cc",
111 111
112 # Not needed when using emergency malloc. 112 # Not needed when using emergency malloc.
113 "gperftools/src/fake_stacktrace_scope.cc", 113 "gperftools/src/fake_stacktrace_scope.cc",
114 114
115 # Not using the cpuprofiler 115 # Not using the cpuprofiler
116 "gperftools/src/base/thread_lister.c", 116 "gperftools/src/base/thread_lister.c",
117 "gperftools/src/base/thread_lister.h", 117 "gperftools/src/base/thread_lister.h",
118 "gperftools/src/profile-handler.cc", 118 "gperftools/src/profile-handler.cc",
119 "gperftools/src/profile-handler.h", 119 "gperftools/src/profile-handler.h",
120 "gperftools/src/profiledata.cc", 120 "gperftools/src/profiledata.cc",
121 "gperftools/src/profiledata.h", 121 "gperftools/src/profiledata.h",
122 "gperftools/src/profiler.cc", 122 "gperftools/src/profiler.cc",
123 ]) 123 ])
124 124
125 sources = tcmalloc_sources_list.sources 125 sources = tcmalloc_sources_list.sources
126 } 126 }
OLDNEW
« no previous file with comments | « build/toolchain/linux/BUILD.gn ('k') | tools/build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698