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

Unified Diff: tools/gyp/configurations.gypi

Issue 1663863002: Add product mode: (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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
Index: tools/gyp/configurations.gypi
diff --git a/tools/gyp/configurations.gypi b/tools/gyp/configurations.gypi
index ddf46471f46e3189c6014e10c84a7d9cfbffaa9f..85ec6515ab4ef4f5ab2f7ac9f68297505a7f33b5 100644
--- a/tools/gyp/configurations.gypi
+++ b/tools/gyp/configurations.gypi
@@ -143,6 +143,13 @@
],
},
+ 'Dart_Product' : {
+ 'abstract': 1,
+ 'defines' : [
+ 'NDEBUG',
+ 'PRODUCT',
+ ]
+ },
# Configurations
'DebugIA32': {
@@ -163,6 +170,15 @@
],
},
+ 'ProductIA32': {
+ 'inherit_from': [
+ 'Dart_Base', 'Dart_ia32_Base', 'Dart_Product',
+ 'Dart_<(dart_target_os)_Base',
+ 'Dart_<(dart_target_os)_ia32_Base',
+ 'Dart_<(dart_target_os)_Product',
+ ],
+ },
+
'DebugX64': {
'inherit_from': [
'Dart_Base', 'Dart_x64_Base', 'Dart_Debug',

Powered by Google App Engine
This is Rietveld 408576698