Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: third_party/tcmalloc/BUILD.gn

Issue 2730473002: Build addr2line-pdb from tcmalloc for use in memory-infra symbolization (Closed)
Patch Set: make it all work Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 }
OLDNEW
« BUILD.gn ('K') | « BUILD.gn ('k') | third_party/tcmalloc/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698