blob: 9b8ca80cff3fee5f6b4c69536cd143c23b941c5d [file] [log] [blame]
# 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")
import("//tools/polymer/html_to_js.gni")
import("../os_settings.gni")
js_type_check("closure_compile_module") {
closure_flags = os_settings_closure_flags
is_polymer3 = true
deps = [ ":os_toolbar" ]
}
js_library("os_toolbar") {
deps = [
"../os_settings_search_box:os_settings_search_box",
"//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled",
"//ui/webui/resources/cr_elements/cr_icon_button:cr_icon_button",
"//ui/webui/resources/js:load_time_data.m",
]
externs_list = [ "//ui/webui/resources/cr_elements/cr_toolbar/cr_toolbar_search_field_externs.js" ]
}
html_to_js("web_components") {
js_files = [ "os_toolbar.js" ]
}