Index: ui/base/x/BUILD.gn |
diff --git a/ui/base/x/BUILD.gn b/ui/base/x/BUILD.gn |
index 76a301f41c1a222e8aaa24d9fe53bffd876efcc7..10d0bcc8de299117cbd768afaf69b4001d1028e0 100644 |
--- a/ui/base/x/BUILD.gn |
+++ b/ui/base/x/BUILD.gn |
@@ -1,6 +1,10 @@ |
# Copyright 2016 The Chromium Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+import("//build/config/ui.gni") |
+import("//ui/ozone/ozone.gni") |
+ |
+assert(use_x11 || ozone_platform_x11) |
component("x") { |
output_name = "ui_base_x" |