| # 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") |
| |
| js_type_check("closure_compile") { |
| deps = [ |
| ":crostini_browser_proxy", |
| ":crostini_page", |
| ":crostini_subpage", |
| ] |
| } |
| |
| js_library("crostini_browser_proxy") { |
| deps = [ |
| "//ui/webui/resources/js:cr", |
| "//ui/webui/resources/js:web_ui_listener_behavior", |
| ] |
| } |
| |
| js_library("crostini_page") { |
| deps = [ |
| ":crostini_browser_proxy", |
| "..:route", |
| "../prefs:prefs_behavior", |
| ] |
| externs_list = [ "$externs_path/settings_private.js" ] |
| } |
| |
| js_library("crostini_subpage") { |
| deps = [ |
| ":crostini_browser_proxy", |
| "..:route", |
| "../prefs:prefs_behavior", |
| ] |
| } |