Index: components/components_tests.gyp |
diff --git a/components/components_tests.gyp b/components/components_tests.gyp |
index b52326c42446da533080a136ec518e03ced5d2a2..066fff80b864a127b930e30ec157db34e2c4bf84 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', |