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

Side by Side Diff: test/win/linker-flags/program-database.gyp

Issue 126443004: win ninja: include .pdb in linker outputs (Closed) Base URL: http://gyp.googlecode.com/svn/trunk
Patch Set: update comment Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « test/win/linker-flags/pdb-output.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 Google Inc. All rights reserved. 1 # Copyright (c) 2012 Google Inc. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 # Verify that 'ProgramDataBase' option correctly makes it to LINK step in Ni nja 7 # Verify that 'ProgramDatabaseFile' option correctly makes it to LINK
8 # step in Ninja.
8 { 9 {
9 # Verify that VC macros and windows paths work correctly 10 # Verify that VC macros and windows paths work correctly.
10 'target_name': 'test_pdb_outdir', 11 'target_name': 'test_pdb_outdir',
11 'type': 'executable', 12 'type': 'executable',
12 'sources': ['hello.cc'], 13 'sources': ['hello.cc'],
13 'msvs_settings': { 14 'msvs_settings': {
14 'VCCLCompilerTool': { 15 'VCCLCompilerTool': {
15 'DebugInformationFormat': '3' 16 'DebugInformationFormat': '3'
16 }, 17 },
17 'VCLinkerTool': { 18 'VCLinkerTool': {
18 'GenerateDebugInformation': 'true', 19 'GenerateDebugInformation': 'true',
19 'ProgramDatabaseFile': '$(OutDir)\\name_outdir.pdb', 20 'ProgramDatabaseFile': '$(OutDir)\\name_outdir.pdb',
20 }, 21 },
21 }, 22 },
22 }, 23 },
23 { 24 {
24 # Verify that GYP macros and POSIX paths work correctly 25 # Verify that GYP macros and POSIX paths work correctly.
25 'target_name': 'test_pdb_proddir', 26 'target_name': 'test_pdb_proddir',
26 'type': 'executable', 27 'type': 'executable',
27 'sources': ['hello.cc'], 28 'sources': ['hello.cc'],
28 'msvs_settings': { 29 'msvs_settings': {
29 'VCCLCompilerTool': { 30 'VCCLCompilerTool': {
30 'DebugInformationFormat': '3' 31 'DebugInformationFormat': '3'
31 }, 32 },
32 'VCLinkerTool': { 33 'VCLinkerTool': {
33 'GenerateDebugInformation': 'true', 34 'GenerateDebugInformation': 'true',
34 'ProgramDatabaseFile': '<(PRODUCT_DIR)/name_proddir.pdb', 35 'ProgramDatabaseFile': '<(PRODUCT_DIR)/name_proddir.pdb',
35 }, 36 },
36 }, 37 },
37 }, 38 },
38 ] 39 ]
39 } 40 }
OLDNEW
« no previous file with comments | « test/win/linker-flags/pdb-output.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698