naiveproxy/third_party/tcmalloc/BUILD.gn

22 lines
596 B
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
# 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/allocator.gni")
import("//build/config/compiler/compiler.gni")
executable("addr2line-pdb") {
if (use_new_tcmalloc) {
sources = [
"chromium/src/windows/addr2line-pdb.c",
]
} else {
sources = [
"gperftools-2.0/chromium/src/windows/addr2line-pdb.c",
]
}
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
}