| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 if (debug_devtools) { | 115 if (debug_devtools) { |
| 116 # Debug: all files are picked as-is. | 116 # Debug: all files are picked as-is. |
| 117 generated_files = generated_scripts + [ | 117 generated_files = generated_scripts + [ |
| 118 resources_out_dir + "devtools.html", | 118 resources_out_dir + "devtools.html", |
| 119 resources_out_dir + "inspector.html", | 119 resources_out_dir + "inspector.html", |
| 120 resources_out_dir + "toolbox.html", | 120 resources_out_dir + "toolbox.html", |
| 121 ] | 121 ] |
| 122 static_files += all_devtools_files + [ "front_end/Runtime.js" ] | 122 static_files += all_devtools_files + [ "front_end/Runtime.js" ] |
| 123 } else { | 123 } else { |
| 124 # Release: pick compiled non-remote files and lazy-loaded CSS. | 124 # Release: pick compiled non-remote files and lazy-loaded CSS. |
| 125 # TODO(dgozman): remove remote modules from here once experiment is over. |
| 125 generated_files = [ | 126 generated_files = [ |
| 126 resources_out_dir + "devtools.css", | 127 resources_out_dir + "devtools.css", |
| 127 resources_out_dir + "devtools.html", | 128 resources_out_dir + "devtools.html", |
| 128 resources_out_dir + "devtools.js", | 129 resources_out_dir + "devtools.js", |
| 129 resources_out_dir + "inspector.css", | 130 resources_out_dir + "inspector.css", |
| 130 resources_out_dir + "inspector.html", | 131 resources_out_dir + "inspector.html", |
| 131 resources_out_dir + "inspector.js", | 132 resources_out_dir + "inspector.js", |
| 132 resources_out_dir + "toolbox.css", | 133 resources_out_dir + "toolbox.css", |
| 133 resources_out_dir + "toolbox.html", | 134 resources_out_dir + "toolbox.html", |
| 134 resources_out_dir + "toolbox.js", | 135 resources_out_dir + "toolbox.js", |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 } | 331 } |
| 331 | 332 |
| 332 concatenate_css("concatenated_inspector_css") { | 333 concatenate_css("concatenated_inspector_css") { |
| 333 app_name = "inspector" | 334 app_name = "inspector" |
| 334 } | 335 } |
| 335 | 336 |
| 336 concatenate_css("concatenated_toolbox_css") { | 337 concatenate_css("concatenated_toolbox_css") { |
| 337 app_name = "toolbox" | 338 app_name = "toolbox" |
| 338 } | 339 } |
| 339 } | 340 } |
| OLD | NEW |