Index: app/app.gyp |
diff --git a/app/app.gyp b/app/app.gyp |
index adc1f76fa3627cd44258699ce366131a1845b585..f03cc0a43dcb75114754a4f3478654c0b97de8a7 100644 |
--- a/app/app.gyp |
+++ b/app/app.gyp |
@@ -143,6 +143,11 @@ |
'action': ['<@(grit_cmd)', |
'-i', '<(input_path)', 'build', |
'-o', '<(grit_out_dir)/app_resources'], |
+ 'conditions': [ |
+ ['toolkit_views==1', { |
+ 'action': ['-D', 'toolkit_views'], |
+ }], |
+ ], |
'message': 'Generating resources from <(input_path)', |
}, |
], |