summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/chromeos/internet_config_dialog/BUILD.gn
blob: 02db3721b9f9f14c38ea0b0fda46385db9c361f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 2018 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//third_party/closure_compiler/compile_js.gni")
import("../../optimize_webui.gni")

optimize_webui("build") {
  host = "internet_config_dialog"
  html_in_files = [ "internet_config_dialog.html" ]
  html_out_files = [ "vulcanized.html" ]

  input = rebase_path(".", root_build_dir)
  js_out_files = [ "crisper.js" ]

  deps = []
}

js_type_check("closure_compile") {
  deps = [
    ":internet_config_dialog",
  ]
}

js_library("internet_config_dialog") {
  deps = [
    "//ui/webui/resources/cr_components/chromeos/network:network_config",
    "//ui/webui/resources/cr_elements/chromeos/network:cr_onc_types",
    "//ui/webui/resources/cr_elements/cr_dialog:cr_dialog",
    "//ui/webui/resources/cr_elements/policy:cr_policy_network_behavior",
    "//ui/webui/resources/js:assert",
    "//ui/webui/resources/js:i18n_behavior",
  ]
  externs_list = [
    "$externs_path/chrome_send.js",
    "$externs_path/networking_private.js",
  ]
  extra_sources = [ "$interfaces_path/networking_private_interface.js" ]
}