Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(426)

Unified Diff: test/win/linker-flags/stacksize.gyp

Issue 1288223004: msvs_emulation: Add support for StackReserveSize and StackCommitSize (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: fix indent Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/win/gyptest-link-stacksize.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/win/linker-flags/stacksize.gyp
diff --git a/test/win/linker-flags/enable-uac.gyp b/test/win/linker-flags/stacksize.gyp
similarity index 51%
copy from test/win/linker-flags/enable-uac.gyp
copy to test/win/linker-flags/stacksize.gyp
index 4e58c86ec8855038726205b21743852b1d20aaf3..bba44ca4a71dee839b08f7c5232f07a51deb7013 100644
--- a/test/win/linker-flags/enable-uac.gyp
+++ b/test/win/linker-flags/stacksize.gyp
@@ -1,43 +1,42 @@
-# Copyright 2013 Google Inc. All rights reserved.
+# Copyright (c) 2015 Google Inc. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
- 'target_name': 'enable_uac',
+ 'target_name': 'test_default',
+ 'type': 'executable',
+ 'sources': ['hello.cc'],
+ },
+ {
+ 'target_name': 'test_set_reserved_size',
'type': 'executable',
'sources': ['hello.cc'],
'msvs_settings': {
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
+ 'VCLinkerTool': {
+ 'StackReserveSize': 2097152, # 2MB
}
},
},
{
- 'target_name': 'enable_uac_no',
+ 'target_name': 'test_set_commit_size',
'type': 'executable',
'sources': ['hello.cc'],
'msvs_settings': {
'VCLinkerTool': {
- 'EnableUAC': 'false',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
+ 'StackCommitSize': 8192, # 8KB
}
},
},
{
- 'target_name': 'enable_uac_admin',
+ 'target_name': 'test_set_both',
'type': 'executable',
'sources': ['hello.cc'],
'msvs_settings': {
'VCLinkerTool': {
- 'UACExecutionLevel': 2,
- 'UACUIAccess': 'true',
- },
- 'VCManifestTool': {
- 'EmbedManifest': 'true',
+ 'StackReserveSize': 2097152, # 2MB
+ 'StackCommitSize': 8192, # 8KB
}
},
},
« no previous file with comments | « test/win/gyptest-link-stacksize.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698