| OLD | NEW |
| 1 # Copyright (c) 2012 Google Inc. All rights reserved. | 1 # Copyright (c) 2014 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 | |
| 8 { | 7 { |
| 9 # Verify that VC macros and windows paths work correctly | 8 'target_name': 'test_pdb_output_exe', |
| 10 'target_name': 'test_pdb_outdir', | |
| 11 'type': 'executable', | 9 'type': 'executable', |
| 12 'sources': ['hello.cc'], | 10 'sources': ['hello.cc'], |
| 13 'msvs_settings': { | 11 'msvs_settings': { |
| 14 'VCCLCompilerTool': { | 12 'VCCLCompilerTool': { |
| 15 'DebugInformationFormat': '3' | 13 'DebugInformationFormat': '3' |
| 16 }, | 14 }, |
| 17 'VCLinkerTool': { | 15 'VCLinkerTool': { |
| 18 'GenerateDebugInformation': 'true', | 16 'GenerateDebugInformation': 'true', |
| 19 'ProgramDatabaseFile': '$(OutDir)\\name_outdir.pdb', | 17 'ProgramDatabaseFile': 'output_exe.pdb', |
| 20 }, | 18 }, |
| 21 }, | 19 }, |
| 22 }, | 20 }, |
| 23 { | 21 { |
| 24 # Verify that GYP macros and POSIX paths work correctly | 22 'target_name': 'test_pdb_output_dll', |
| 25 'target_name': 'test_pdb_proddir', | 23 'type': 'shared_library', |
| 26 'type': 'executable', | |
| 27 'sources': ['hello.cc'], | 24 'sources': ['hello.cc'], |
| 28 'msvs_settings': { | 25 'msvs_settings': { |
| 29 'VCCLCompilerTool': { | 26 'VCCLCompilerTool': { |
| 30 'DebugInformationFormat': '3' | 27 'DebugInformationFormat': '3' |
| 31 }, | 28 }, |
| 32 'VCLinkerTool': { | 29 'VCLinkerTool': { |
| 33 'GenerateDebugInformation': 'true', | 30 'GenerateDebugInformation': 'true', |
| 34 'ProgramDatabaseFile': '<(PRODUCT_DIR)/name_proddir.pdb', | 31 'ProgramDatabaseFile': 'output_dll.pdb', |
| 35 }, | 32 }, |
| 36 }, | 33 }, |
| 37 }, | 34 }, |
| 38 ] | 35 ] |
| 39 } | 36 } |
| OLD | NEW |