chromium/chrome/test/media_router/access_code_cast/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/config/chromeos/ui_mode.gni")

static_library("access_code_cast_integration_base") {
  testonly = true

  defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]

  sources = [
    "access_code_cast_integration_browsertest.cc",
    "access_code_cast_integration_browsertest.h",
  ]

  public_deps = [ "//chrome/browser/ui:ui_features" ]

  deps = [
    "//base/test:test_support",
    "//chrome/browser:browser",
    "//chrome/browser/media/router:router",
    "//chrome/browser/media/router:test_support",
    "//chrome/browser/media/router/discovery:discovery",
    "//chrome/browser/media/router/discovery/access_code:access_code_cast_feature",
    "//chrome/browser/media/router/discovery/access_code:access_code_sink_service",
    "//chrome/browser/profiles:profile",
    "//chrome/browser/sync",
    "//chrome/browser/ui",
    "//chrome/browser/ui/webui/access_code_cast:mojo_bindings",
    "//chrome/common",
    "//chrome/test:test_support",
    "//chrome/test:test_support_ui",
    "//chrome/test/media_router:test_support",
    "//components/keyed_service/content:content",
    "//components/media_router/browser:browser",
    "//components/media_router/browser:test_support",
    "//components/media_router/common:test_support",
    "//components/performance_manager:performance_manager",
    "//components/signin/public/identity_manager:test_support",
    "//components/user_manager:user_manager",
    "//content/test:test_support",
  ]

  if (is_chromeos_lacros) {
    deps += [ "//chromeos/lacros:lacros" ]
  }

  if (is_chromeos_ash) {
    deps += [ "//chrome/browser/ui/ash/cast_config" ]
  }
}