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

Unified Diff: tools/gyp/configurations_msvs.gypi

Issue 1663863002: Add product mode: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Reworked the flags setting: Moving to single file for all flag defintions. Created 4 years, 11 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 | « tools/gyp/configurations_make.gypi ('k') | tools/gyp/configurations_xcode.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/configurations_msvs.gypi
diff --git a/tools/gyp/configurations_msvs.gypi b/tools/gyp/configurations_msvs.gypi
index c8b0fd3918a1a8fb5f7c6c1afab9daf95fd38c2e..3650127e1f891ac10d90bda2f821634631c5d0d4 100644
--- a/tools/gyp/configurations_msvs.gypi
+++ b/tools/gyp/configurations_msvs.gypi
@@ -46,6 +46,7 @@
'ExceptionHandling': '0',
'RuntimeTypeInfo': 'false',
'RuntimeLibrary': '1', # /MTd - Multi-threaded, static (debug)
+ 'OmitFramePointers': 'false',
},
'VCLinkerTool': {
'LinkIncremental': '2',
@@ -58,18 +59,6 @@
],
},
},
- 'conditions': [
- ['c_frame_pointers==1', {
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'OmitFramePointers': 'false',
- },
- },
- 'defines': [
- 'NATIVE_CODE_HAS_FRAME_POINTERS'
- ],
- }],
- ],
# C4351 warns MSVC follows the C++ specification regarding array
# initialization in member initializers. Code that expects the
# specified behavior should silence this warning.
@@ -88,6 +77,7 @@
'RuntimeTypeInfo': 'false',
'StringPooling': 'true',
'RuntimeLibrary': '0', # /MT - Multi-threaded, static
+ 'OmitFramePointers': 'false',
},
'VCLinkerTool': {
'LinkIncremental': '1',
@@ -102,18 +92,38 @@
],
},
},
- 'conditions': [
- ['c_frame_pointers==1', {
- 'msvs_settings': {
- 'VCCLCompilerTool': {
- 'OmitFramePointers': 'false',
- },
- },
- 'defines': [
- 'NATIVE_CODE_HAS_FRAME_POINTERS'
+ # C4351 warns MSVC follows the C++ specification regarding array
+ # initialization in member initializers. Code that expects the
+ # specified behavior should silence this warning.
+ 'msvs_disabled_warnings': [4351],
+ },
+
+ 'Dart_Win_Product': {
+ 'abstract': 1,
+ 'msvs_settings': {
+ 'VCCLCompilerTool': {
+ 'Optimization': '2',
+ 'InlineFunctionExpansion': '2',
+ 'EnableIntrinsicFunctions': 'true',
+ 'FavorSizeOrSpeed': '0',
+ 'ExceptionHandling': '0',
+ 'RuntimeTypeInfo': 'false',
+ 'StringPooling': 'true',
+ 'RuntimeLibrary': '0', # /MT - Multi-threaded, static
+ },
+ 'VCLinkerTool': {
+ 'LinkIncremental': '1',
+ 'GenerateDebugInformation': 'true',
+ 'OptimizeReferences': '2',
+ 'EnableCOMDATFolding': '2',
+ 'StackReserveSize': '2097152',
+ 'AdditionalDependencies': [
+ 'advapi32.lib',
+ 'shell32.lib',
+ 'dbghelp.lib',
],
- }],
- ],
+ },
+ },
# C4351 warns MSVC follows the C++ specification regarding array
# initialization in member initializers. Code that expects the
# specified behavior should silence this warning.
« no previous file with comments | « tools/gyp/configurations_make.gypi ('k') | tools/gyp/configurations_xcode.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698