| 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 11 matching lines...) Expand all  Loading... | 
|   22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |   22 # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 
|   23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |   23 # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 
|   24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |   24 # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 
|   25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |   25 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 
|   26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |   26 # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 
|   27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |   27 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 
|   28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |   28 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
|   29 # |   29 # | 
|   30  |   30  | 
|   31 { |   31 { | 
 |   32     'variables': { | 
 |   33       'blink_devtools_output_dir': '<(SHARED_INTERMEDIATE_DIR)/blink/devtools', | 
 |   34     }, | 
|   32     'includes': [ |   35     'includes': [ | 
|   33       'devtools.gypi', |   36       'devtools.gypi', | 
|   34     ], |   37     ], | 
|   35     'targets': [ |   38     'targets': [ | 
|   36         { |   39         { | 
|   37             'target_name': 'devtools_frontend_resources', |   40             'target_name': 'devtools_frontend_resources', | 
|   38             'type': 'none', |   41             'type': 'none', | 
|   39             'dependencies': [ |   42             'dependencies': [ | 
|   40                 'devtools_html', |   43                 'devtools_html', | 
|   41                 'supported_css_properties', |   44                 'supported_css_properties', | 
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  166                     # If we're not concatenating devtools files, we want to |  169                     # If we're not concatenating devtools files, we want to | 
|  167                     # run after the original files have been copied to |  170                     # run after the original files have been copied to | 
|  168                     # <(PRODUCT_DIR)/resources/inspector. |  171                     # <(PRODUCT_DIR)/resources/inspector. | 
|  169                     'dependencies': ['devtools_frontend_resources'], |  172                     'dependencies': ['devtools_frontend_resources'], | 
|  170                     'actions': [{ |  173                     'actions': [{ | 
|  171                         'action_name': 'generate_devtools_grd', |  174                         'action_name': 'generate_devtools_grd', | 
|  172                         'script_name': 'scripts/generate_devtools_grd.py', |  175                         'script_name': 'scripts/generate_devtools_grd.py', | 
|  173                         'relative_path_dirs': [ |  176                         'relative_path_dirs': [ | 
|  174                             'front_end', |  177                             'front_end', | 
|  175                             '<(PRODUCT_DIR)/resources/inspector', |  178                             '<(PRODUCT_DIR)/resources/inspector', | 
|  176                             '<(SHARED_INTERMEDIATE_DIR)/blink', |  179                             '<(blink_devtools_output_dir)', | 
|  177                         ], |  180                         ], | 
|  178                         'input_pages': [ |  181                         'input_pages': [ | 
|  179                             '<@(all_devtools_files)', |  182                             '<@(all_devtools_files)', | 
|  180                             '<(SHARED_INTERMEDIATE_DIR)/blink/InspectorBackendCo
     mmands.js', |  183                             '<(blink_devtools_output_dir)/InspectorBackendComman
     ds.js', | 
|  181                             '<(SHARED_INTERMEDIATE_DIR)/blink/SupportedCSSProper
     ties.js', |  184                             '<(blink_devtools_output_dir)/SupportedCSSProperties
     .js', | 
|  182                             '<(PRODUCT_DIR)/resources/inspector/devtools.html', |  185                             '<(PRODUCT_DIR)/resources/inspector/devtools.html', | 
|  183                         ], |  186                         ], | 
|  184                         'images': [ |  187                         'images': [ | 
|  185                             '<@(devtools_image_files)', |  188                             '<@(devtools_image_files)', | 
|  186                         ], |  189                         ], | 
|  187                         'inputs': [ |  190                         'inputs': [ | 
|  188                             '<@(_script_name)', |  191                             '<@(_script_name)', | 
|  189                             '<@(_input_pages)', |  192                             '<@(_input_pages)', | 
|  190                             '<@(_images)', |  193                             '<@(_images)', | 
|  191                         ], |  194                         ], | 
| (...skipping 13 matching lines...) Expand all  Loading... | 
|  205           'actions': [ |  208           'actions': [ | 
|  206             { |  209             { | 
|  207               'action_name': 'generateInspectorProtocolFrontendSources', |  210               'action_name': 'generateInspectorProtocolFrontendSources', | 
|  208               'inputs': [ |  211               'inputs': [ | 
|  209                 # The python script in action below. |  212                 # The python script in action below. | 
|  210                 'scripts/CodeGeneratorFrontend.py', |  213                 'scripts/CodeGeneratorFrontend.py', | 
|  211                 # Input file for the script. |  214                 # Input file for the script. | 
|  212                 'protocol.json', |  215                 'protocol.json', | 
|  213               ], |  216               ], | 
|  214               'outputs': [ |  217               'outputs': [ | 
|  215                 '<(SHARED_INTERMEDIATE_DIR)/blink/InspectorBackendCommands.js', |  218                 '<(blink_devtools_output_dir)/InspectorBackendCommands.js', | 
|  216               ], |  219               ], | 
|  217               'action': [ |  220               'action': [ | 
|  218                 'python', |  221                 'python', | 
|  219                 'scripts/CodeGeneratorFrontend.py', |  222                 'scripts/CodeGeneratorFrontend.py', | 
|  220                 'protocol.json', |  223                 'protocol.json', | 
|  221                 '--output_js_dir', '<(SHARED_INTERMEDIATE_DIR)/blink', |  224                 '--output_js_dir', '<(blink_devtools_output_dir)', | 
|  222               ], |  225               ], | 
|  223               'message': 'Generating Inspector protocol frontend sources from pr
     otocol.json', |  226               'message': 'Generating Inspector protocol frontend sources from pr
     otocol.json', | 
|  224             }, |  227             }, | 
|  225           ] |  228           ] | 
|  226         }, |  229         }, | 
|  227         { |  230         { | 
|  228           'target_name': 'supported_css_properties', |  231           'target_name': 'supported_css_properties', | 
|  229           'type': 'none', |  232           'type': 'none', | 
|  230           'actions': [ |  233           'actions': [ | 
|  231             { |  234             { | 
|  232               'action_name': 'generateSupportedCSSProperties', |  235               'action_name': 'generateSupportedCSSProperties', | 
|  233               'inputs': [ |  236               'inputs': [ | 
|  234                 # The python script in action below. |  237                 # The python script in action below. | 
|  235                 'scripts/generate_supported_css.py', |  238                 'scripts/generate_supported_css.py', | 
|  236                 # Input files for the script. |  239                 # Input files for the script. | 
|  237                 '../core/css/CSSPropertyNames.in', |  240                 '../core/css/CSSPropertyNames.in', | 
|  238                 '../core/css/SVGCSSPropertyNames.in', |  241                 '../core/css/SVGCSSPropertyNames.in', | 
|  239                 '../core/css/CSSShorthands.in', |  242                 '../core/css/CSSShorthands.in', | 
|  240               ], |  243               ], | 
|  241               'outputs': [ |  244               'outputs': [ | 
|  242                 '<(SHARED_INTERMEDIATE_DIR)/blink/SupportedCSSProperties.js', |  245                 '<(blink_devtools_output_dir)/SupportedCSSProperties.js', | 
|  243               ], |  246               ], | 
|  244               'action': [ |  247               'action': [ | 
|  245                 'python', |  248                 'python', | 
|  246                 '<@(_inputs)', |  249                 '<@(_inputs)', | 
|  247                 '<@(_outputs)', |  250                 '<@(_outputs)', | 
|  248               ], |  251               ], | 
|  249               'message': 'Generating supported CSS properties for front end', |  252               'message': 'Generating supported CSS properties for front end', | 
|  250             }, |  253             }, | 
|  251           ] |  254           ] | 
|  252         }, |  255         }, | 
| (...skipping 10 matching lines...) Expand all  Loading... | 
|  263                         'concatenated_module_descriptors', |  266                         'concatenated_module_descriptors', | 
|  264                     ], |  267                     ], | 
|  265                     'actions': [{ |  268                     'actions': [{ | 
|  266                         'action_name': 'build_core_module', |  269                         'action_name': 'build_core_module', | 
|  267                         'script_name': 'scripts/concatenate_js_files.py', |  270                         'script_name': 'scripts/concatenate_js_files.py', | 
|  268                         'input_page': 'front_end/inspector.html', |  271                         'input_page': 'front_end/inspector.html', | 
|  269                         'inputs': [ |  272                         'inputs': [ | 
|  270                             '<@(_script_name)', |  273                             '<@(_script_name)', | 
|  271                             '<@(_input_page)', |  274                             '<@(_input_page)', | 
|  272                             '<@(devtools_core_js_files)', |  275                             '<@(devtools_core_js_files)', | 
|  273                             '<(SHARED_INTERMEDIATE_DIR)/blink/InspectorBackendCo
     mmands.js', |  276                             '<(blink_devtools_output_dir)/InspectorBackendComman
     ds.js', | 
|  274                             '<(SHARED_INTERMEDIATE_DIR)/blink/SupportedCSSProper
     ties.js', |  277                             '<(blink_devtools_output_dir)/SupportedCSSProperties
     .js', | 
|  275                             '<(SHARED_INTERMEDIATE_DIR)/blink/common/modules.js'
     , |  278                             '<(blink_devtools_output_dir)/common/modules.js', | 
|  276                         ], |  279                         ], | 
|  277                         'search_path': [ |  280                         'search_path': [ | 
|  278                             '<(SHARED_INTERMEDIATE_DIR)/blink', |  281                             '<(blink_devtools_output_dir)', | 
|  279                             'front_end', |  282                             'front_end', | 
|  280                         ], |  283                         ], | 
|  281                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/main/Mai
     n.js'], |  284                         'outputs': ['<(PRODUCT_DIR)/resources/inspector/main/Mai
     n.js'], | 
|  282                         'action': ['python', '<@(_script_name)', '<@(_input_page
     )', '<@(_search_path)', '<@(_outputs)'], |  285                         'action': ['python', '<@(_script_name)', '<@(_input_page
     )', '<@(_search_path)', '<@(_outputs)'], | 
|  283                     }] |  286                     }] | 
|  284                 }, |  287                 }, | 
|  285                 { # Debug |  288                 { # Debug | 
|  286                     'copies': [ |  289                     'copies': [ | 
|  287                         { |  290                         { | 
|  288                             'destination': '<(PRODUCT_DIR)/resources/inspector', |  291                             'destination': '<(PRODUCT_DIR)/resources/inspector', | 
|  289                             'files': [ |  292                             'files': [ | 
|  290                                 '<@(devtools_core_base_js_files)', |  293                                 '<@(devtools_core_base_js_files)', | 
|  291                                 '<(SHARED_INTERMEDIATE_DIR)/blink/InspectorBacke
     ndCommands.js', |  294                                 '<(blink_devtools_output_dir)/InspectorBackendCo
     mmands.js', | 
|  292                                 '<(SHARED_INTERMEDIATE_DIR)/blink/SupportedCSSPr
     operties.js', |  295                                 '<(blink_devtools_output_dir)/SupportedCSSProper
     ties.js', | 
|  293                             ], |  296                             ], | 
|  294                         }, |  297                         }, | 
|  295                         { |  298                         { | 
|  296                             'destination': '<(PRODUCT_DIR)/resources/inspector/c
     ommon', |  299                             'destination': '<(PRODUCT_DIR)/resources/inspector/c
     ommon', | 
|  297                             'files': [ |  300                             'files': [ | 
|  298                                 '<@(devtools_common_js_files)', |  301                                 '<@(devtools_common_js_files)', | 
|  299                             ], |  302                             ], | 
|  300                         }, |  303                         }, | 
|  301                         { |  304                         { | 
|  302                             'destination': '<(PRODUCT_DIR)/resources/inspector/c
     omponents', |  305                             'destination': '<(PRODUCT_DIR)/resources/inspector/c
     omponents', | 
| (...skipping 590 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  893                     'type': 'none', |  896                     'type': 'none', | 
|  894                     'actions': [{ |  897                     'actions': [{ | 
|  895                         'action_name': 'concatenated_module_descriptors', |  898                         'action_name': 'concatenated_module_descriptors', | 
|  896                         'script_name': 'scripts/concatenate_module_descriptors.p
     y', |  899                         'script_name': 'scripts/concatenate_module_descriptors.p
     y', | 
|  897                         'input_file': ['front_end/common/modules.js'], |  900                         'input_file': ['front_end/common/modules.js'], | 
|  898                         'inputs': [ |  901                         'inputs': [ | 
|  899                             '<@(_script_name)', |  902                             '<@(_script_name)', | 
|  900                             '<@(_input_file)', |  903                             '<@(_input_file)', | 
|  901                             '<@(devtools_module_json_files)', |  904                             '<@(devtools_module_json_files)', | 
|  902                         ], |  905                         ], | 
|  903                         'outputs': ['<(SHARED_INTERMEDIATE_DIR)/blink/common/mod
     ules.js'], |  906                         'outputs': ['<(blink_devtools_output_dir)/common/modules
     .js'], | 
|  904                         'action': ['python', '<@(_script_name)', '<@(_input_file
     )', '<@(_outputs)', '<@(devtools_module_json_files)'], |  907                         'action': ['python', '<@(_script_name)', '<@(_input_file
     )', '<@(_outputs)', '<@(devtools_module_json_files)'], | 
|  905                     }], |  908                     }], | 
|  906                 }, |  909                 }, | 
|  907             ], |  910             ], | 
|  908         }], |  911         }], | 
|  909     ], # conditions |  912     ], # conditions | 
|  910 } |  913 } | 
| OLD | NEW |