Index: rlz/features/features.gni |
diff --git a/rlz/features/features.gni b/rlz/features/features.gni |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d90c6e183356db701e65b9ca6a283358e160f2ef |
--- /dev/null |
+++ b/rlz/features/features.gni |
@@ -0,0 +1,11 @@ |
+# 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/chrome_build.gni") |
+ |
+# Whether we are using the rlz library or not. Platforms like Android send |
+# rlz codes for searches but do not use the library. |
+enable_rlz_support = is_win || is_mac || is_ios || is_chromeos |
+ |
+enable_rlz = is_chrome_branded && enable_rlz_support |