summaryrefslogtreecommitdiff
path: root/chromium/ui/webui/resources/cr_elements/cr_radio_button/BUILD.gn
blob: 2a2d6dff495b010fb38c2032cd974b13309a4753 (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
# 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("//tools/polymer/html_to_js.gni")

html_to_js("web_components") {
  js_files = [
    "cr_radio_button.js",
    "cr_card_radio_button.js",
  ]
}

js_type_check("closure_compile_module") {
  is_polymer3 = true
  deps = [
    ":cr_card_radio_button",
    ":cr_radio_button",
    ":cr_radio_button_behavior",
  ]
}

js_library("cr_radio_button") {
  deps = [
    ":cr_radio_button_behavior",
    "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled",
  ]
}

js_library("cr_card_radio_button") {
  deps = [
    ":cr_radio_button_behavior",
    "//third_party/polymer/v3_0/components-chromium/iron-icon",
    "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled",
  ]
}

js_library("cr_radio_button_behavior") {
  deps = [ "//third_party/polymer/v3_0/components-chromium/paper-behaviors:paper-ripple-behavior" ]
}