1import("../third_party.gni")
2
3third_party("opencl") {
4  # OpenCL C++ wrapper API, cl.hpp.
5  # (Some platforms only ship the C APIs, which cl.hpp builds on.)
6  public_include_dirs = [ "../externals/opencl-registry/api/2.1" ]
7
8  if (is_linux) {
9    libs = [ "OpenCL" ]
10  } else if (is_mac) {
11    frameworks = [ "OpenCL.framework" ]
12  } else if (is_win) {
13    libs = [ "OpenCL.lib" ]
14  }
15}
16