diff options
Diffstat (limited to 'chromium/ui/base/ime/linux/BUILD.gn')
-rw-r--r-- | chromium/ui/base/ime/linux/BUILD.gn | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/chromium/ui/base/ime/linux/BUILD.gn b/chromium/ui/base/ime/linux/BUILD.gn index 01c9b24e6a7..dbef616118c 100644 --- a/chromium/ui/base/ime/linux/BUILD.gn +++ b/chromium/ui/base/ime/linux/BUILD.gn @@ -5,7 +5,14 @@ import("//build/config/jumbo.gni") import("//build/config/linux/pangocairo/pangocairo.gni") -assert(is_linux && !is_chromeos) +# Allows base/ime/linux to be built if it's just for making kythe annotations. +# This is used to generate cross references in codesearch. References are +# generated by building the ozone wayland backend on ChromiumOS, which +# normally we would not want to compile base/ime/linux for. We can't build +# both ozone and x11 on Linux yet, but when we can we should remove this. +# TODO(crbug.com/1085700): Remove || enable_kythe_annotations here. +import("//build/toolchain/kythe.gni") +assert((is_linux && !is_chromeos) || enable_kythe_annotations) jumbo_component("linux") { output_name = "ui_base_ime_linux" |