Index: chrome/test/BUILD.gn |
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn |
index cdc18ec5ab7cecbcda6516ec6105aef80a89d41b..e8d2a0f5cbd66bbdbce66977aea72226fedb86f3 100644 |
--- a/chrome/test/BUILD.gn |
+++ b/chrome/test/BUILD.gn |
@@ -1228,6 +1228,12 @@ if (!is_android) { |
".", |
"//chrome") |
} |
+ if (enable_service_discovery) { |
+ sources += rebase_path( |
+ chrome_tests_gypi_values.chrome_browser_tests_service_discovery_sources, |
+ ".", |
+ "//chrome") |
+ } |
if (enable_supervised_users) { |
sources += rebase_path( |
chrome_tests_gypi_values.chrome_browser_tests_supervised_user_sources, |
@@ -1713,6 +1719,12 @@ test("unit_tests") { |
".", |
"//chrome") |
} |
+ if (enable_service_discovery) { |
+ sources += rebase_path( |
+ chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_service_discovery_sources, |
+ ".", |
+ "//chrome") |
+ } |
if (!is_chromeos) { |
sources += rebase_path( |
chrome_tests_unit_gypi_values.chrome_unit_tests_extensions_non_chromeos_sources, |
@@ -2028,7 +2040,6 @@ test("unit_tests") { |
} |
if (is_android || is_ios) { |
sources -= [ |
- "../browser/devtools/device/cast_device_provider_unittest.cc", |
"../browser/ui/bookmarks/bookmark_ui_utils_desktop_unittest.cc", |
"../browser/ui/sync/sync_promo_ui_unittest.cc", |
] |