aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/angle2
diff options
context:
space:
mode:
authorGravatar Geoff Lang <geofflang@google.com>2018-01-22 17:37:57 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-23 00:03:10 +0000
commit03362c35f9eee30f34005979f692c4d65a6490a2 (patch)
tree0aea992ecedee5efd70a4d381f97b2cb4c1c2a4d /third_party/angle2
parent95bd38720d8e88bf31882e39c05aefae6d776b9d (diff)
Update ANGLE's BUILD.gn to include definitions for GL_API.
Bug: skia: Change-Id: I57a16af6c57166ead768ad73a8124690f1fa58e4 Reviewed-on: https://skia-review.googlesource.com/98302 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'third_party/angle2')
-rw-r--r--third_party/angle2/BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/angle2/BUILD.gn b/third_party/angle2/BUILD.gn
index cb780c238d..114a7e8055 100644
--- a/third_party/angle2/BUILD.gn
+++ b/third_party/angle2/BUILD.gn
@@ -50,6 +50,7 @@ config("common") {
defines += [
"ANGLE_USE_X11",
"GL_APICALL=__attribute__((visibility(\"default\")))",
+ "GL_API=__attribute__((visibility(\"default\")))",
"EGLAPI=__attribute__((visibility(\"default\")))",
]
cflags_cc += [ "-std=c++14" ]
@@ -58,6 +59,7 @@ config("common") {
"ANGLE_ENABLE_D3D11",
"ANGLE_ENABLE_D3D9",
"GL_APICALL=",
+ "GL_API=",
"EGLAPI=",
]