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

Side by Side Diff: third_party/WebKit/Source/devtools/BUILD.gn

Issue 1653053002: Devtools: parse variables scopes and sourcemap them (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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
OLDNEW
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 6
7 gypi_values = exec_script("//build/gypi_to_gn.py", 7 gypi_values = exec_script("//build/gypi_to_gn.py",
8 [ rebase_path("devtools.gypi") ], 8 [ rebase_path("devtools.gypi") ],
9 "scope", 9 "scope",
10 [ "devtools.gypi" ]) 10 [ "devtools.gypi" ])
11 11
12 # Some of the files in the .gypi use GYP variable expansions, go through and 12 # Some of the files in the .gypi use GYP variable expansions, go through and
13 # fix them. 13 # fix them.
14 devtools_core_files = 14 devtools_core_files =
15 gypi_values.devtools_core_base_files + 15 gypi_values.devtools_core_base_files +
16 gypi_values.devtools_bindings_js_files + 16 gypi_values.devtools_bindings_js_files +
17 gypi_values.devtools_common_js_files + 17 gypi_values.devtools_common_js_files +
18 gypi_values.devtools_components_js_files + 18 gypi_values.devtools_components_js_files +
19 gypi_values.devtools_emulation_js_files + 19 gypi_values.devtools_emulation_js_files +
20 gypi_values.devtools_host_js_files + gypi_values.devtools_main_js_files + 20 gypi_values.devtools_es_tree_js_files + gypi_values.devtools_host_js_files +
21 gypi_values.devtools_main_js_files +
21 gypi_values.devtools_platform_js_files + gypi_values.devtools_sdk_js_files + 22 gypi_values.devtools_platform_js_files + gypi_values.devtools_sdk_js_files +
22 gypi_values.devtools_toolbox_bootstrap_js_files + 23 gypi_values.devtools_toolbox_bootstrap_js_files +
23 gypi_values.devtools_ui_js_files + gypi_values.devtools_workspace_js_files 24 gypi_values.devtools_ui_js_files + gypi_values.devtools_workspace_js_files
24 25
25 devtools_extensions_js_files = gypi_values.devtools_extensions_js_files - 26 devtools_extensions_js_files = gypi_values.devtools_extensions_js_files -
26 [ "<@(devtools_extension_api_files)" ] + 27 [ "<@(devtools_extension_api_files)" ] +
27 gypi_values.devtools_extension_api_files 28 gypi_values.devtools_extension_api_files
28 29
29 devtools_modules_js_files = 30 devtools_modules_js_files =
30 gypi_values.devtools_accessibility_js_files + 31 gypi_values.devtools_accessibility_js_files +
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 resources_out_dir + "accessibility_module.js", 269 resources_out_dir + "accessibility_module.js",
269 resources_out_dir + "audits_module.js", 270 resources_out_dir + "audits_module.js",
270 resources_out_dir + "animation_module.js", 271 resources_out_dir + "animation_module.js",
271 resources_out_dir + "cm_modes_module.js", 272 resources_out_dir + "cm_modes_module.js",
272 resources_out_dir + "components_lazy_module.js", 273 resources_out_dir + "components_lazy_module.js",
273 resources_out_dir + "console_module.js", 274 resources_out_dir + "console_module.js",
274 resources_out_dir + "devices_module.js", 275 resources_out_dir + "devices_module.js",
275 resources_out_dir + "diff_module.js", 276 resources_out_dir + "diff_module.js",
276 resources_out_dir + "elements_module.js", 277 resources_out_dir + "elements_module.js",
277 resources_out_dir + "emulated_devices_module.js", 278 resources_out_dir + "emulated_devices_module.js",
279 resources_out_dir + "es_tree_module.js",
278 resources_out_dir + "heap_snapshot_worker_module.js", 280 resources_out_dir + "heap_snapshot_worker_module.js",
279 resources_out_dir + "layers_module.js", 281 resources_out_dir + "layers_module.js",
280 resources_out_dir + "network_module.js", 282 resources_out_dir + "network_module.js",
281 resources_out_dir + "profiler_module.js", 283 resources_out_dir + "profiler_module.js",
282 resources_out_dir + "promises_module.js", 284 resources_out_dir + "promises_module.js",
283 resources_out_dir + "resources_module.js", 285 resources_out_dir + "resources_module.js",
284 resources_out_dir + "security_module.js", 286 resources_out_dir + "security_module.js",
285 resources_out_dir + "screencast_module.js", 287 resources_out_dir + "screencast_module.js",
286 resources_out_dir + "script_formatter_worker_module.js", 288 resources_out_dir + "script_formatter_worker_module.js",
287 resources_out_dir + "settings_module.js", 289 resources_out_dir + "settings_module.js",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 } 335 }
334 336
335 copy("copy_codemirror_files") { 337 copy("copy_codemirror_files") {
336 sources = 338 sources =
337 gypi_values.devtools_cm_js_files + gypi_values.devtools_cm_css_files 339 gypi_values.devtools_cm_js_files + gypi_values.devtools_cm_css_files
338 outputs = [ 340 outputs = [
339 resources_out_dir + "cm/{{source_file_part}}", 341 resources_out_dir + "cm/{{source_file_part}}",
340 ] 342 ]
341 } 343 }
342 } 344 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698