chromium/components/cast/named_message_port_connector/BUILD.gn

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

import("//tools/grit/grit_rule.gni")

source_set("named_message_port_connector") {
  sources = [
    "named_message_port_connector.cc",
    "named_message_port_connector.h",
  ]

  deps = [
    "//base",
    "//components/cast:export",
    "//components/cast/message_port",
  ]

  public_deps = [ ":resources" ]
}

grit("resources") {
  source = "named_message_port_connector_resources.grd"
  outputs = [
    "grit/named_message_port_connector_resources.h",
    "named_message_port_connector_resources.pak",
  ]

  # Allow GRIT to assign IDs using its default set of base IDs.
  resource_ids = ""
}