Luciano Pacheco | d4a89607 | 2020-01-14 11:07:50 | [diff] [blame] | 1 | # Copyright 2020 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | import("//third_party/closure_compiler/compile_js.gni") |
| 6 | |
| 7 | js_type_check("closure_compile") { |
| 8 | testonly = true |
| 9 | deps = [ |
| 10 | ":remote_call", |
| 11 | ":test_util", |
| 12 | "//ui/file_manager/base/js:volume_manager_types", |
| 13 | ] |
| 14 | } |
| 15 | |
| 16 | js_library("remote_call") { |
| 17 | testonly = true |
Luciano Pacheco | 7ba0577 | 2020-02-11 04:49:54 | [diff] [blame] | 18 | deps = [ |
| 19 | ":test_util", |
| 20 | "//ui/file_manager/file_manager/background/js:runtime_loaded_test_util", |
| 21 | ] |
Luciano Pacheco | d4a89607 | 2020-01-14 11:07:50 | [diff] [blame] | 22 | externs_list = [ "$externs_path/command_line_private.js" ] |
| 23 | } |
| 24 | |
| 25 | js_library("test_util") { |
| 26 | testonly = true |
| 27 | externs_list = [ |
| 28 | "$externs_path/chrome_extensions.js", |
dpapad | e1a0bd2 | 2020-06-16 04:22:32 | [diff] [blame^] | 29 | "$externs_path/test.js", |
Luciano Pacheco | d4a89607 | 2020-01-14 11:07:50 | [diff] [blame] | 30 | ] |
| 31 | } |