Commit ba9bde95 authored by Marzena Dell'Aquila's avatar Marzena Dell'Aquila Committed by Commit Bot

[Chromecast] Generate resource pak for bindings_resources

This change will allow loading IDR_PORT_CONNECTOR_JS from a resource pak
instead of opening and reading the JS file directly.

Bug: b/160811610
Test: CQ
Change-Id: I02cbfbc41cc983043658bbe57ac15033f0d457e2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2290530Reviewed-by: default avatarLuke Halliwell (slow) <halliwell@chromium.org>
Reviewed-by: default avatarKevin Marshall <kmarshall@chromium.org>
Commit-Queue: Marzena Dell'Aquila <mdellaquila@google.com>
Cr-Commit-Position: refs/heads/master@{#787945}
parent 98aefabb
...@@ -9,7 +9,11 @@ if (is_fuchsia) { ...@@ -9,7 +9,11 @@ if (is_fuchsia) {
} }
source_set("named_message_port_connector_resources") { source_set("named_message_port_connector_resources") {
data = [ "resources/named_message_port_connector.js" ] data = [
"resources/named_message_port_connector.js",
"${target_gen_dir}/bindings_resources.pak",
]
deps = [ ":bindings_resources" ]
} }
grit("bindings_resources") { grit("bindings_resources") {
......
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