mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 03:47:44 -03:00
Update BUILD.gn
This commit is contained in:
parent
72902fef86
commit
65a49492bd
1 changed files with 3 additions and 2 deletions
|
@ -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" ]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue