summaryrefslogtreecommitdiff
path: root/chromium/components/sync/driver/resources/BUILD.gn
blob: ce9d0b41152d884a4881525621431507d57b16fa (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
# 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 = [
    #TODO(crbug.com/986001): Fix compilation errors and enable all targets.

    #":about",
    ":chrome_sync",

    #":data",
    ":events",
    ":search",
    ":sync_index",
    ":sync_log",

    #":sync_node_browser",
    #":sync_search",
    ":traffic_log",

    #":types",
    ":user_events",
  ]
}

js_library("about") {
  deps = [
    "//third_party/jstemplate:jstemplate",
    "//ui/webui/resources/js:util",
  ]
}

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

js_library("data") {
}

js_library("events") {
  deps = [
    "//third_party/jstemplate:jstemplate",
    "//ui/webui/resources/js:cr",
  ]
}

js_library("search") {
  deps = [
    "//ui/webui/resources/js:util",
    "//ui/webui/resources/js/cr/ui:splitter",
  ]
}

js_library("sync_index") {
  deps = [
    "//ui/webui/resources/js:util",
    "//ui/webui/resources/js/cr/ui:tabs",
  ]
}

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

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

js_library("sync_search") {
  deps = [
    "//ui/webui/resources/js:cr",
    "//ui/webui/resources/js/cr/ui:array_data_model",
    "//ui/webui/resources/js/cr/ui:list",
  ]
}

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

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

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