Commit 369d03c1 by Steven Bennetts Committed by Commit Bot

Disable angle_enable_gl on chromeos

BUG=angleproject:1370 Change-Id: I63e3ee8fc6e08fcd2a908cdca3558af886526cbd Reviewed-on: https://chromium-review.googlesource.com/342740Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>
parent f691cfab
......@@ -224,9 +224,9 @@ config("libANGLE_config") {
}
if (angle_enable_gl) {
defines += [ "ANGLE_ENABLE_OPENGL" ]
}
if (use_x11) {
defines += [ "ANGLE_USE_X11" ]
if (use_x11) {
defines += [ "ANGLE_USE_X11" ]
}
}
defines += [
"GL_GLEXT_PROTOTYPES",
......
......@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/ui.gni") # import the use_x11 variable
angle_enable_d3d9 = false
angle_enable_d3d11 = false
angle_enable_gl = false
......@@ -14,7 +16,7 @@ if (is_win) {
import("//build/config/win/visual_studio_version.gni")
} # is_win
if (is_linux) {
if (is_linux && use_x11 && !is_chromeos) {
angle_enable_gl = true
}
......
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