| Index: runtime/bin/BUILD.gn
|
| diff --git a/runtime/bin/BUILD.gn b/runtime/bin/BUILD.gn
|
| index c3140f0d76a31fff5b21c9b7677f6a0442628b11..5d8d56bfdb45422c851024c3f52ee0ad1667e312 100644
|
| --- a/runtime/bin/BUILD.gn
|
| +++ b/runtime/bin/BUILD.gn
|
| @@ -297,6 +297,10 @@ executable("gen_snapshot") {
|
|
|
| include_dirs = [ ".." ]
|
|
|
| + if (dart_use_tcmalloc) {
|
| + deps += [ "//third_party/tcmalloc" ]
|
| + }
|
| +
|
| if (is_mac) {
|
| libs = [
|
| "CoreFoundation.framework",
|
| @@ -574,7 +578,6 @@ template("dart_executable") {
|
|
|
| if (dart_use_tcmalloc) {
|
| deps += [ "//third_party/tcmalloc" ]
|
| - defines += [ "DART_USE_TCMALLOC" ]
|
| }
|
|
|
| sources = [
|
|
|