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

Side by Side Diff: tools/win/DebugVisualizers/BUILD.gn

Issue 2895043002: Improve Visual Studio debug visualizers (Closed)
Patch Set: Skia typo Created 3 years, 7 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 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 # The .natvis files define "native visualizers" for the Visual Studio debugger
6 # that allow one to define how custom types appear.
7 #
8 # One can use them by adding them to a project in visual studio, and they can
9 # be embedded in a project's PDB file using the undocumented linker flag
10 # /NATVIS. These configs would generally be added to all_dependent_configs
11 # on a target so all targets that link to them will reference the visualizers
12 # from their PDB files.
13 #
14 # See https://msdn.microsoft.com/en-us/library/jj620914.aspx for how they work.
15 #
16 # Since these only add ldflags, the targets themselves are not rebuilt when the
17 # natvis files are updated. To debug, erase the .pdb file and build to re-link.
18
19 assert(is_win)
20
21 config("chrome") {
22 ldflags = [ "/NATVIS:" + rebase_path("chrome.natvis", root_build_dir) ]
23 }
24
25 config("skia") {
26 ldflags = [ "/NATVIS:" + rebase_path("skia.natvis", root_build_dir) ]
27 }
28
29 config("webkit") {
30 ldflags = [ "/NATVIS:" + rebase_path("webkit.natvis", root_build_dir) ]
31 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/wtf/BUILD.gn ('k') | tools/win/DebugVisualizers/chrome.natvis » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698