aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party
diff options
context:
space:
mode:
Diffstat (limited to 'third_party')
-rw-r--r--third_party/angle2/BUILD.gn9
1 files changed, 4 insertions, 5 deletions
diff --git a/third_party/angle2/BUILD.gn b/third_party/angle2/BUILD.gn
index 33395d74e4..d36626da49 100644
--- a/third_party/angle2/BUILD.gn
+++ b/third_party/angle2/BUILD.gn
@@ -103,10 +103,9 @@ shared_library("libGLESv2") {
gles_gypi.libglesv2_sources + gles_gypi.libangle_gl_sources,
".",
"$angle_root/src")
- if (!is_win) {
- sources -= [ "$angle_root/src/libGLESv2/libGLESv2_autogen.def" ]
+ if (is_win) {
+ sources += [ "$angle_root/src/libGLESv2/libGLESv2_autogen.def" ]
}
-
if (is_linux) {
libs += [
"X11",
@@ -150,7 +149,7 @@ shared_library("libEGL") {
":libGLESv2",
]
sources = rebase_path(gles_gypi.libegl_sources, ".", "$angle_root/src")
- if (!is_win) {
- sources -= [ "$angle_root/src/libEGL/libEGL.def" ]
+ if (is_win) {
+ sources += [ "$angle_root/src/libEGL/libEGL.def" ]
}
}