Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 19d647efc12b513135b8cac3669af483ab209152..8ed775b9c8a805364d5c2b3159eb164de58a4680 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -1494,6 +1494,7 @@ |
# 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%': 0, |
'enable_rlz%': 0, |
# Turns on the i18n support in V8. |
@@ -2318,9 +2319,15 @@ |
'release_valgrind_build': 1, |
}], |
- # Enable RLZ on Win, Mac, iOS and ChromeOS. |
- ['branding=="Chrome" and (OS=="win" or OS=="mac" or OS=="ios" or chromeos==1)', { |
- 'enable_rlz%': 1, |
+ # RLZ library is used on Win, Mac, iOS and ChromeOS. |
+ ['OS=="win" or OS=="mac" or OS=="ios" or chromeos==1', { |
+ 'enable_rlz_support%': 1, |
+ 'conditions': [ |
+ # RLZ is enabled for "Chrome" builds. |
+ ['branding=="Chrome"', { |
+ 'enable_rlz%': 1, |
+ }], |
+ ], |
}], |
# Set default compiler flags depending on ARM version. |