diff options
author | brettw <brettw@chromium.org> | 2016-01-05 11:30:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-05 19:31:34 +0000 |
commit | 8b9047a9487db9f6d5fd45b19fbf003c33db49cd (patch) | |
tree | 28a2b78a2a9e4b9b65478f5ed3e9a1b92e2f2fc0 /ui/platform_window | |
parent | de0c6237ea6d9e1efedb3f4c0fa11eea397c196d (diff) | |
download | chromium_src-8b9047a9487db9f6d5fd45b19fbf003c33db49cd.zip chromium_src-8b9047a9487db9f6d5fd45b19fbf003c33db49cd.tar.gz chromium_src-8b9047a9487db9f6d5fd45b19fbf003c33db49cd.tar.bz2 |
Fix "gn check" for ozone build.
This adds some assertions for X11 targets that should not be referenced when
X11 isn't being used.
Conditionally put Blimp shell behind X11 flag since it seems to require X.
TBR=wez
Review URL: https://codereview.chromium.org/1564433002
Cr-Commit-Position: refs/heads/master@{#367611}
Diffstat (limited to 'ui/platform_window')
-rw-r--r-- | ui/platform_window/x11/BUILD.gn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/platform_window/x11/BUILD.gn b/ui/platform_window/x11/BUILD.gn index 9f734ae..4775aa7 100644 --- a/ui/platform_window/x11/BUILD.gn +++ b/ui/platform_window/x11/BUILD.gn @@ -2,6 +2,10 @@ # 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") + +assert(use_x11) + component("x11") { output_name = "x11_window" |