chromium/chrome/test/data/webui/chromeos/cloud_upload/BUILD.gn

# Copyright 2022 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_webui_tests") {
  files = [
    "cloud_upload_dialog_test.ts",
    "connect_onedrive_test.ts",
    "file_handler_page_test.ts",
    "move_confirmation_page_test.ts",
    "cloud_upload_test_browser_proxy.ts",
  ]
  ts_path_mappings = [
    "chrome://cloud-upload/*|" + rebase_path(
            "$root_gen_dir/chrome/browser/resources/chromeos/cloud_upload/tsc/*",
            target_gen_dir),
    "chrome://webui-test/chromeos/*|" +
        rebase_path("$root_gen_dir/chrome/test/data/webui/chromeos/tsc/*",
                    target_gen_dir),
  ]
  ts_deps = [
    "//ash/webui/common/resources/cr_elements:build_ts",
    "//chrome/browser/resources/chromeos/cloud_upload:build_ts",
    "//chrome/test/data/webui/chromeos:build_ts",
    "//third_party/cros-components:cros_components_ts",
    "//ui/webui/resources/js:build_ts",
  ]
}