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 3 # found in the LICENSE file. 4 5 { 6 'targets': [ 7 # Verify that 'ProgramDatabaseFile' option correctly makes it to LINK 8 # step in Ninja. 9 { 10 # Verify that VC macros and windows paths work correctly. 11 'target_name': 'test_pdb_outdir', 12 'type': 'executable', 13 'sources': ['hello.cc'], 14 'msvs_settings': { 15 'VCCLCompilerTool': { 16 'DebugInformationFormat': '3' 17 }, 18 'VCLinkerTool': { 19 'GenerateDebugInformation': 'true', 20 'ProgramDatabaseFile': '$(OutDir)\\name_outdir.pdb', 21 }, 22 }, 23 }, 24 { 25 # Verify that GYP macros and POSIX paths work correctly. 26 'target_name': 'test_pdb_proddir', 27 'type': 'executable', 28 'sources': ['hello.cc'], 29 'msvs_settings': { 30 'VCCLCompilerTool': { 31 'DebugInformationFormat': '3' 32 }, 33 'VCLinkerTool': { 34 'GenerateDebugInformation': 'true', 35 'ProgramDatabaseFile': '<(PRODUCT_DIR)/name_proddir.pdb', 36 }, 37 }, 38 }, 39 ] 40 } 41