diff options
Diffstat (limited to 'ui/surface/BUILD.gn')
-rw-r--r-- | ui/surface/BUILD.gn | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/surface/BUILD.gn b/ui/surface/BUILD.gn index 6e262a4..3b25e0e 100644 --- a/ui/surface/BUILD.gn +++ b/ui/surface/BUILD.gn @@ -15,8 +15,6 @@ component("surface") { "transport_dib_win.cc", ] - configs += [ "//third_party/khronos:khronos_headers" ] - defines = [ "SURFACE_IMPLEMENTATION" ] deps = [ @@ -27,4 +25,8 @@ component("surface") { "//ui/gfx/geometry", "//ui/gl", ] + + if (use_x11) { + include_dirs = [ "//third_party/khronos" ] + } } |