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

Unified Diff: webkit/webkit_glue.gyp

Issue 376022: DevTools: concatenate JS files into one big devtools.js file (similar to inspector.js in WebKit) (Closed)
Patch Set: Fixed long lines Created 11 years, 1 month 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 | « webkit/build/concatenate_js_files.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/webkit_glue.gyp
diff --git a/webkit/webkit_glue.gyp b/webkit/webkit_glue.gyp
index 914be724499cfa47856f16b5e8a4b9ef0332b87d..f823dfd04a79b5ea02c15f6c7641b81515e367cf 100644
--- a/webkit/webkit_glue.gyp
+++ b/webkit/webkit_glue.gyp
@@ -39,6 +39,8 @@
'glue/devtools/js/devtools_host_stub.js',
'glue/devtools/js/tests.js',
],
+
+ 'debug_devtools%': 0,
},
'targets': [
{
@@ -450,15 +452,24 @@
'dependencies': [
'devtools_html',
],
+ 'conditions': [
+ ['debug_devtools==0', {
+ 'dependencies+': [
+ 'concatenated_devtools_js',
+ ],
+ }],
+ ],
'copies': [
{
'destination': '<(PRODUCT_DIR)/resources/inspector',
'files': [
-
'<@(devtools_files)',
-
'<@(webinspector_files)',
-
+ ],
+ 'conditions': [
+ ['debug_devtools==0', {
+ 'files/': [['exclude', '\\.js$']],
+ }],
],
},
{
@@ -501,7 +512,33 @@
'action': ['python', '<@(_inputs)', '<@(_outputs)', '<@(devtools_files)'],
},
],
- }
+ },
+ {
+ 'target_name': 'concatenated_devtools_js',
+ 'type': 'none',
+ 'msvs_guid': '8CCFDF4A-B702-4988-9207-623D1477D3E7',
+ 'dependencies': [
+ 'devtools_html',
+ ],
+ 'sources': [
+ '<(PRODUCT_DIR)/resources/inspector/devtools.js',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'concatenate_devtools_js',
+ 'inputs': [
+ 'build/concatenate_js_files.py',
+ '<(PRODUCT_DIR)/resources/inspector/devtools.html',
+ '<@(webinspector_files)',
+ '<@(devtools_files)',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/resources/inspector/devtools.js',
+ ],
+ 'action': ['python', '<@(_inputs)', '<@(_outputs)'],
+ },
+ ],
+ },
], # targets
}
« no previous file with comments | « webkit/build/concatenate_js_files.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698