Index: chrome/test/BUILD.gn |
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn |
index 27be332c0b62f2735e198c75e6958a38017d2d49..f90dbade4873773277bc7ac04efd843ff246e419 100644 |
--- a/chrome/test/BUILD.gn |
+++ b/chrome/test/BUILD.gn |
@@ -1550,10 +1550,13 @@ if (!is_android) { |
if (is_win || is_mac || is_chromeos) { |
sources += [ "../common/extensions/api/networking_private/networking_private_crypto_unittest.cc" ] |
} |
- if (enable_rlz) { |
- deps += [ "//rlz:test_support" ] |
- } else { |
- sources -= [ "../browser/rlz/rlz_unittest.cc" ] |
+ if (enable_rlz_support) { |
+ sources += [ "../browser/rlz/chrome_rlz_tracker_delegate_unittest.cc" ] |
+ deps += [ |
+ "//chrome/browser:rlz", |
+ "//components/rlz", |
+ "//rlz:test_support", |
+ ] |
} |
if (is_win) { |
if (!is_component_build) { |