chromium/chrome/test/data/webui/certificate_viewer_dialog/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("//chrome/common/features.gni")
import("../build_webui_tests.gni")

assert(enable_webui_certificate_viewer)

build_webui_tests("build") {
  files = [ "certificate_viewer_dialog_test.ts" ]

  ts_path_mappings =
      [ "chrome://view-cert/*|" + rebase_path(
            "$root_gen_dir/chrome/browser/resources/certificate_viewer/tsc/*",
            target_gen_dir) ]
  ts_deps = [
    "//chrome/browser/resources/certificate_viewer:build_ts",
    "//ui/webui/resources/cr_elements:build_ts",
    "//ui/webui/resources/js:build_ts",
  ]
  ts_definitions = [ "//tools/typescript/definitions/chrome_send.d.ts" ]
}