Index: build/config/BUILD.gn |
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn |
index d1e6ee7d4f599e8609251ca45a278d251f9e6191..f28f0cf8ee9e4ff9ee58656f62a080189a68083b 100644 |
--- a/build/config/BUILD.gn |
+++ b/build/config/BUILD.gn |
@@ -89,6 +89,9 @@ |
if (use_udev) { |
# TODO(brettw) should probably be "=1". |
defines += [ "USE_UDEV" ] |
+ } |
+ if (toolkit_views) { |
+ defines += [ "TOOLKIT_VIEWS=1" ] |
} |
if (ui_compositor_image_transport) { |
# TODO(brettw) should probably be "=1". |