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

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

Issue 2405513002: GN: Disable clang for simulators hosted on ia32 (Closed)
Patch Set: Created 4 years, 2 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 | 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 ] 98 ]
99 } 99 }
100 100
101 cflags = [ 101 cflags = [
102 "-Wnon-virtual-dtor", 102 "-Wnon-virtual-dtor",
103 "-Woverloaded-virtual", 103 "-Woverloaded-virtual",
104 "-fno-rtti", 104 "-fno-rtti",
105 "-fpermissive", 105 "-fpermissive",
106 ] 106 ]
107 107
108 if (!is_clang && current_cpu == "x86") {
109 cflags += [
110 "-Wno-format"
111 ]
112 }
113
108 set_sources_assignment_filter([ 114 set_sources_assignment_filter([
109 # No debug allocator. 115 # No debug allocator.
110 "gperftools/src/debugallocation.cc", 116 "gperftools/src/debugallocation.cc",
111 # Not needed when using emergency malloc. 117 # Not needed when using emergency malloc.
112 "gperftools/src/fake_stacktrace_scope.cc", 118 "gperftools/src/fake_stacktrace_scope.cc",
113 # Not using the cpuprofiler 119 # Not using the cpuprofiler
114 "gperftools/src/base/thread_lister.c", 120 "gperftools/src/base/thread_lister.c",
115 "gperftools/src/base/thread_lister.h", 121 "gperftools/src/base/thread_lister.h",
116 "gperftools/src/profile-handler.cc", 122 "gperftools/src/profile-handler.cc",
117 "gperftools/src/profile-handler.h", 123 "gperftools/src/profile-handler.h",
118 "gperftools/src/profiledata.cc", 124 "gperftools/src/profiledata.cc",
119 "gperftools/src/profiledata.h", 125 "gperftools/src/profiledata.h",
120 "gperftools/src/profiler.cc", 126 "gperftools/src/profiler.cc",
121 ]) 127 ])
122 128
123 sources = tcmalloc_sources_list.sources 129 sources = tcmalloc_sources_list.sources
124 } 130 }
OLDNEW
« no previous file with comments | « no previous file | tools/gn.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698