Index: components/components_tests.gyp |
diff --git a/components/components_tests.gyp b/components/components_tests.gyp |
index e46bb187246659ef93d37d2ba23464f5685b3bb4..b190a1ada165d0c085eb532d66cb4a331aa467a9 100644 |
--- a/components/components_tests.gyp |
+++ b/components/components_tests.gyp |
@@ -478,6 +478,9 @@ |
'rappor/rappor_utils_unittest.cc', |
'rappor/sampler_unittest.cc', |
], |
+ 'rlz_unittest_sources': [ |
+ 'rlz/rlz_tracker_unittest.cc', |
+ ], |
'scheduler_unittest_sources': [ |
'scheduler/child/idle_helper_unittest.cc', |
'scheduler/child/nestable_task_runner_for_test.cc', |
@@ -849,6 +852,23 @@ |
'mime_util/mime_util.gyp:mime_util', |
], |
'conditions': [ |
+ ['enable_rlz == 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', |