Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2136)

Unified Diff: build/common.gypi

Issue 1212163011: Componentize chrome/browser/rlz (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/config/features.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | build/config/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698