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