# 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")
build_webui_tests("build") {
  cc_test_files = [ "ai_overlay_dialog_browsertest.cc" ]

  is_chrome_untrusted = true
  files = [
    "api_session_test.ts",
    "conversation_test.ts",
    "persona_test.ts",
  ]
  ts_path_mappings =
      [ "chrome-untrusted://ai-overlay-dialog/*|" +
        rebase_path("$root_gen_dir/chrome/browser/ttc/resources/tsc/*",
                    target_gen_dir) ]
  ts_deps = [
    "//chrome/browser/ttc/resources:build_ts",
    "//ui/webui/resources/js:build_ts",
  ]
}
