summaryrefslogtreecommitdiffstats
path: root/components/components_tests.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'components/components_tests.gyp')
-rw-r--r--components/components_tests.gyp20
1 files changed, 20 insertions, 0 deletions
diff --git a/components/components_tests.gyp b/components/components_tests.gyp
index b52326c..066fff8 100644
--- a/components/components_tests.gyp
+++ b/components/components_tests.gyp
@@ -491,6 +491,9 @@
'rappor/rappor_utils_unittest.cc',
'rappor/sampler_unittest.cc',
],
+ 'rlz_unittest_sources': [
+ 'rlz/rlz_tracker_unittest.cc',
+ ],
'safe_json_unittest_sources': [
'safe_json/json_sanitizer_unittest.cc',
],
@@ -870,6 +873,23 @@
'mime_util/mime_util.gyp:mime_util',
],
'conditions': [
+ ['enable_rlz_support==1', {
+ 'sources': [
+ '<@(rlz_unittest_sources)',
+ ],
+ 'dependencies': [
+ '../net/net.gyp:net_test_support',
+ '../rlz/rlz.gyp:test_support_rlz',
+ 'components.gyp:rlz',
+ ],
+ 'conditions': [
+ ['OS == "ios"', {
+ 'dependencies': [
+ '../ui/base/ui_base.gyp:ui_base',
+ ],
+ }],
+ ],
+ }],
['toolkit_views == 1', {
'sources': [
'bookmarks/browser/bookmark_node_data_unittest.cc',