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

Unified Diff: tools/gn.py

Issue 2367723004: Add tcmalloc to GN build (Closed)
Patch Set: Address comments Created 4 years, 3 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 | « third_party/tcmalloc/tcmalloc_sources.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn.py
diff --git a/tools/gn.py b/tools/gn.py
index 32335f09b99beefcb38412cadc27457bdff51bdd..22f3530f0be19179935f94a06825f449b7a6a1eb 100755
--- a/tools/gn.py
+++ b/tools/gn.py
@@ -69,6 +69,8 @@ def to_gn_args(args):
gn_args['dart_zlib_path'] = "//runtime/bin/zlib"
+ gn_args['dart_use_tcmalloc'] = gn_args['target_os'] == 'linux'
+
gn_args['is_debug'] = args.mode == 'debug'
gn_args['is_release'] = args.mode == 'release'
gn_args['is_product'] = args.mode == 'product'
« no previous file with comments | « third_party/tcmalloc/tcmalloc_sources.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698