Update BUILD.gn

This commit is contained in:
Alexander David Frick 2022-05-05 03:21:10 -05:00 committed by GitHub
parent 72902fef86
commit 65a49492bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/chromecast_build.gni")
import("//build/config/chromeos/ui_mode.gni")
import("//build/config/ui.gni")
import("//gpu/vulkan/features.gni")
@ -134,9 +135,9 @@ target(link_target_type, "gpu_sources") {
deps += [ "//gpu/vulkan" ]
}
# Use DRI on desktop Linux builds.
# Use DRI on desktop Linux builds.
if (current_cpu != "s390x" && current_cpu != "ppc64" && is_linux &&
(!is_chromecast || is_cast_desktop_build)) {
!is_castos) {
configs += [ "//build/config/linux/dri" ]
}