| 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
|
| }
|
|
|
|
|