[fuchsia] Remove exceptions for most remaining Chrome tests
Exceptions:
* captured_sites_interactive_tests need Web Page Replay (WPR) support.
* Some tests that only build when is_chrome_branded will be enabled
separately.
Bug: 1258253, 1310351
Test: autoninja -C out/fuchsia/ load_library_perf_tests views_perftests net_perftests browser_tests sync_integration_tests performance_browser_tests sync_integration_tests
Change-Id: I25397fdaf7344c768bd3236f0728e5f7c0c1746d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3546515
Auto-Submit: David Dorwin <ddorwin@chromium.org>
Reviewed-by: Kevin Marshall <kmarshall@chromium.org>
Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
Cr-Commit-Position: refs/heads/main@{#986698}
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
index 48e1cc8..bfdfd62 100644
--- a/chrome/test/BUILD.gn
+++ b/chrome/test/BUILD.gn
@@ -575,6 +575,7 @@
}
if (!is_fuchsia) {
+ # Crashes are handled by the platform.
public_deps += [ "//components/crash/core/app" ]
}
@@ -4737,7 +4738,7 @@
data_deps += [ "//third_party/angle/src/tests:angle_perftests" ]
}
- if (!is_android && !is_fuchsia && !is_chromeos_lacros) {
+ if (!is_android && !is_chromeos_lacros) {
data_deps += [
"//chrome/test:load_library_perf_tests",
"//ui/views:views_perftests",
@@ -4753,7 +4754,7 @@
}
}
- if (!is_ios && !is_fuchsia && !is_android && !is_chromeos_lacros) {
+ if (!is_ios && !is_android && !is_chromeos_lacros) {
data_deps += [ "//net:net_perftests" ]
}
}
@@ -8101,7 +8102,7 @@
deps += [ "//dbus:test_support" ]
}
}
- if ((is_linux || is_chromeos) && is_chrome_branded && current_cpu == "x86") {
+ if (is_chrome_branded && (is_linux || is_chromeos) && current_cpu == "x86") {
ldflags = [ "-Wl,--strip-debug" ]
}
if (is_win || is_mac) {
@@ -8410,7 +8411,7 @@
]
}
- if (!is_android && is_chrome_branded) {
+ if (is_chrome_branded && !is_android) {
sources += [
"../browser/ui/views/lens/lens_region_search_controller_unittest.cc",
"../browser/ui/views/lens/lens_side_panel_controller_unittest.cc",
@@ -9406,7 +9407,7 @@
}
}
-if (!is_android && !is_fuchsia) {
+if (!is_android) {
# Everything needed to build/copy to run the performance_browser_tests isolate.
# See: //testing/buildbot/gn_isolate_map.pyl
group("performance_browser_tests") {
@@ -9615,7 +9616,7 @@
}
}
-if (!is_android && !is_fuchsia) {
+if (!is_android) {
test("sync_integration_tests") {
use_xvfb = use_xvfb_in_this_config
@@ -9832,7 +9833,11 @@
# This target should not require the Chrome executable to run.
assert_no_deps = [ "//chrome" ]
}
+}
+# TODO(crbug.com/1310351): Once WPR is supported, enable this suite on Fuchsia
+# and merge with the blocks above and below.
+if (!is_android && !is_fuchsia) {
# Tests autofill on captured websites
test("captured_sites_interactive_tests") {
use_xvfb = use_xvfb_in_this_config
@@ -9937,7 +9942,11 @@
]
}
}
+}
+# TOOD(crbug.com/1258253): Enable this on Fuchsia and merge with block below.
+# TODO(crbug.com/1310351): Merge with the block above once fixed.
+if (!is_android && !is_fuchsia) {
# The Chrome Enterprise File System Connector requires Google API keys,
# and only works on Google Chrome branded builds.
# The connectors file system interactive tests are not supported on
@@ -10047,7 +10056,10 @@
}
}
}
+}
+# TOOD(crbug.com/1258253): Merge with block above when it is enabled on Fuchsia.
+if (!is_android) {
group("telemetry_unittests") {
testonly = true
deps = [ "//tools/perf/chrome_telemetry_build:telemetry_chrome_test" ]