summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/welcome/ntp_background/BUILD.gn
blob: 32399f99cf3d29ae96898233118c65fe22fe3cd4 (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
# Copyright 2019 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 = [
    ":ntp_background_metrics_proxy",
    ":ntp_background_proxy",
    ":nux_ntp_background",
  ]
}

js_library("nux_ntp_background") {
  deps = [
    ":ntp_background_metrics_proxy",
    ":ntp_background_proxy",
    "../:navigation_behavior",
    "../shared:nux_types",
    "//ui/webui/resources/js:cr",
    "//ui/webui/resources/js:i18n_behavior",
    "//ui/webui/resources/js:util",
  ]
}

js_library("ntp_background_proxy") {
  deps = [
    "//ui/webui/resources/js:cr",
  ]
  externs_list = [ "$externs_path/chrome_send.js" ]
}

js_library("ntp_background_metrics_proxy") {
  deps = [
    "../shared:module_metrics_proxy",
  ]
}