Commit 15ac1731 authored by Junliang Yan's avatar Junliang Yan Committed by Commit Bot

Exclude ppc64le and s390x when including dri package.

Exclude gpu support since these platforms only need to build
gn, which doesn't need graphic support.

Change-Id: I74702eb03e6b73d38540560f03cf4d95543f0c1c
Reviewed-on: https://chromium-review.googlesource.com/897684Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
Reviewed-by: default avatarKenneth Russell <kbr@chromium.org>
Commit-Queue: Kenneth Russell <kbr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#533923}
parent 75c1ff34
......@@ -122,7 +122,8 @@ target(link_target_type, "gpu_sources") {
}
# Use DRI on desktop Linux builds.
if (is_desktop_linux && (!is_chromecast || is_cast_desktop_build)) {
if (current_cpu != "s390x" && current_cpu != "ppc64le" && is_desktop_linux &&
(!is_chromecast || is_cast_desktop_build)) {
configs += [ "//build/config/linux/dri" ]
}
}
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