blob: bfccb3cf4688d8b6e6b3a2531c8d5263769942e2 [file] [log] [blame]
# 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" ]
}