Commit 54ad18ef authored by Kevin Marshall's avatar Kevin Marshall Committed by Commit Bot

[fuchsia] Exclude SwiftShader and Vulkan libs from CastRunner.

Removes large libraries that were pulled in as a result of an indirect
but necessary dep on Blink.

The exclusions can be removed along with the Blink MessagePort
dependency, once a fix for crbug.com/1126571 lands and is
integrated with NamedMessagePortConnector.

Bug: 1131102
Bug: 1126571
Change-Id: I7b25d50470d667f44424b925d3982efa268c24ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424512
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Reviewed-by: default avatarFabrice de Gans-Riberi <fdegans@chromium.org>
Cr-Commit-Position: refs/heads/master@{#809544}
parent 39223eed
......@@ -76,6 +76,9 @@ source_set("cast_runner_core") {
"//base",
"//components/cast/named_message_port_connector:named_message_port_connector",
"//fuchsia/base",
# TODO(crbug.com/1131102): Remove this dep when MPP lands, and add assertions to ensure
# that Blink indirect deps don't creep back in.
"//fuchsia/base:message_port",
"//fuchsia/base:modular",
"//third_party/fuchsia-sdk/sdk/fidl/fuchsia.modular",
......@@ -110,6 +113,19 @@ cr_fuchsia_package("cast_runner_pkg") {
binary = ":cast_runner_exe"
package_name_override = "cast_runner"
manifest = "cast/cast_runner.cmx"
# TODO(crbug.com/1131102): Remove these exclusions when MPP lands.
excluded_files = [
"lib/libEGL.so",
"lib/libfuchsia_egl.so",
"lib/libGLESv2.so",
"lib/libswiftshader_libEGL.so",
"lib/libswiftshader_libGLESv2.so",
"lib/libtrace-engine.so",
"lib/libvulkan.so",
"lib/VkLayer_image_pipe_swapchain.so",
"lib/VkLayer_khronos_validation.so",
]
}
fuchsia_package_runner("cast_runner") {
......
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