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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « webkit/build/concatenate_js_files.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'includes': [ 6 'includes': [
7 '../third_party/WebKit/WebKit/chromium/features.gypi', 7 '../third_party/WebKit/WebKit/chromium/features.gypi',
8 '../third_party/WebKit/WebCore/WebCore.gypi', 8 '../third_party/WebKit/WebCore/WebCore.gypi',
9 ], 9 ],
10 'variables': { 10 'variables': {
(...skipping 21 matching lines...) Expand all
32 '../v8/tools/logreader.js', 32 '../v8/tools/logreader.js',
33 '../v8/tools/profile.js', 33 '../v8/tools/profile.js',
34 '../v8/tools/profile_view.js', 34 '../v8/tools/profile_view.js',
35 '../v8/tools/splaytree.js', 35 '../v8/tools/splaytree.js',
36 'glue/devtools/js/profiler_processor.js', 36 'glue/devtools/js/profiler_processor.js',
37 'glue/devtools/js/heap_profiler_panel.js', 37 'glue/devtools/js/heap_profiler_panel.js',
38 'glue/devtools/js/devtools.js', 38 'glue/devtools/js/devtools.js',
39 'glue/devtools/js/devtools_host_stub.js', 39 'glue/devtools/js/devtools_host_stub.js',
40 'glue/devtools/js/tests.js', 40 'glue/devtools/js/tests.js',
41 ], 41 ],
42
43 'debug_devtools%': 0,
42 }, 44 },
43 'targets': [ 45 'targets': [
44 { 46 {
45 # Currently, builders assume webkit.sln builds test_shell on windows. 47 # Currently, builders assume webkit.sln builds test_shell on windows.
46 # We should change this, but for now allows trybot runs. 48 # We should change this, but for now allows trybot runs.
47 # for now. 49 # for now.
48 'target_name': 'pull_in_test_shell', 50 'target_name': 'pull_in_test_shell',
49 'type': 'none', 51 'type': 'none',
50 'conditions': [ 52 'conditions': [
51 ['OS=="win"', { 53 ['OS=="win"', {
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 }], 445 }],
444 ], 446 ],
445 }, 447 },
446 { 448 {
447 'target_name': 'inspector_resources', 449 'target_name': 'inspector_resources',
448 'type': 'none', 450 'type': 'none',
449 'msvs_guid': '5330F8EE-00F5-D65C-166E-E3150171055D', 451 'msvs_guid': '5330F8EE-00F5-D65C-166E-E3150171055D',
450 'dependencies': [ 452 'dependencies': [
451 'devtools_html', 453 'devtools_html',
452 ], 454 ],
455 'conditions': [
456 ['debug_devtools==0', {
457 'dependencies+': [
458 'concatenated_devtools_js',
459 ],
460 }],
461 ],
453 'copies': [ 462 'copies': [
454 { 463 {
455 'destination': '<(PRODUCT_DIR)/resources/inspector', 464 'destination': '<(PRODUCT_DIR)/resources/inspector',
456 'files': [ 465 'files': [
457
458 '<@(devtools_files)', 466 '<@(devtools_files)',
459
460 '<@(webinspector_files)', 467 '<@(webinspector_files)',
461 468 ],
469 'conditions': [
470 ['debug_devtools==0', {
471 'files/': [['exclude', '\\.js$']],
472 }],
462 ], 473 ],
463 }, 474 },
464 { 475 {
465 'destination': '<(PRODUCT_DIR)/resources/inspector/Images', 476 'destination': '<(PRODUCT_DIR)/resources/inspector/Images',
466 'files': [ 477 'files': [
467 478
468 '<@(webinspector_image_files)', 479 '<@(webinspector_image_files)',
469 480
470 'glue/devtools/js/Images/segmentChromium.png', 481 'glue/devtools/js/Images/segmentChromium.png',
471 'glue/devtools/js/Images/segmentHoverChromium.png', 482 'glue/devtools/js/Images/segmentHoverChromium.png',
(...skipping 22 matching lines...) Expand all
494 'inputs': [ 505 'inputs': [
495 'build/generate_devtools_html.py', 506 'build/generate_devtools_html.py',
496 '../third_party/WebKit/WebCore/inspector/front-end/inspector.html', 507 '../third_party/WebKit/WebCore/inspector/front-end/inspector.html',
497 ], 508 ],
498 'outputs': [ 509 'outputs': [
499 '<(PRODUCT_DIR)/resources/inspector/devtools.html', 510 '<(PRODUCT_DIR)/resources/inspector/devtools.html',
500 ], 511 ],
501 'action': ['python', '<@(_inputs)', '<@(_outputs)', '<@(devtools_files )'], 512 'action': ['python', '<@(_inputs)', '<@(_outputs)', '<@(devtools_files )'],
502 }, 513 },
503 ], 514 ],
504 } 515 },
516 {
517 'target_name': 'concatenated_devtools_js',
518 'type': 'none',
519 'msvs_guid': '8CCFDF4A-B702-4988-9207-623D1477D3E7',
520 'dependencies': [
521 'devtools_html',
522 ],
523 'sources': [
524 '<(PRODUCT_DIR)/resources/inspector/devtools.js',
525 ],
526 'actions': [
527 {
528 'action_name': 'concatenate_devtools_js',
529 'inputs': [
530 'build/concatenate_js_files.py',
531 '<(PRODUCT_DIR)/resources/inspector/devtools.html',
532 '<@(webinspector_files)',
533 '<@(devtools_files)',
534 ],
535 'outputs': [
536 '<(PRODUCT_DIR)/resources/inspector/devtools.js',
537 ],
538 'action': ['python', '<@(_inputs)', '<@(_outputs)'],
539 },
540 ],
541 },
505 ], # targets 542 ], # targets
506 } 543 }
507 544
508 # Local Variables: 545 # Local Variables:
509 # tab-width:2 546 # tab-width:2
510 # indent-tabs-mode:nil 547 # indent-tabs-mode:nil
511 # End: 548 # End:
512 # vim: set expandtab tabstop=2 shiftwidth=2: 549 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« 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