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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 "--output_js_dir", | 239 "--output_js_dir", |
240 rebase_path(resources_out_dir, root_build_dir), | 240 rebase_path(resources_out_dir, root_build_dir), |
241 ] | 241 ] |
242 } | 242 } |
243 | 243 |
244 action("build_applications") { | 244 action("build_applications") { |
245 script = "scripts/build_applications.py" | 245 script = "scripts/build_applications.py" |
246 helper_scripts = [ | 246 helper_scripts = [ |
247 "scripts/modular_build.py", | 247 "scripts/modular_build.py", |
248 "scripts/concatenate_application_code.py", | 248 "scripts/concatenate_application_code.py", |
| 249 "scripts/rjsmin.py", |
249 ] | 250 ] |
250 | 251 |
251 inputs = helper_scripts + all_devtools_files + generated_scripts + [ | 252 inputs = helper_scripts + all_devtools_files + generated_scripts + [ |
252 "front_end/inspector.html", | 253 "front_end/inspector.html", |
253 "front_end/toolbox.html", | 254 "front_end/toolbox.html", |
254 ] | 255 ] |
255 | 256 |
256 outputs = [ | 257 outputs = [ |
257 resources_out_dir + "inspector.html", | 258 resources_out_dir + "inspector.html", |
258 resources_out_dir + "toolbox.html", | 259 resources_out_dir + "toolbox.html", |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 } | 346 } |
346 | 347 |
347 copy("copy_codemirror_files") { | 348 copy("copy_codemirror_files") { |
348 sources = | 349 sources = |
349 gypi_values.devtools_cm_js_files + gypi_values.devtools_cm_css_files | 350 gypi_values.devtools_cm_js_files + gypi_values.devtools_cm_css_files |
350 outputs = [ | 351 outputs = [ |
351 resources_out_dir + "cm/{{source_file_part}}", | 352 resources_out_dir + "cm/{{source_file_part}}", |
352 ] | 353 ] |
353 } | 354 } |
354 } | 355 } |
OLD | NEW |