Upload upstream chromium 120.0.6099.5
[platform/framework/web/chromium-efl.git] / rlz / buildflags / buildflags.gni
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.
4
5 import("//build/config/chrome_build.gni")
6 import("//build/config/chromeos/ui_mode.gni")
7
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
11
12 declare_args() {
13   enable_rlz = is_chrome_branded && enable_rlz_support
14 }
15
16 assert(!enable_rlz || enable_rlz_support,
17        "RLZ is only supported on Windows, Apple and ChromeOS Ash.")