# Copyright 2026 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")

assert(!is_android)

build_webui_tests("build") {
  cc_test_files = [ "iwa_dev_browsertest.cc" ]

  files = [
    "app_test.ts",
    "install_dialog_test.ts",
    "update_options_dialog_test.ts",
  ]

  ts_path_mappings =
      [ "chrome://iwa-dev/*|" +
        rebase_path("$root_gen_dir/chrome/browser/resources/iwa_dev/tsc/*",
                    target_gen_dir) ]
  ts_deps = [
    "//chrome/browser/resources/iwa_dev:build_ts",
    "//ui/webui/resources/cr_elements:build_ts",
    "//ui/webui/resources/js:build_ts",
  ]
}
