| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 'copies': [ | 52 'copies': [ |
| 53 { | 53 { |
| 54 'destination': '<(PRODUCT_DIR)/resources/inspector/Images', | 54 'destination': '<(PRODUCT_DIR)/resources/inspector/Images', |
| 55 'files': [ | 55 'files': [ |
| 56 '<@(devtools_image_files)', | 56 '<@(devtools_image_files)', |
| 57 ], | 57 ], |
| 58 }, | 58 }, |
| 59 { | 59 { |
| 60 'destination': '<(PRODUCT_DIR)/resources/inspector/', | 60 'destination': '<(PRODUCT_DIR)/resources/inspector/', |
| 61 'files': [ | 61 'files': [ |
| 62 'front_end/devtools.html', | 62 '<@(devtools_compatibility_scripts)', |
| 63 'front_end/devtools.js', | |
| 64 ], | 63 ], |
| 65 }, | 64 }, |
| 66 ], | 65 ], |
| 67 }, | 66 }, |
| 68 { | 67 { |
| 69 'target_name': 'devtools_extension_api', | 68 'target_name': 'devtools_extension_api', |
| 70 'type': 'none', | 69 'type': 'none', |
| 71 'actions': [{ | 70 'actions': [{ |
| 72 'action_name': 'devtools_extension_api', | 71 'action_name': 'devtools_extension_api', |
| 73 'script_name': 'scripts/generate_devtools_extension_api.py', | 72 'script_name': 'scripts/generate_devtools_extension_api.py', |
| (...skipping 21 matching lines...) Expand all Loading... |
| 95 '<(PRODUCT_DIR)/resources/inspector', | 94 '<(PRODUCT_DIR)/resources/inspector', |
| 96 'front_end' | 95 'front_end' |
| 97 ], | 96 ], |
| 98 'static_files': [ | 97 'static_files': [ |
| 99 # Intentionally empty. Should get rebuilt when switc
hing from debug_devtools==1. | 98 # Intentionally empty. Should get rebuilt when switc
hing from debug_devtools==1. |
| 100 ], | 99 ], |
| 101 'devtools_static_files_list': '<|(devtools_static_grd_fi
les.tmp <@(_static_files))', | 100 'devtools_static_files_list': '<|(devtools_static_grd_fi
les.tmp <@(_static_files))', |
| 102 'generated_files': [ | 101 'generated_files': [ |
| 103 # Core and remote modules should not be listed here. | 102 # Core and remote modules should not be listed here. |
| 104 # TODO(dgozman): remove remote modules from here onc
e experiment is over. | 103 # TODO(dgozman): remove remote modules from here onc
e experiment is over. |
| 105 '<(PRODUCT_DIR)/resources/inspector/devtools.html', | |
| 106 '<(PRODUCT_DIR)/resources/inspector/devtools.js', | |
| 107 '<(PRODUCT_DIR)/resources/inspector/inspector.css', | 104 '<(PRODUCT_DIR)/resources/inspector/inspector.css', |
| 108 '<(PRODUCT_DIR)/resources/inspector/inspector.html', | 105 '<(PRODUCT_DIR)/resources/inspector/inspector.html', |
| 109 '<(PRODUCT_DIR)/resources/inspector/inspector.js', | 106 '<(PRODUCT_DIR)/resources/inspector/inspector.js', |
| 110 '<(PRODUCT_DIR)/resources/inspector/toolbox.css', | 107 '<(PRODUCT_DIR)/resources/inspector/toolbox.css', |
| 111 '<(PRODUCT_DIR)/resources/inspector/toolbox.html', | 108 '<(PRODUCT_DIR)/resources/inspector/toolbox.html', |
| 112 '<(PRODUCT_DIR)/resources/inspector/toolbox.js', | 109 '<(PRODUCT_DIR)/resources/inspector/toolbox.js', |
| 113 '<(PRODUCT_DIR)/resources/inspector/accessibility_mo
dule.js', | 110 '<(PRODUCT_DIR)/resources/inspector/accessibility_mo
dule.js', |
| 114 '<(PRODUCT_DIR)/resources/inspector/audits_module.js
', | 111 '<(PRODUCT_DIR)/resources/inspector/audits_module.js
', |
| 115 '<(PRODUCT_DIR)/resources/inspector/cm_modes_module.
js', | 112 '<(PRODUCT_DIR)/resources/inspector/cm_modes_module.
js', |
| 116 '<(PRODUCT_DIR)/resources/inspector/components_lazy_
module.js', | 113 '<(PRODUCT_DIR)/resources/inspector/components_lazy_
module.js', |
| (...skipping 12 matching lines...) Expand all Loading... |
| 129 '<(PRODUCT_DIR)/resources/inspector/source_frame_mod
ule.js', | 126 '<(PRODUCT_DIR)/resources/inspector/source_frame_mod
ule.js', |
| 130 '<(PRODUCT_DIR)/resources/inspector/sources_module.j
s', | 127 '<(PRODUCT_DIR)/resources/inspector/sources_module.j
s', |
| 131 '<(PRODUCT_DIR)/resources/inspector/temp_storage_sha
red_worker_module.js', | 128 '<(PRODUCT_DIR)/resources/inspector/temp_storage_sha
red_worker_module.js', |
| 132 '<(PRODUCT_DIR)/resources/inspector/timeline_module.
js', | 129 '<(PRODUCT_DIR)/resources/inspector/timeline_module.
js', |
| 133 '<(PRODUCT_DIR)/resources/inspector/ui_lazy_module.j
s', | 130 '<(PRODUCT_DIR)/resources/inspector/ui_lazy_module.j
s', |
| 134 '<(PRODUCT_DIR)/resources/inspector/devtools_extensi
on_api.js', | 131 '<(PRODUCT_DIR)/resources/inspector/devtools_extensi
on_api.js', |
| 135 ], | 132 ], |
| 136 'inputs': [ | 133 'inputs': [ |
| 137 '<@(_script_name)', | 134 '<@(_script_name)', |
| 138 '<@(_static_files)', | 135 '<@(_static_files)', |
| 136 '<@(devtools_compatibility_scripts)', |
| 139 '<@(_generated_files)', | 137 '<@(_generated_files)', |
| 140 '<@(devtools_image_files)', | 138 '<@(devtools_image_files)', |
| 141 '<(_devtools_static_files_list)', | 139 '<(_devtools_static_files_list)', |
| 142 ], | 140 ], |
| 143 'images_path': [ | 141 'images_path': [ |
| 144 'front_end/Images', | 142 'front_end/Images', |
| 145 ], | 143 ], |
| 146 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtool
s_resources.grd'], | 144 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtool
s_resources.grd'], |
| 147 'action': ['python', '<@(_script_name)', '<@(_generated_
files)', '--static_files_list', '<(_devtools_static_files_list)', '--relative_pa
th_dirs', '<@(_relative_path_dirs)', '--images', '<@(_images_path)', '--output',
'<@(_outputs)'], | 145 'action': ['python', '<@(_script_name)', '<@(_generated_
files)', '<@(devtools_compatibility_scripts)', '--static_files_list', '<(_devtoo
ls_static_files_list)', '--relative_path_dirs', '<@(_relative_path_dirs)', '--im
ages', '<@(_images_path)', '--output', '<@(_outputs)'], |
| 148 }], | 146 }], |
| 149 }, | 147 }, |
| 150 { | 148 { |
| 151 # If we're not concatenating devtools files, we want to | 149 # If we're not concatenating devtools files, we want to |
| 152 # run after the original files have been copied to | 150 # run after the original files have been copied to |
| 153 # <(PRODUCT_DIR)/resources/inspector. | 151 # <(PRODUCT_DIR)/resources/inspector. |
| 154 'dependencies': ['devtools_frontend_resources'], | 152 'dependencies': ['devtools_frontend_resources'], |
| 155 'actions': [{ | 153 'actions': [{ |
| 156 'action_name': 'generate_devtools_grd', | 154 'action_name': 'generate_devtools_grd', |
| 157 'script_name': 'scripts/generate_devtools_grd.py', | 155 'script_name': 'scripts/generate_devtools_grd.py', |
| 158 'relative_path_dirs': [ | 156 'relative_path_dirs': [ |
| 159 'front_end', | 157 'front_end', |
| 160 '<(PRODUCT_DIR)/resources/inspector', | 158 '<(PRODUCT_DIR)/resources/inspector', |
| 161 ], | 159 ], |
| 162 'static_files': [ | 160 'static_files': [ |
| 163 '<@(all_devtools_files)', | 161 '<@(all_devtools_files)', |
| 164 'front_end/Runtime.js', | 162 'front_end/Runtime.js', |
| 165 ], | 163 ], |
| 166 'devtools_static_files_list': '<|(devtools_static_grd_fi
les.tmp <@(_static_files))', | 164 'devtools_static_files_list': '<|(devtools_static_grd_fi
les.tmp <@(_static_files))', |
| 167 'generated_files': [ | 165 'generated_files': [ |
| 168 '<(PRODUCT_DIR)/resources/inspector/InspectorBackend
Commands.js', | 166 '<(PRODUCT_DIR)/resources/inspector/InspectorBackend
Commands.js', |
| 169 '<(PRODUCT_DIR)/resources/inspector/SupportedCSSProp
erties.js', | 167 '<(PRODUCT_DIR)/resources/inspector/SupportedCSSProp
erties.js', |
| 170 '<(PRODUCT_DIR)/resources/inspector/devtools.html', | |
| 171 '<(PRODUCT_DIR)/resources/inspector/devtools.js', | |
| 172 '<(PRODUCT_DIR)/resources/inspector/inspector.html', | 168 '<(PRODUCT_DIR)/resources/inspector/inspector.html', |
| 173 '<(PRODUCT_DIR)/resources/inspector/toolbox.html', | 169 '<(PRODUCT_DIR)/resources/inspector/toolbox.html', |
| 174 ], | 170 ], |
| 175 'inputs': [ | 171 'inputs': [ |
| 176 '<@(_script_name)', | 172 '<@(_script_name)', |
| 177 '<@(_static_files)', | 173 '<@(_static_files)', |
| 174 '<@(devtools_compatibility_scripts)', |
| 178 '<@(_generated_files)', | 175 '<@(_generated_files)', |
| 179 '<@(devtools_image_files)', | 176 '<@(devtools_image_files)', |
| 180 '<(_devtools_static_files_list)', | 177 '<(_devtools_static_files_list)', |
| 181 ], | 178 ], |
| 182 'images_path': [ | 179 'images_path': [ |
| 183 'front_end/Images', | 180 'front_end/Images', |
| 184 ], | 181 ], |
| 185 # Note that other files are put under /devtools director
y, together with declared devtools_resources.grd | 182 # Note that other files are put under /devtools director
y, together with declared devtools_resources.grd |
| 186 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtool
s_resources.grd'], | 183 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/devtools/devtool
s_resources.grd'], |
| 187 'action': ['python', '<@(_script_name)', '<@(_generated_
files)', '--static_files_list', '<(_devtools_static_files_list)', '--relative_pa
th_dirs', '<@(_relative_path_dirs)', '--images', '<@(_images_path)', '--output',
'<@(_outputs)'], | 184 'action': ['python', '<@(_script_name)', '<@(_generated_
files)', '<@(devtools_compatibility_scripts)', '--static_files_list', '<(_devtoo
ls_static_files_list)', '--relative_path_dirs', '<@(_relative_path_dirs)', '--im
ages', '<@(_images_path)', '--output', '<@(_outputs)'], |
| 188 }], | 185 }], |
| 189 }], | 186 }], |
| 190 ], | 187 ], |
| 191 }, | 188 }, |
| 192 { | 189 { |
| 193 'target_name': 'frontend_protocol_sources', | 190 'target_name': 'frontend_protocol_sources', |
| 194 'type': 'none', | 191 'type': 'none', |
| 195 'actions': [ | 192 'actions': [ |
| 196 { | 193 { |
| 197 'action_name': 'generateInspectorProtocolFrontendSources', | 194 'action_name': 'generateInspectorProtocolFrontendSources', |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 ], | 365 ], |
| 369 'search_path': [ 'front_end' ], | 366 'search_path': [ 'front_end' ], |
| 370 'outputs': ['<(PRODUCT_DIR)/resources/inspector/toolbox.
css'], | 367 'outputs': ['<(PRODUCT_DIR)/resources/inspector/toolbox.
css'], |
| 371 'action': ['python', '<@(_script_name)', '<@(_input_styl
esheet)', '<@(_outputs)'], | 368 'action': ['python', '<@(_script_name)', '<@(_input_styl
esheet)', '<@(_outputs)'], |
| 372 }], | 369 }], |
| 373 }, | 370 }, |
| 374 ], | 371 ], |
| 375 }], | 372 }], |
| 376 ], # conditions | 373 ], # conditions |
| 377 } | 374 } |
| OLD | NEW |