BUILD.gn 780 B

123456789101112131415161718192021222324252627282930313233343536
  1. # Copyright 2019 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. import("//third_party/closure_compiler/compile_js.gni")
  5. js_type_check("closure_compile") {
  6. deps = [
  7. ":neterror",
  8. ":offline",
  9. ":offline-sprite-definitions",
  10. "//components/security_interstitials/core/common/resources:interstitial_mobile_nav",
  11. "//ui/webui/resources/js:load_time_data",
  12. ]
  13. if (is_ios) {
  14. deps += [ ":error_page_controller_ios" ]
  15. }
  16. }
  17. js_library("neterror") {
  18. deps = [
  19. ":offline",
  20. "//third_party/jstemplate:jstemplate",
  21. ]
  22. }
  23. js_library("offline") {
  24. }
  25. js_library("offline-sprite-definitions") {
  26. }
  27. if (is_ios) {
  28. js_library("error_page_controller_ios") {
  29. }
  30. }