Commit fb75b4fc authored by Kevin Marshall's avatar Kevin Marshall Committed by Commit Bot

[Fuchsia] Relocate named_message_port_connector.js to common location.

Moves named_message_port_connector.js to a common location so it can
be used by more platforms than just Fuchsia.

Bug: 953958
Change-Id: Iabcab36f6f1fc421f0afb77ca88eb499d3a29bff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1610602Reviewed-by: default avatarLuke Halliwell <halliwell@chromium.org>
Reviewed-by: default avatarSean Topping <seantopping@chromium.org>
Reviewed-by: default avatarFabrice de Gans-Riberi <fdegans@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#661036}
parent ccf33273
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
source_set("named_message_port_connector_resources") {
data = [
"named_message_port_connector.js",
]
}
// Copyright 2018 The Chromium Authors. All rights reserved. // Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
......
...@@ -50,11 +50,13 @@ source_set("cast_runner_core") { ...@@ -50,11 +50,13 @@ source_set("cast_runner_core") {
] ]
data = [ data = [
"cast/cast_channel_bindings.js", "cast/cast_channel_bindings.js",
"cast/named_message_port_connector.js",
"cast/not_implemented_api_bindings.js", "cast/not_implemented_api_bindings.js",
"cast/queryable_data_bindings.js", "cast/queryable_data_bindings.js",
"cast/touch_input_bindings.js", "cast/touch_input_bindings.js",
] ]
data_deps = [
"//chromecast/bindings:named_message_port_connector_resources",
]
deps = [ deps = [
"//base", "//base",
"//fuchsia/base", "//fuchsia/base",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
namespace { namespace {
const char kBindingsJsPath[] = const char kBindingsJsPath[] =
FILE_PATH_LITERAL("fuchsia/runners/cast/named_message_port_connector.js"); FILE_PATH_LITERAL("chromecast/bindings/named_message_port_connector.js");
const char kControlPortConnectMessage[] = "cast.master.connect"; const char kControlPortConnectMessage[] = "cast.master.connect";
} // namespace } // namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment