Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2017 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/compiler/compiler.gni") | |
| 6 | |
| 7 executable("addr2line-pdb") { | |
|
erikchen
2017/03/01 22:42:51
Code search seems to show that most other third_pa
awong
2017/03/01 22:57:00
Done.
Infact, reduced it even further.
FYI, orig
| |
| 8 tcmalloc_dir = "//third_party/tcmalloc/chromium" | |
| 9 | |
| 10 # Don't check tcmalloc's includes. These files include various files like | |
| 11 # base/foo.h and they actually refer to tcmalloc's forked copy of base | |
| 12 # rather than the regular one, which confuses the header checker. | |
| 13 check_includes = false | |
| 14 | |
| 15 sources = [ | |
| 16 "$tcmalloc_dir/src/windows/addr2line-pdb.c", | |
| 17 ] | |
| 18 | |
| 19 include_dirs = [ | |
| 20 ".", | |
| 21 "$tcmalloc_dir/src/base", | |
| 22 "$tcmalloc_dir/src", | |
| 23 ] | |
| 24 | |
| 25 configs -= [ "//build/config/compiler:chromium_code" ] | |
| 26 configs += [ "//build/config/compiler:no_chromium_code" ] | |
| 27 } | |
| OLD | NEW |