Index: ui/surface/BUILD.gn |
diff --git a/ui/surface/BUILD.gn b/ui/surface/BUILD.gn |
index 3b25e0eae064b28bcc09c6257c84c35bad6704e3..6e262a4fc2f4b757d20d5400158901b268cb60b5 100644 |
--- a/ui/surface/BUILD.gn |
+++ b/ui/surface/BUILD.gn |
@@ -15,6 +15,8 @@ component("surface") { |
"transport_dib_win.cc", |
] |
+ configs += [ "//third_party/khronos:khronos_headers" ] |
+ |
defines = [ "SURFACE_IMPLEMENTATION" ] |
deps = [ |
@@ -25,8 +27,4 @@ component("surface") { |
"//ui/gfx/geometry", |
"//ui/gl", |
] |
- |
- if (use_x11) { |
- include_dirs = [ "//third_party/khronos" ] |
- } |
} |