| 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//third_party/WebKit/Source/core/core.gni") |
| 6 | 7 |
| 7 gypi_values = exec_script("//build/gypi_to_gn.py", | 8 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 8 [ rebase_path("devtools.gypi") ], | 9 [ rebase_path("devtools.gypi") ], |
| 9 "scope", | 10 "scope", |
| 10 [ "devtools.gypi" ]) | 11 [ "devtools.gypi" ]) |
| 11 | 12 |
| 12 # Some of the files in the .gypi use GYP variable expansions, go through and | 13 # Some of the files in the .gypi use GYP variable expansions, go through and |
| 13 # fix them. | 14 # fix them. |
| 14 devtools_core_files = | 15 devtools_core_files = |
| 15 gypi_values.devtools_core_base_files + | 16 gypi_values.devtools_core_base_files + |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 outputs = [ | 218 outputs = [ |
| 218 resources_out_dir + "SupportedCSSProperties.js", | 219 resources_out_dir + "SupportedCSSProperties.js", |
| 219 ] | 220 ] |
| 220 | 221 |
| 221 args = | 222 args = |
| 222 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) | 223 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) |
| 223 } | 224 } |
| 224 | 225 |
| 225 action("frontend_protocol_sources") { | 226 action("frontend_protocol_sources") { |
| 226 script = "scripts/CodeGeneratorFrontend.py" | 227 script = "scripts/CodeGeneratorFrontend.py" |
| 227 | 228 deps = [ |
| 229 "../core/inspector:protocol_version", |
| 230 ] |
| 228 inputs = [ | 231 inputs = [ |
| 229 "protocol.json", | 232 "$blink_core_output_dir/inspector/protocol.json", |
| 230 ] | 233 ] |
| 231 outputs = [ | 234 outputs = [ |
| 232 resources_out_dir + "InspectorBackendCommands.js", | 235 resources_out_dir + "InspectorBackendCommands.js", |
| 233 ] | 236 ] |
| 234 | 237 |
| 235 args = rebase_path(inputs, root_build_dir) + [ | 238 args = rebase_path(inputs, root_build_dir) + [ |
| 236 "--output_js_dir", | 239 "--output_js_dir", |
| 237 rebase_path(resources_out_dir, root_build_dir), | 240 rebase_path(resources_out_dir, root_build_dir), |
| 238 ] | 241 ] |
| 239 } | 242 } |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 342 } | 345 } |
| 343 | 346 |
| 344 copy("copy_codemirror_files") { | 347 copy("copy_codemirror_files") { |
| 345 sources = | 348 sources = |
| 346 gypi_values.devtools_cm_js_files + gypi_values.devtools_cm_css_files | 349 gypi_values.devtools_cm_js_files + gypi_values.devtools_cm_css_files |
| 347 outputs = [ | 350 outputs = [ |
| 348 resources_out_dir + "cm/{{source_file_part}}", | 351 resources_out_dir + "cm/{{source_file_part}}", |
| 349 ] | 352 ] |
| 350 } | 353 } |
| 351 } | 354 } |
| OLD | NEW |