chromium/fuchsia_web/runners/cast/fidl/BUILD.gn

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

import("//third_party/fuchsia-gn-sdk/src/fidl_library.gni")

# Only allow use by targets in this directory unless explicitly specified.
visibility = [ ":*" ]

fidl_library("fidl") {
  library_name = "chromium.cast"

  sources = [
    "api_bindings.fidl",
    "application_config.fidl",
    "application_context.fidl",
    "application_controller.fidl",
    "cors_exempt_headers.fidl",
    "data_reset.fidl",
    "url_request_rewriter.fidl",
  ]

  public_deps = [
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.media.sessions2",
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.ui.gfx",
    "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.web",
  ]

  visibility += [
    "//chromecast/bindings:*",
    "//chromecast/internal/*",
    "//fuchsia_web/runners:cast_runner_core",
    "//fuchsia_web/runners:cast_runner_unittests__exec",
    "//fuchsia_web/runners/cast/test:integration",
    "//fuchsia_web/runners/cast/test:test_support",
  ]
}