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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tools/gn.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/tcmalloc/BUILD.gn
diff --git a/third_party/tcmalloc/BUILD.gn b/third_party/tcmalloc/BUILD.gn
index e970559edaf15db86b1f2d0d71e06de051d5e172..ec423beb0dcc1fc51fabe841dc4c4638d0477915 100644
--- a/third_party/tcmalloc/BUILD.gn
+++ b/third_party/tcmalloc/BUILD.gn
@@ -105,6 +105,12 @@ source_set("tcmalloc") {
"-fpermissive",
]
+ if (!is_clang && current_cpu == "x86") {
+ cflags += [
+ "-Wno-format"
+ ]
+ }
+
set_sources_assignment_filter([
# No debug allocator.
"gperftools/src/debugallocation.cc",
« 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