| OLD | NEW |
| 1 # | 1 # |
| 2 # Copyright (C) 2013 Google Inc. All rights reserved. | 2 # Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 # | 3 # |
| 4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
| 6 # met: | 6 # met: |
| 7 # | 7 # |
| 8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
| 9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
| 10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 'type': 'none', | 38 'type': 'none', |
| 39 'dependencies': [ | 39 'dependencies': [ |
| 40 'supported_css_properties', | 40 'supported_css_properties', |
| 41 'frontend_protocol_sources', | 41 'frontend_protocol_sources', |
| 42 'build_applications', | 42 'build_applications', |
| 43 ], | 43 ], |
| 44 'conditions': [ | 44 'conditions': [ |
| 45 ['debug_devtools==0', { | 45 ['debug_devtools==0', { |
| 46 'dependencies': [ | 46 'dependencies': [ |
| 47 'concatenated_devtools_css', | 47 'concatenated_devtools_css', |
| 48 'concatenated_inspector_css', |
| 48 'concatenated_toolbox_css', | 49 'concatenated_toolbox_css', |
| 49 ], | 50 ], |
| 50 }], | 51 }], |
| 51 ], | 52 ], |
| 52 'copies': [ | 53 'copies': [ |
| 53 { | 54 { |
| 54 'destination': '<(PRODUCT_DIR)/resources/inspector/Images', | 55 'destination': '<(PRODUCT_DIR)/resources/inspector/Images', |
| 55 'files': [ | 56 'files': [ |
| 56 '<@(devtools_image_files)', | 57 '<@(devtools_image_files)', |
| 57 ], | 58 ], |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 'front_end' | 90 'front_end' |
| 90 ], | 91 ], |
| 91 'static_files': [ | 92 'static_files': [ |
| 92 # Intentionally empty. Should get rebuilt when switc
hing from debug_devtools==1. | 93 # Intentionally empty. Should get rebuilt when switc
hing from debug_devtools==1. |
| 93 ], | 94 ], |
| 94 'devtools_static_files_list': '<|(devtools_static_grd_fi
les.tmp <@(_static_files))', | 95 'devtools_static_files_list': '<|(devtools_static_grd_fi
les.tmp <@(_static_files))', |
| 95 'generated_files': [ | 96 'generated_files': [ |
| 96 '<(PRODUCT_DIR)/resources/inspector/devtools.css', | 97 '<(PRODUCT_DIR)/resources/inspector/devtools.css', |
| 97 '<(PRODUCT_DIR)/resources/inspector/devtools.html', | 98 '<(PRODUCT_DIR)/resources/inspector/devtools.html', |
| 98 '<(PRODUCT_DIR)/resources/inspector/devtools.js', | 99 '<(PRODUCT_DIR)/resources/inspector/devtools.js', |
| 100 '<(PRODUCT_DIR)/resources/inspector/inspector.css', |
| 101 '<(PRODUCT_DIR)/resources/inspector/inspector.html', |
| 102 '<(PRODUCT_DIR)/resources/inspector/inspector.js', |
| 99 '<(PRODUCT_DIR)/resources/inspector/toolbox.css', | 103 '<(PRODUCT_DIR)/resources/inspector/toolbox.css', |
| 100 '<(PRODUCT_DIR)/resources/inspector/toolbox.html', | 104 '<(PRODUCT_DIR)/resources/inspector/toolbox.html', |
| 101 '<(PRODUCT_DIR)/resources/inspector/toolbox.js', | 105 '<(PRODUCT_DIR)/resources/inspector/toolbox.js', |
| 102 '<(PRODUCT_DIR)/resources/inspector/audits_module.js
', | 106 '<(PRODUCT_DIR)/resources/inspector/audits_module.js
', |
| 103 '<(PRODUCT_DIR)/resources/inspector/console_module.j
s', | 107 '<(PRODUCT_DIR)/resources/inspector/console_module.j
s', |
| 104 '<(PRODUCT_DIR)/resources/inspector/devices_module.j
s', | 108 '<(PRODUCT_DIR)/resources/inspector/devices_module.j
s', |
| 105 '<(PRODUCT_DIR)/resources/inspector/documentation_mo
dule.js', | 109 '<(PRODUCT_DIR)/resources/inspector/documentation_mo
dule.js', |
| 106 '<(PRODUCT_DIR)/resources/inspector/elements_module.
js', | 110 '<(PRODUCT_DIR)/resources/inspector/elements_module.
js', |
| 107 '<(PRODUCT_DIR)/resources/inspector/heap_snapshot_wo
rker_module.js', | 111 '<(PRODUCT_DIR)/resources/inspector/heap_snapshot_wo
rker_module.js', |
| 108 '<(PRODUCT_DIR)/resources/inspector/layers_module.js
', | 112 '<(PRODUCT_DIR)/resources/inspector/layers_module.js
', |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 ], | 150 ], |
| 147 'static_files': [ | 151 'static_files': [ |
| 148 '<@(all_devtools_files)', | 152 '<@(all_devtools_files)', |
| 149 'front_end/Runtime.js', | 153 'front_end/Runtime.js', |
| 150 ], | 154 ], |
| 151 'devtools_static_files_list': '<|(devtools_static_grd_fi
les.tmp <@(_static_files))', | 155 'devtools_static_files_list': '<|(devtools_static_grd_fi
les.tmp <@(_static_files))', |
| 152 'generated_files': [ | 156 'generated_files': [ |
| 153 '<(PRODUCT_DIR)/resources/inspector/InspectorBackend
Commands.js', | 157 '<(PRODUCT_DIR)/resources/inspector/InspectorBackend
Commands.js', |
| 154 '<(PRODUCT_DIR)/resources/inspector/SupportedCSSProp
erties.js', | 158 '<(PRODUCT_DIR)/resources/inspector/SupportedCSSProp
erties.js', |
| 155 '<(PRODUCT_DIR)/resources/inspector/devtools.html', | 159 '<(PRODUCT_DIR)/resources/inspector/devtools.html', |
| 160 '<(PRODUCT_DIR)/resources/inspector/inspector.html', |
| 156 '<(PRODUCT_DIR)/resources/inspector/toolbox.html', | 161 '<(PRODUCT_DIR)/resources/inspector/toolbox.html', |
| 157 ], | 162 ], |
| 158 'inputs': [ | 163 'inputs': [ |
| 159 '<@(_script_name)', | 164 '<@(_script_name)', |
| 160 '<@(_static_files)', | 165 '<@(_static_files)', |
| 161 '<@(_generated_files)', | 166 '<@(_generated_files)', |
| 162 '<@(devtools_image_files)', | 167 '<@(devtools_image_files)', |
| 163 '<(_devtools_static_files_list)', | 168 '<(_devtools_static_files_list)', |
| 164 ], | 169 ], |
| 165 'images_path': [ | 170 'images_path': [ |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 'script_name': 'scripts/build_applications.py', | 241 'script_name': 'scripts/build_applications.py', |
| 237 'helper_scripts': [ | 242 'helper_scripts': [ |
| 238 'scripts/modular_build.py', | 243 'scripts/modular_build.py', |
| 239 'scripts/concatenate_application_code.py', | 244 'scripts/concatenate_application_code.py', |
| 240 ], | 245 ], |
| 241 'inputs': [ | 246 'inputs': [ |
| 242 '<@(_script_name)', | 247 '<@(_script_name)', |
| 243 '<@(_helper_scripts)', | 248 '<@(_helper_scripts)', |
| 244 '<@(all_devtools_files)', | 249 '<@(all_devtools_files)', |
| 245 'front_end/devtools.html', | 250 'front_end/devtools.html', |
| 251 'front_end/inspector.html', |
| 246 'front_end/toolbox.html', | 252 'front_end/toolbox.html', |
| 247 '<(_output_path)/InspectorBackendCommands.js', | 253 '<(_output_path)/InspectorBackendCommands.js', |
| 248 '<(_output_path)/SupportedCSSProperties.js', | 254 '<(_output_path)/SupportedCSSProperties.js', |
| 249 ], | 255 ], |
| 250 'action': ['python', '<@(_script_name)', 'devtools', 'toolbox',
'--input_path', 'front_end', '--output_path', '<@(_output_path)', '--debug', '<@
(debug_devtools)'], | 256 'action': ['python', '<@(_script_name)', 'devtools', 'inspector'
, 'toolbox', '--input_path', 'front_end', '--output_path', '<@(_output_path)', '
--debug', '<@(debug_devtools)'], |
| 251 'conditions': [ | 257 'conditions': [ |
| 252 ['debug_devtools==0', { # Release | 258 ['debug_devtools==0', { # Release |
| 253 'outputs': [ | 259 'outputs': [ |
| 254 '<(_output_path)/devtools.html', | 260 '<(_output_path)/devtools.html', |
| 255 '<(_output_path)/devtools.js', | 261 '<(_output_path)/devtools.js', |
| 262 '<(_output_path)/inspector.html', |
| 263 '<(_output_path)/inspector.js', |
| 256 '<(_output_path)/toolbox.html', | 264 '<(_output_path)/toolbox.html', |
| 257 '<(_output_path)/toolbox.js', | 265 '<(_output_path)/toolbox.js', |
| 258 '<(_output_path)/audits_module.js', | 266 '<(_output_path)/audits_module.js', |
| 259 '<(_output_path)/console_module.js', | 267 '<(_output_path)/console_module.js', |
| 260 '<(_output_path)/devices_module.js', | 268 '<(_output_path)/devices_module.js', |
| 261 '<(_output_path)/documentation_module.js', | 269 '<(_output_path)/documentation_module.js', |
| 262 '<(_output_path)/elements_module.js', | 270 '<(_output_path)/elements_module.js', |
| 263 '<(_output_path)/heap_snapshot_worker_module.js', | 271 '<(_output_path)/heap_snapshot_worker_module.js', |
| 264 '<(_output_path)/layers_module.js', | 272 '<(_output_path)/layers_module.js', |
| 265 '<(_output_path)/network_module.js', | 273 '<(_output_path)/network_module.js', |
| 266 '<(_output_path)/profiler_module.js', | 274 '<(_output_path)/profiler_module.js', |
| 267 '<(_output_path)/promises_module.js', | 275 '<(_output_path)/promises_module.js', |
| 268 '<(_output_path)/resources_module.js', | 276 '<(_output_path)/resources_module.js', |
| 269 '<(_output_path)/script_formatter_worker_module.js', | 277 '<(_output_path)/script_formatter_worker_module.js', |
| 270 '<(_output_path)/settings_module.js', | 278 '<(_output_path)/settings_module.js', |
| 271 '<(_output_path)/source_frame_module.js', | 279 '<(_output_path)/source_frame_module.js', |
| 272 '<(_output_path)/sources_module.js', | 280 '<(_output_path)/sources_module.js', |
| 273 '<(_output_path)/temp_storage_shared_worker_module.j
s', | 281 '<(_output_path)/temp_storage_shared_worker_module.j
s', |
| 274 '<(_output_path)/timeline_module.js', | 282 '<(_output_path)/timeline_module.js', |
| 275 ], | 283 ], |
| 276 }, | 284 }, |
| 277 { # Debug | 285 { # Debug |
| 278 'outputs': [ | 286 'outputs': [ |
| 279 '<(_output_path)/devtools.html', | 287 '<(_output_path)/devtools.html', |
| 288 '<(_output_path)/inspector.html', |
| 280 '<(_output_path)/toolbox.html', | 289 '<(_output_path)/toolbox.html', |
| 281 ] | 290 ] |
| 282 }] | 291 }] |
| 283 ] | 292 ] |
| 284 }], | 293 }], |
| 285 'conditions': [ | 294 'conditions': [ |
| 286 ['debug_devtools==0', { # Release | 295 ['debug_devtools==0', { # Release |
| 287 }, | 296 }, |
| 288 { # Debug | 297 { # Debug |
| 289 # Copy runtime core and non-module directories here. | 298 # Copy runtime core and non-module directories here. |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 '<@(_script_name)', | 336 '<@(_script_name)', |
| 328 '<@(_input_stylesheet)', | 337 '<@(_input_stylesheet)', |
| 329 '<@(devtools_core_base_files)', | 338 '<@(devtools_core_base_files)', |
| 330 ], | 339 ], |
| 331 'search_path': [ 'front_end' ], | 340 'search_path': [ 'front_end' ], |
| 332 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devtools
.css'], | 341 'outputs': ['<(PRODUCT_DIR)/resources/inspector/devtools
.css'], |
| 333 'action': ['python', '<@(_script_name)', '<@(_input_styl
esheet)', '<@(_outputs)'], | 342 'action': ['python', '<@(_script_name)', '<@(_input_styl
esheet)', '<@(_outputs)'], |
| 334 }], | 343 }], |
| 335 }, | 344 }, |
| 336 { | 345 { |
| 346 'target_name': 'concatenated_inspector_css', |
| 347 'type': 'none', |
| 348 'actions': [{ |
| 349 'action_name': 'concatenate_inspector_css', |
| 350 'script_name': 'scripts/concatenate_css_files.py', |
| 351 'input_stylesheet': 'front_end/inspector.css', |
| 352 'inputs': [ |
| 353 '<@(_script_name)', |
| 354 '<@(_input_stylesheet)', |
| 355 '<@(devtools_core_base_files)', |
| 356 ], |
| 357 'search_path': [ 'front_end' ], |
| 358 'outputs': ['<(PRODUCT_DIR)/resources/inspector/inspecto
r.css'], |
| 359 'action': ['python', '<@(_script_name)', '<@(_input_styl
esheet)', '<@(_outputs)'], |
| 360 }], |
| 361 }, |
| 362 { |
| 337 'target_name': 'concatenated_toolbox_css', | 363 'target_name': 'concatenated_toolbox_css', |
| 338 'type': 'none', | 364 'type': 'none', |
| 339 'actions': [{ | 365 'actions': [{ |
| 340 'action_name': 'concatenate_toolbox_css', | 366 'action_name': 'concatenate_toolbox_css', |
| 341 'script_name': 'scripts/concatenate_css_files.py', | 367 'script_name': 'scripts/concatenate_css_files.py', |
| 342 'input_stylesheet': 'front_end/toolbox.css', | 368 'input_stylesheet': 'front_end/toolbox.css', |
| 343 'inputs': [ | 369 'inputs': [ |
| 344 '<@(_script_name)', | 370 '<@(_script_name)', |
| 345 '<@(_input_stylesheet)', | 371 '<@(_input_stylesheet)', |
| 346 '<@(devtools_core_base_files)', | 372 '<@(devtools_core_base_files)', |
| 347 ], | 373 ], |
| 348 'search_path': [ 'front_end' ], | 374 'search_path': [ 'front_end' ], |
| 349 'outputs': ['<(PRODUCT_DIR)/resources/inspector/toolbox.
css'], | 375 'outputs': ['<(PRODUCT_DIR)/resources/inspector/toolbox.
css'], |
| 350 'action': ['python', '<@(_script_name)', '<@(_input_styl
esheet)', '<@(_outputs)'], | 376 'action': ['python', '<@(_script_name)', '<@(_input_styl
esheet)', '<@(_outputs)'], |
| 351 }], | 377 }], |
| 352 }, | 378 }, |
| 353 ], | 379 ], |
| 354 }], | 380 }], |
| 355 ], # conditions | 381 ], # conditions |
| 356 } | 382 } |
| OLD | NEW |