Home | History | Annotate | Download | only in linker-flags
      1 # Copyright (c) 2015 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     {
      8       'target_name': 'test_default',
      9       'type': 'executable',
     10       'sources': ['hello.cc'],
     11     },
     12     {
     13       'target_name': 'test_set_reserved_size',
     14       'type': 'executable',
     15       'sources': ['hello.cc'],
     16       'msvs_settings': {
     17         'VCLinkerTool': {
     18           'StackReserveSize': 2097152,  # 2MB
     19         }
     20       },
     21     },
     22     {
     23       'target_name': 'test_set_commit_size',
     24       'type': 'executable',
     25       'sources': ['hello.cc'],
     26       'msvs_settings': {
     27         'VCLinkerTool': {
     28           'StackCommitSize': 8192,  # 8KB
     29         }
     30       },
     31     },
     32     {
     33       'target_name': 'test_set_both',
     34       'type': 'executable',
     35       'sources': ['hello.cc'],
     36       'msvs_settings': {
     37         'VCLinkerTool': {
     38           'StackReserveSize': 2097152,  # 2MB
     39           'StackCommitSize': 8192,  # 8KB
     40         }
     41       },
     42     },
     43   ]
     44 }
     45