| 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 | 6 |
| 7 gypi_values = exec_script( | 7 gypi_values = exec_script( |
| 8 "//build/gypi_to_gn.py", | 8 "//build/gypi_to_gn.py", |
| 9 [ rebase_path("devtools.gypi") ], | 9 [ rebase_path("devtools.gypi") ], |
| 10 "scope", | 10 "scope", |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 if (debug_devtools) { | 122 if (debug_devtools) { |
| 123 # Debug: all files are picked as-is. | 123 # Debug: all files are picked as-is. |
| 124 generated_files = generated_scripts + [ | 124 generated_files = generated_scripts + [ |
| 125 resources_out_dir + "inspector.html", | 125 resources_out_dir + "inspector.html", |
| 126 resources_out_dir + "toolbox.html", | 126 resources_out_dir + "toolbox.html", |
| 127 ] | 127 ] |
| 128 static_files += all_devtools_files + [ "front_end/Runtime.js" ] | 128 static_files += all_devtools_files + [ "front_end/Runtime.js" ] |
| 129 } else { | 129 } else { |
| 130 # Release: pick compiled non-remote files and lazy-loaded CSS. | 130 # Release: pick compiled non-remote files and lazy-loaded CSS. |
| 131 # TODO(dgozman): remove remote modules from here once experiment is over. | |
| 132 generated_files = [ | 131 generated_files = [ |
| 133 resources_out_dir + "inspector.css", | 132 resources_out_dir + "inspector.css", |
| 134 resources_out_dir + "inspector.html", | 133 resources_out_dir + "inspector.html", |
| 135 resources_out_dir + "inspector.js", | 134 resources_out_dir + "inspector.js", |
| 136 resources_out_dir + "toolbox.css", | 135 resources_out_dir + "toolbox.css", |
| 137 resources_out_dir + "toolbox.html", | 136 resources_out_dir + "toolbox.html", |
| 138 resources_out_dir + "toolbox.js", | 137 resources_out_dir + "toolbox.js", |
| 139 resources_out_dir + "accessibility_module.js", | 138 resources_out_dir + "accessibility_module.js", |
| 140 resources_out_dir + "audits_module.js", | 139 resources_out_dir + "audits_module.js", |
| 141 resources_out_dir + "cm_modes_module.js", | |
| 142 resources_out_dir + "components_lazy_module.js", | 140 resources_out_dir + "components_lazy_module.js", |
| 143 resources_out_dir + "console_module.js", | 141 resources_out_dir + "console_module.js", |
| 144 resources_out_dir + "elements_module.js", | 142 resources_out_dir + "elements_module.js", |
| 145 resources_out_dir + "emulated_devices_module.js", | |
| 146 resources_out_dir + "heap_snapshot_worker_module.js", | 143 resources_out_dir + "heap_snapshot_worker_module.js", |
| 147 resources_out_dir + "layers_module.js", | 144 resources_out_dir + "layers_module.js", |
| 148 resources_out_dir + "network_module.js", | 145 resources_out_dir + "network_module.js", |
| 149 resources_out_dir + "profiler_module.js", | 146 resources_out_dir + "profiler_module.js", |
| 150 resources_out_dir + "promises_module.js", | 147 resources_out_dir + "promises_module.js", |
| 151 resources_out_dir + "resources_module.js", | 148 resources_out_dir + "resources_module.js", |
| 152 resources_out_dir + "security_module.js", | 149 resources_out_dir + "security_module.js", |
| 153 resources_out_dir + "screencast_module.js", | |
| 154 resources_out_dir + "script_formatter_worker_module.js", | 150 resources_out_dir + "script_formatter_worker_module.js", |
| 155 resources_out_dir + "settings_module.js", | 151 resources_out_dir + "settings_module.js", |
| 156 resources_out_dir + "snippets_module.js", | 152 resources_out_dir + "snippets_module.js", |
| 157 resources_out_dir + "source_frame_module.js", | 153 resources_out_dir + "source_frame_module.js", |
| 158 resources_out_dir + "sources_module.js", | 154 resources_out_dir + "sources_module.js", |
| 159 resources_out_dir + "temp_storage_shared_worker_module.js", | 155 resources_out_dir + "temp_storage_shared_worker_module.js", |
| 160 resources_out_dir + "timeline_module.js", | 156 resources_out_dir + "timeline_module.js", |
| 161 resources_out_dir + "ui_lazy_module.js", | 157 resources_out_dir + "ui_lazy_module.js", |
| 162 resources_out_dir + "devtools_extension_api.js", | 158 resources_out_dir + "devtools_extension_api.js", |
| 163 ] | 159 ] |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 } | 330 } |
| 335 | 331 |
| 336 concatenate_css("concatenated_inspector_css") { | 332 concatenate_css("concatenated_inspector_css") { |
| 337 app_name = "inspector" | 333 app_name = "inspector" |
| 338 } | 334 } |
| 339 | 335 |
| 340 concatenate_css("concatenated_toolbox_css") { | 336 concatenate_css("concatenated_toolbox_css") { |
| 341 app_name = "toolbox" | 337 app_name = "toolbox" |
| 342 } | 338 } |
| 343 } | 339 } |
| OLD | NEW |