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' |