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     # Disable DYNAMICBASE for these tests because it implies/doesn't imply
      8     # FIXED in certain cases so it complicates the test for FIXED.
      9     {
     10       'target_name': 'test_fixed_default_exe',
     11       'type': 'executable',
     12       'msvs_settings': {
     13         'VCLinkerTool': {
     14           'RandomizedBaseAddress': '1',
     15         },
     16       },
     17       'sources': ['hello.cc'],
     18     },
     19     {
     20       'target_name': 'test_fixed_default_dll',
     21       'type': 'shared_library',
     22       'msvs_settings': {
     23         'VCLinkerTool': {
     24           'RandomizedBaseAddress': '1',
     25         },
     26       },
     27       'sources': ['hello.cc'],
     28     },
     29     {
     30       'target_name': 'test_fixed_no',
     31       'type': 'executable',
     32       'msvs_settings': {
     33         'VCLinkerTool': {
     34           'FixedBaseAddress': '1',
     35           'RandomizedBaseAddress': '1',
     36         }
     37       },
     38       'sources': ['hello.cc'],
     39     },
     40     {
     41       'target_name': 'test_fixed_yes',
     42       'type': 'executable',
     43       'msvs_settings': {
     44         'VCLinkerTool': {
     45           'FixedBaseAddress': '2',
     46           'RandomizedBaseAddress': '1',
     47         },
     48       },
     49       'sources': ['hello.cc'],
     50     },
     51   ]
     52 }
     53