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

Unified Diff: runtime/tools/gyp/runtime-configurations.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 | « no previous file | runtime/vm/assembler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/tools/gyp/runtime-configurations.gypi
diff --git a/runtime/tools/gyp/runtime-configurations.gypi b/runtime/tools/gyp/runtime-configurations.gypi
index 0b053c4b6248ea73a0426485f3a3fe895a4daffb..e5fc998ee79e0462471e2e5b9e2d39e72dfc1438 100644
--- a/runtime/tools/gyp/runtime-configurations.gypi
+++ b/runtime/tools/gyp/runtime-configurations.gypi
@@ -31,22 +31,6 @@
},
},
- 'Dart_Debug': {
- 'abstract': 1,
- 'defines': [
- 'DEBUG',
- ],
- 'xcode_settings': {
- 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)',
- },
- },
-
- 'Debug': {
- 'defines': [
- 'DEBUG',
- ],
- },
-
'Dart_ia32_Base': {
'abstract': 1,
'xcode_settings': {
@@ -113,12 +97,35 @@
},
},
+ 'Dart_Debug': {
+ 'abstract': 1,
+ 'defines': [
+ 'DEBUG',
+ ],
+ 'xcode_settings': {
+ 'GCC_OPTIMIZATION_LEVEL': '<(dart_debug_optimization_level)',
+ },
+ },
+
+ 'Debug': {
+ 'defines': [
+ 'DEBUG',
+ ],
+ },
+
'Dart_Release': {
'abstract': 1,
'xcode_settings': {
'GCC_OPTIMIZATION_LEVEL': '3',
},
},
+
+ 'Dart_Product' : {
+ 'abstract': 1,
+ 'xcode_settings': {
+ 'GCC_OPTIMIZATION_LEVEL': '3',
+ }
+ },
},
},
}
« no previous file with comments | « no previous file | runtime/vm/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698