summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/resources/settings/crostini_page/BUILD.gn
blob: 10c5791dc4cb8d5c6aeb73bf965b9aca7c55684b (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
# 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")

js_type_check("closure_compile") {
  deps = [
    ":crostini_browser_proxy",
    ":crostini_page",
    ":crostini_subpage",
  ]
}

js_library("crostini_browser_proxy") {
  deps = [
    "//ui/webui/resources/js:cr",
    "//ui/webui/resources/js:web_ui_listener_behavior",
  ]
}

js_library("crostini_page") {
  deps = [
    ":crostini_browser_proxy",
    "..:route",
    "../prefs:prefs_behavior",
  ]
  externs_list = [ "$externs_path/settings_private.js" ]
}

js_library("crostini_subpage") {
  deps = [
    ":crostini_browser_proxy",
    "..:route",
    "../prefs:prefs_behavior",
  ]
}