I think we'll only need Vulkan. But in any case, the GL code doesn't
build, so disable it for now.

Bug: chromium:808287
Change-Id: I08f8cd09e67d91c08b7632e54bbdc6a11ee57014
Reviewed-on: https://chromium-review.googlesource.com/c/1298381
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
This commit is contained in:
Scott Graham 2018-10-24 15:11:40 -07:00 коммит произвёл Commit Bot
Родитель c3ee7ec01d
Коммит fbc5c55597
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -2,9 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build_overrides/build.gni")
import("//build/config/ui.gni") # import the use_x11 variable
import("//build/config/sanitizers/sanitizers.gni")
import("//build/config/ui.gni") # import the use_x11 variable
import("//build_overrides/build.gni")
if (is_android) {
import("//build/config/android/config.gni")
}
@ -57,7 +57,8 @@ declare_args() {
declare_args() {
angle_enable_d3d9 = is_win
angle_enable_d3d11 = is_win
angle_enable_gl = ozone_platform_gbm || !is_linux || (use_x11 && !is_chromeos)
angle_enable_gl = (ozone_platform_gbm || !is_linux ||
(use_x11 && !is_chromeos)) && !is_fuchsia
angle_enable_vulkan = is_win || (is_linux && use_x11 && !is_chromeos) ||
(is_android && ndk_supports_vulkan)