| # 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 = [ |
| ":event_handler", |
| ":message_dispatcher", |
| ] |
| } |
| |
| js_library("event_handler") { |
| deps = [ |
| "//ui/webui/resources/js:cr", |
| "//ui/webui/resources/js:util", |
| "//ui/webui/resources/js/cr/ui:tabs", |
| "//ui/webui/resources/js/cr/ui:tree", |
| ] |
| } |
| |
| js_library("message_dispatcher") { |
| deps = [ |
| "//ui/webui/resources/js:cr", |
| ] |
| } |