Home | History | Annotate | Download | only in compiler-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     # Turn debug information on so that we can see the name of the buffer
      8     # security check cookie in the disassembly.
      9     {
     10       'target_name': 'test_bsc_unset',
     11       'type': 'executable',
     12       'msvs_settings': {
     13         'VCCLCompilerTool': {
     14           'DebugInformationFormat': '3',
     15         },
     16         'VCLinkerTool': {
     17           'GenerateDebugInformation': 'true',
     18         },
     19       },
     20       'sources': ['buffer-security.cc'],
     21     },
     22     {
     23       'target_name': 'test_bsc_off',
     24       'type': 'executable',
     25       'msvs_settings': {
     26         'VCCLCompilerTool': {
     27           'BufferSecurityCheck': 'false',
     28           'DebugInformationFormat': '3',
     29         },
     30         'VCLinkerTool': {
     31           'GenerateDebugInformation': 'true',
     32         },
     33       },
     34       'sources': ['buffer-security.cc'],
     35     },
     36     {
     37       'target_name': 'test_bsc_on',
     38       'type': 'executable',
     39       'msvs_settings': {
     40         'VCCLCompilerTool': {
     41           'BufferSecurityCheck': 'true',
     42           'DebugInformationFormat': '3',
     43         },
     44         'VCLinkerTool': {
     45           'GenerateDebugInformation': 'true',
     46         },
     47       },
     48       'sources': ['buffer-security.cc'],
     49     },
     50   ]
     51 }
     52