-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate usb_internals_test.js to TypeScript.
This also creates c/t/d/w/usb_internals and adds a build target. Bug: None Change-Id: I2eaf1fb35c01909db109ff5a919d19d2940c7fb4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4338278 Reviewed-by: Demetrios Papadopoulos <dpapad@chromium.org> Commit-Queue: Cole Horvitz <colehorvitz@chromium.org> Cr-Commit-Position: refs/heads/main@{#1118368}
- Loading branch information
Cole Horvitz
authored and
Chromium LUCI CQ
committed
Mar 16, 2023
1 parent
5a921c7
commit a676ef8
Showing
8 changed files
with
691 additions
and
538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Copyright 2023 The Chromium Authors | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
import("../build_webui_tests.gni") | ||
|
||
build_webui_tests("build") { | ||
resource_path_prefix = "usb_internals" | ||
|
||
files = [ "usb_internals_test.ts" ] | ||
|
||
ts_path_mappings = | ||
[ "chrome://usb-internals/*|" + | ||
rebase_path( | ||
"$root_gen_dir/chrome/browser/resources/usb_internals/tsc/*", | ||
target_gen_dir) ] | ||
|
||
ts_deps = [ | ||
"//chrome/browser/resources/usb_internals:build_ts", | ||
"//ui/webui/resources/cr_elements:build_ts", | ||
"//ui/webui/resources/js:build_ts", | ||
"//ui/webui/resources/mojo:build_ts", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.