| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 gypi_values = exec_script( | 5 gypi_values = exec_script( |
| 6 "//build/gypi_to_gn.py", | 6 "//build/gypi_to_gn.py", |
| 7 [ rebase_path("devtools.gypi") ], | 7 [ rebase_path("devtools.gypi") ], |
| 8 "scope", | 8 "scope", |
| 9 [ "devtools.gypi" ]) | 9 [ "devtools.gypi" ]) |
| 10 | 10 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 action("supported_css_properties") { | 179 action("supported_css_properties") { |
| 180 script = "scripts/generate_supported_css.py" | 180 script = "scripts/generate_supported_css.py" |
| 181 | 181 |
| 182 source_prereqs = [ | 182 source_prereqs = [ |
| 183 "../core/css/CSSPropertyNames.in", | 183 "../core/css/CSSPropertyNames.in", |
| 184 "../core/css/SVGCSSPropertyNames.in", | 184 "../core/css/SVGCSSPropertyNames.in", |
| 185 "../core/css/CSSShorthands.in", | 185 "../core/css/CSSShorthands.in", |
| 186 ] | 186 ] |
| 187 | 187 |
| 188 outputs = [ | 188 outputs = [ |
| 189 "$root_gen_dir/blink/SupportedCSSProperties.js" | 189 "$root_gen_dir/blink/devtools/SupportedCSSProperties.js" |
| 190 ] | 190 ] |
| 191 | 191 |
| 192 args = rebase_path(source_prereqs, root_build_dir) + | 192 args = rebase_path(source_prereqs, root_build_dir) + |
| 193 rebase_path(outputs, root_build_dir) | 193 rebase_path(outputs, root_build_dir) |
| 194 } | 194 } |
| 195 | 195 |
| 196 action("frontend_protocol_sources") { | 196 action("frontend_protocol_sources") { |
| 197 script = "scripts/CodeGeneratorFrontend.py" | 197 script = "scripts/CodeGeneratorFrontend.py" |
| 198 | 198 |
| 199 source_prereqs = [ "protocol.json" ] | 199 source_prereqs = [ "protocol.json" ] |
| 200 outputs = [ "$root_gen_dir/blink/InspectorBackendCommands.js" ] | 200 outputs = [ "$root_gen_dir/blink/devtools/InspectorBackendCommands.js" ] |
| 201 | 201 |
| 202 args = rebase_path(source_prereqs, root_build_dir) + [ | 202 args = rebase_path(source_prereqs, root_build_dir) + [ |
| 203 "--output_js_dir", rebase_path("$root_gen_dir/blink", root_build_dir), | 203 "--output_js_dir", rebase_path("$root_gen_dir/blink", root_build_dir), |
| 204 ] | 204 ] |
| 205 } | 205 } |
| 206 | 206 |
| 207 # Runs the inline_js_imports script. | 207 # Runs the inline_js_imports script. |
| 208 # input: (String) The input .js file to read. | 208 # input: (String) The input .js file to read. |
| 209 # imported_files: (List of strings) The list of files the input depends on. | 209 # imported_files: (List of strings) The list of files the input depends on. |
| 210 # output: (String) The .js file to write. | 210 # output: (String) The .js file to write. |
| (...skipping 19 matching lines...) Expand all Loading... |
| 230 input = "front_end/audits/AuditsPanel.js" | 230 input = "front_end/audits/AuditsPanel.js" |
| 231 imported_files = gypi_values.devtools_audits_js_files | 231 imported_files = gypi_values.devtools_audits_js_files |
| 232 output = "$root_out_dir/resources/inspector/audits/AuditsPanel.js" | 232 output = "$root_out_dir/resources/inspector/audits/AuditsPanel.js" |
| 233 } | 233 } |
| 234 | 234 |
| 235 action("build_core_module") { | 235 action("build_core_module") { |
| 236 script = "scripts/concatenate_js_files.py" | 236 script = "scripts/concatenate_js_files.py" |
| 237 input_page = "front_end/inspector.html" | 237 input_page = "front_end/inspector.html" |
| 238 source_prereqs = [ | 238 source_prereqs = [ |
| 239 input_page, | 239 input_page, |
| 240 "$root_gen_dir/blink/InspectorBackendCommands.js", | 240 "$root_gen_dir/blink/devtools/InspectorBackendCommands.js", |
| 241 "$root_gen_dir/blink/SupportedCSSProperties.js", | 241 "$root_gen_dir/blink/devtools/SupportedCSSProperties.js", |
| 242 "$root_gen_dir/blink/common/modules.js", | 242 "$root_gen_dir/blink/devtools/common/modules.js", |
| 243 ] + devtools_core_js_files | 243 ] + devtools_core_js_files |
| 244 | 244 |
| 245 search_path = [ | 245 search_path = [ |
| 246 "$root_gen_dir/blink", | 246 "$root_gen_dir/blink", |
| 247 "front_end", | 247 "front_end", |
| 248 ] | 248 ] |
| 249 outputs = [ | 249 outputs = [ |
| 250 "$root_out_dir/resources/inspector/main/Main.js", | 250 "$root_out_dir/resources/inspector/main/Main.js", |
| 251 ] | 251 ] |
| 252 | 252 |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 input = "front_end/temp_storage_shared_worker/TempStorageSharedWorker.js" | 359 input = "front_end/temp_storage_shared_worker/TempStorageSharedWorker.js" |
| 360 imported_files = gypi_values.devtools_temp_storage_shared_worker_js_files | 360 imported_files = gypi_values.devtools_temp_storage_shared_worker_js_files |
| 361 output = "$root_out_dir/resources/inspector/temp_storage_shared_worker/TempSto
rageSharedWorker.js" | 361 output = "$root_out_dir/resources/inspector/temp_storage_shared_worker/TempSto
rageSharedWorker.js" |
| 362 } | 362 } |
| 363 | 363 |
| 364 action("concatenated_module_descriptors") { | 364 action("concatenated_module_descriptors") { |
| 365 script = "scripts/concatenate_module_descriptors.py" | 365 script = "scripts/concatenate_module_descriptors.py" |
| 366 | 366 |
| 367 input = "front_end/common/modules.js" | 367 input = "front_end/common/modules.js" |
| 368 source_prereqs = [ input ] + gypi_values.devtools_module_json_files | 368 source_prereqs = [ input ] + gypi_values.devtools_module_json_files |
| 369 outputs = [ "$root_gen_dir/blink/common/modules.js" ] | 369 outputs = [ "$root_gen_dir/blink/devtools/common/modules.js" ] |
| 370 | 370 |
| 371 args = rebase_path([ input ] + outputs + gypi_values.devtools_module_json_file
s, root_build_dir) | 371 args = rebase_path([ input ] + outputs + gypi_values.devtools_module_json_file
s, root_build_dir) |
| 372 } | 372 } |
| 373 | 373 |
| 374 action("concatenated_devtools_css") { | 374 action("concatenated_devtools_css") { |
| 375 script = "scripts/concatenate_css_files.py" | 375 script = "scripts/concatenate_css_files.py" |
| 376 | 376 |
| 377 input_page = "front_end/inspector.html" | 377 input_page = "front_end/inspector.html" |
| 378 source_prereqs = [ input_page ] + all_devtools_files | 378 source_prereqs = [ input_page ] + all_devtools_files |
| 379 search_path = [ "front_end" ] | 379 search_path = [ "front_end" ] |
| 380 | 380 |
| 381 outputs = [ "$root_out_dir/resources/inspector/inspector.css" ] | 381 outputs = [ "$root_out_dir/resources/inspector/inspector.css" ] |
| 382 | 382 |
| 383 args = [ rebase_path(input_page, root_build_dir) ] + | 383 args = [ rebase_path(input_page, root_build_dir) ] + |
| 384 rebase_path(search_path, root_build_dir) + | 384 rebase_path(search_path, root_build_dir) + |
| 385 rebase_path(outputs, root_build_dir) | 385 rebase_path(outputs, root_build_dir) |
| 386 } | 386 } |
| OLD | NEW |