| # Copyright 2021 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_a11y_announcer.js" ] |
| } |
| |
| js_type_check("closure_compile") { |
| is_polymer3 = true |
| deps = [ ":cr_a11y_announcer" ] |
| } |
| |
| js_library("cr_a11y_announcer") { |
| deps = [ |
| "//third_party/polymer/v3_0/components-chromium/polymer:polymer_bundled", |
| "//ui/webui/resources/js:assert.m", |
| ] |
| } |