aboutsummaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorJohn Plate <jplate@google.com>2021-04-27 19:31:31 +0100
committerCommit Bot <commit-bot@chromium.org>2021-05-03 17:27:16 +0000
commit05fb22724f2ec7173c32d8a01f6313579fc9219a (patch)
tree87707acd1fe13bf534fa956b10735ce3e3a85d95 /BUILD.gn
parentbcae4fe18271c1b7a85ec4cc2155546485eccf31 (diff)
downloadangle-05fb22724f2ec7173c32d8a01f6313579fc9219a.tar.gz
Add support for OpenCL ICD Loader
Bug: angleproject:5908 Change-Id: Idafc0d15b69f9a21f2ab5e48c4c34f0dc0e0ee96 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2854598 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com> Commit-Queue: John Plate <jplate@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn3
1 files changed, 3 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index fb37450a01..2545c25409 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -345,6 +345,9 @@ if (angle_has_build) {
angle_static_library("angle_common") {
sources = libangle_common_sources
+ if (angle_enable_cl) {
+ sources += libangle_common_cl_sources
+ }
configs += [
":angle_common_config",