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

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

Issue 11368059: Update ProgramDatabaseFile for Ninja (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/win/gyptest-link-pdb.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/win/linker-flags/program-database.gyp
===================================================================
--- test/win/linker-flags/program-database.gyp (revision 1531)
+++ test/win/linker-flags/program-database.gyp (working copy)
@@ -4,9 +4,10 @@
{
'targets': [
- # Verify that 'ProgramDataBase' option correctly makes it to LINK steup in Ninja
+ # Verify that 'ProgramDataBase' option correctly makes it to LINK step in Ninja
{
- 'target_name': 'test_pdb_set',
+ # Verify that VC macros and windows paths work correctly
+ 'target_name': 'test_pdb_outdir',
'type': 'executable',
'sources': ['hello.cc'],
'msvs_settings': {
@@ -15,9 +16,24 @@
},
'VCLinkerTool': {
'GenerateDebugInformation': 'true',
- 'ProgramDatabaseFile': '<(PRODUCT_DIR)\\name_set.pdb',
+ 'ProgramDatabaseFile': '$(OutDir)\\name_outdir.pdb',
},
},
},
+ {
+ # Verify that GYP macros and POSIX paths work correctly
+ 'target_name': 'test_pdb_proddir',
+ 'type': 'executable',
+ 'sources': ['hello.cc'],
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'DebugInformationFormat': '3'
+ },
+ 'VCLinkerTool': {
+ 'GenerateDebugInformation': 'true',
+ 'ProgramDatabaseFile': '<(PRODUCT_DIR)/name_proddir.pdb',
+ },
+ },
+ },
]
}
« no previous file with comments | « test/win/gyptest-link-pdb.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698