aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/angle2
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/angle2')
-rw-r--r--third_party/angle2/BUILD.gn11
1 files changed, 7 insertions, 4 deletions
diff --git a/third_party/angle2/BUILD.gn b/third_party/angle2/BUILD.gn
index 114a7e8055..ab3afa58bf 100644
--- a/third_party/angle2/BUILD.gn
+++ b/third_party/angle2/BUILD.gn
@@ -113,9 +113,11 @@ shared_library("libGLESv2") {
"Xi",
"Xext",
]
- sources +=
- rebase_path(gles_gypi.libangle_gl_glx_sources, ".", "$angle_root/src") +
- [ "$angle_root/src/third_party/libXNVCtrl/NVCtrl.c" ]
+ sources += rebase_path(gles_gypi.libangle_gl_glx_sources +
+ gles_gypi.libangle_common_linux_sources,
+ ".",
+ "$angle_root/src") +
+ [ "$angle_root/src/third_party/libXNVCtrl/NVCtrl.c" ]
} else if (is_win) {
defines += [
# TODO: ANGLE_PRELOADED_D3DCOMPILER_MODULE_NAMES
@@ -124,7 +126,8 @@ shared_library("libGLESv2") {
gles_gypi.libangle_d3d_shared_sources +
gles_gypi.libangle_d3d9_sources +
gles_gypi.libangle_d3d11_sources +
- gles_gypi.libangle_d3d11_win32_sources,
+ gles_gypi.libangle_d3d11_win32_sources +
+ gles_gypi.libangle_common_win_sources,
".",
"$angle_root/src")
libs += [