| 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("//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" ]) |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 "front_end/inspector.html", | 258 "front_end/inspector.html", |
| 259 "front_end/toolbox.html", | 259 "front_end/toolbox.html", |
| 260 ] | 260 ] |
| 261 | 261 |
| 262 outputs = [ | 262 outputs = [ |
| 263 resources_out_dir + "inspector.html", | 263 resources_out_dir + "inspector.html", |
| 264 resources_out_dir + "toolbox.html", | 264 resources_out_dir + "toolbox.html", |
| 265 ] | 265 ] |
| 266 | 266 |
| 267 deps = [ | 267 deps = [ |
| 268 ":frontend_protocol_sources", |
| 268 ":supported_css_properties", | 269 ":supported_css_properties", |
| 269 ":frontend_protocol_sources", | |
| 270 ] | 270 ] |
| 271 | 271 |
| 272 if (debug_devtools) { | 272 if (debug_devtools) { |
| 273 deps += [ ":copy_debug_non_modules" ] | 273 deps += [ ":copy_debug_non_modules" ] |
| 274 | 274 |
| 275 debug_mode = "1" | 275 debug_mode = "1" |
| 276 } else { | 276 } else { |
| 277 outputs += [ | 277 outputs += [ |
| 278 resources_out_dir + "inspector.js", | 278 resources_out_dir + "inspector.js", |
| 279 resources_out_dir + "toolbox.js", | 279 resources_out_dir + "toolbox.js", |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 } | 376 } |
| 377 | 377 |
| 378 concatenate_css("concatenated_inspector_css") { | 378 concatenate_css("concatenated_inspector_css") { |
| 379 app_name = "inspector" | 379 app_name = "inspector" |
| 380 } | 380 } |
| 381 | 381 |
| 382 concatenate_css("concatenated_toolbox_css") { | 382 concatenate_css("concatenated_toolbox_css") { |
| 383 app_name = "toolbox" | 383 app_name = "toolbox" |
| 384 } | 384 } |
| 385 } | 385 } |
| OLD | NEW |