chromium/services/media_session/public/cpp/test/BUILD.gn

# Copyright 2018 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

component("test_support") {
  testonly = true

  output_name = "media_session_test_support_cpp"

  sources = [
    "audio_focus_test_util.cc",
    "audio_focus_test_util.h",
    "mock_audio_focus_manager.cc",
    "mock_audio_focus_manager.h",
    "mock_media_controller_manager.cc",
    "mock_media_controller_manager.h",
    "mock_media_session.cc",
    "mock_media_session.h",
    "test_media_controller.cc",
    "test_media_controller.h",
  ]

  deps = [
    "//base",
    "//services/media_session/public/cpp",
    "//services/media_session/public/mojom",
    "//testing/gmock",
  ]

  defines = [ "IS_MEDIA_SESSION_TEST_SUPPORT_CPP_IMPL" ]
}