| 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 import("//third_party/WebKit/Source/core/core.gni") |
| 7 | 7 |
| 8 gypi_values = exec_script("//build/gypi_to_gn.py", | 8 gypi_values = exec_script("//build/gypi_to_gn.py", |
| 9 [ rebase_path("devtools.gypi") ], | 9 [ rebase_path("devtools.gypi") ], |
| 10 "scope", | 10 "scope", |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 gypi_values.devtools_resources_js_files + | 46 gypi_values.devtools_resources_js_files + |
| 47 gypi_values.devtools_sass_js_files + | 47 gypi_values.devtools_sass_js_files + |
| 48 gypi_values.devtools_security_js_files + | 48 gypi_values.devtools_security_js_files + |
| 49 gypi_values.devtools_screencast_js_files + | 49 gypi_values.devtools_screencast_js_files + |
| 50 gypi_values.devtools_formatter_worker_js_files + | 50 gypi_values.devtools_formatter_worker_js_files + |
| 51 gypi_values.devtools_settings_js_files + | 51 gypi_values.devtools_settings_js_files + |
| 52 gypi_values.devtools_snippets_js_files + | 52 gypi_values.devtools_snippets_js_files + |
| 53 gypi_values.devtools_source_frame_js_files + | 53 gypi_values.devtools_source_frame_js_files + |
| 54 gypi_values.devtools_sources_js_files + | 54 gypi_values.devtools_sources_js_files + |
| 55 gypi_values.devtools_temp_storage_shared_worker_js_files + | 55 gypi_values.devtools_temp_storage_shared_worker_js_files + |
| 56 gypi_values.devtools_text_editor_js_files + |
| 56 gypi_values.devtools_timeline_model_js_files + | 57 gypi_values.devtools_timeline_model_js_files + |
| 57 gypi_values.devtools_timeline_js_files + | 58 gypi_values.devtools_timeline_js_files + |
| 58 gypi_values.devtools_ui_lazy_js_files | 59 gypi_values.devtools_ui_lazy_js_files |
| 59 | 60 |
| 60 all_devtools_files = | 61 all_devtools_files = |
| 61 gypi_values.devtools_cm_css_files + gypi_values.devtools_cm_js_files + | 62 gypi_values.devtools_cm_css_files + gypi_values.devtools_cm_js_files + |
| 62 devtools_core_files + gypi_values.devtools_module_json_files + | 63 devtools_core_files + gypi_values.devtools_module_json_files + |
| 63 devtools_modules_js_files + gypi_values.devtools_acorn_files | 64 devtools_modules_js_files + gypi_values.devtools_acorn_files |
| 64 | 65 |
| 65 # FIXME: Fix the generate_devtools_grd.py script to accept trailing slashes. | 66 # FIXME: Fix the generate_devtools_grd.py script to accept trailing slashes. |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 resources_out_dir + "layers/layers_module.js", | 155 resources_out_dir + "layers/layers_module.js", |
| 155 resources_out_dir + "network/network_module.js", | 156 resources_out_dir + "network/network_module.js", |
| 156 resources_out_dir + "profiler/profiler_module.js", | 157 resources_out_dir + "profiler/profiler_module.js", |
| 157 resources_out_dir + "resources/resources_module.js", | 158 resources_out_dir + "resources/resources_module.js", |
| 158 resources_out_dir + "sass/sass_module.js", | 159 resources_out_dir + "sass/sass_module.js", |
| 159 resources_out_dir + "security/security_module.js", | 160 resources_out_dir + "security/security_module.js", |
| 160 resources_out_dir + "settings/settings_module.js", | 161 resources_out_dir + "settings/settings_module.js", |
| 161 resources_out_dir + "snippets/snippets_module.js", | 162 resources_out_dir + "snippets/snippets_module.js", |
| 162 resources_out_dir + "source_frame/source_frame_module.js", | 163 resources_out_dir + "source_frame/source_frame_module.js", |
| 163 resources_out_dir + "sources/sources_module.js", | 164 resources_out_dir + "sources/sources_module.js", |
| 165 resources_out_dir + "text_editor/text_editor_module.js", |
| 164 resources_out_dir + "timeline_model/timeline_model_module.js", | 166 resources_out_dir + "timeline_model/timeline_model_module.js", |
| 165 resources_out_dir + "timeline/timeline_module.js", | 167 resources_out_dir + "timeline/timeline_module.js", |
| 166 resources_out_dir + "ui_lazy/ui_lazy_module.js", | 168 resources_out_dir + "ui_lazy/ui_lazy_module.js", |
| 167 resources_out_dir + "devtools_extension_api.js", | 169 resources_out_dir + "devtools_extension_api.js", |
| 168 ] | 170 ] |
| 169 static_files_args = [] # Nothing needed for this | 171 static_files_args = [] # Nothing needed for this |
| 170 } | 172 } |
| 171 | 173 |
| 172 images_path = "front_end/Images" | 174 images_path = "front_end/Images" |
| 173 | 175 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 291 resources_out_dir + "network/network_module.js", | 293 resources_out_dir + "network/network_module.js", |
| 292 resources_out_dir + "profiler/profiler_module.js", | 294 resources_out_dir + "profiler/profiler_module.js", |
| 293 resources_out_dir + "resources/resources_module.js", | 295 resources_out_dir + "resources/resources_module.js", |
| 294 resources_out_dir + "sass/sass_module.js", | 296 resources_out_dir + "sass/sass_module.js", |
| 295 resources_out_dir + "screencast/screencast_module.js", | 297 resources_out_dir + "screencast/screencast_module.js", |
| 296 resources_out_dir + "security/security_module.js", | 298 resources_out_dir + "security/security_module.js", |
| 297 resources_out_dir + "settings/settings_module.js", | 299 resources_out_dir + "settings/settings_module.js", |
| 298 resources_out_dir + "snippets/snippets_module.js", | 300 resources_out_dir + "snippets/snippets_module.js", |
| 299 resources_out_dir + "source_frame/source_frame_module.js", | 301 resources_out_dir + "source_frame/source_frame_module.js", |
| 300 resources_out_dir + "sources/sources_module.js", | 302 resources_out_dir + "sources/sources_module.js", |
| 303 resources_out_dir + "text_editor/text_editor_module.js", |
| 301 resources_out_dir + "timeline_model/timeline_model_module.js", | 304 resources_out_dir + "timeline_model/timeline_model_module.js", |
| 302 resources_out_dir + "timeline/timeline_module.js", | 305 resources_out_dir + "timeline/timeline_module.js", |
| 303 resources_out_dir + "ui_lazy/ui_lazy_module.js", | 306 resources_out_dir + "ui_lazy/ui_lazy_module.js", |
| 304 ] | 307 ] |
| 305 | 308 |
| 306 debug_mode = "0" | 309 debug_mode = "0" |
| 307 } | 310 } |
| 308 | 311 |
| 309 args = [ | 312 args = [ |
| 310 "inspector", | 313 "inspector", |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 } | 349 } |
| 347 | 350 |
| 348 copy("copy_codemirror_files") { | 351 copy("copy_codemirror_files") { |
| 349 sources = | 352 sources = |
| 350 gypi_values.devtools_cm_js_files + gypi_values.devtools_cm_css_files | 353 gypi_values.devtools_cm_js_files + gypi_values.devtools_cm_css_files |
| 351 outputs = [ | 354 outputs = [ |
| 352 resources_out_dir + "cm/{{source_file_part}}", | 355 resources_out_dir + "cm/{{source_file_part}}", |
| 353 ] | 356 ] |
| 354 } | 357 } |
| 355 } | 358 } |
| OLD | NEW |