Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5378)

Unified Diff: chrome/test/BUILD.gn

Issue 1212163011: Componentize chrome/browser/rlz (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | components/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698