Index: chrome/test/BUILD.gn |
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn |
index eed7683537cc9c7505d23ab03385ef7bb21824d1..ac570ff1a7188b49c8289c7037d20285a650e917 100644 |
--- a/chrome/test/BUILD.gn |
+++ b/chrome/test/BUILD.gn |
@@ -1539,13 +1539,10 @@ if (!is_android) { |
if (is_win || is_mac || is_chromeos) { |
sources += [ "../common/extensions/api/networking_private/networking_private_crypto_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 (enable_rlz) { |
+ deps += [ "//rlz:test_support" ] |
+ } else { |
+ sources -= [ "../browser/rlz/rlz_unittest.cc" ] |
} |
if (is_win) { |
if (!is_component_build) { |