Index: third_party/tcmalloc/BUILD.gn |
diff --git a/third_party/tcmalloc/BUILD.gn b/third_party/tcmalloc/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ea10b281cb06af1541e450668737171f8c972ad9 |
--- /dev/null |
+++ b/third_party/tcmalloc/BUILD.gn |
@@ -0,0 +1,14 @@ |
+# Copyright (c) 2017 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+import("//build/config/compiler/compiler.gni") |
+ |
+executable("addr2line-pdb") { |
+ sources = [ |
+ "chromium/src/windows/addr2line-pdb.c", |
+ ] |
+ |
+ configs -= [ "//build/config/compiler:chromium_code" ] |
+ configs += [ "//build/config/compiler:no_chromium_code" ] |
+} |