1 # Copyright 2016 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/chrome_build.gni")
6 import("//build/config/chromeos/ui_mode.gni")
8 # Whether we are using the rlz library or not. Platforms like Android send
9 # rlz codes for searches but do not use the library.
10 enable_rlz_support = is_win || is_apple || is_chromeos_ash
13 enable_rlz = is_chrome_branded && enable_rlz_support
16 assert(!enable_rlz || enable_rlz_support,
17 "RLZ is only supported on Windows, Apple and ChromeOS Ash.")