From bba9dd6ccd05aa2f0067d891190bca26a52a759a Mon Sep 17 00:00:00 2001 From: Oscar Vestlie Date: Thu, 21 Nov 2024 01:03:53 +0000 Subject: [PATCH] Add list of test targets --- cobalt/BUILD.gn | 104 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) diff --git a/cobalt/BUILD.gn b/cobalt/BUILD.gn index 99ab2c73bcdb..d29f395a960b 100644 --- a/cobalt/BUILD.gn +++ b/cobalt/BUILD.gn @@ -81,3 +81,107 @@ target(gtest_target_type, "common_unittests") { "//testing/gtest", ] } + +generated_file("test_targets_json") { + outputs = [ "$root_build_dir/test_targets.json" ] + contents = [ + "accessibility_unittests", + "android_webview_unittests", + "angle_unittests", + "audio_unittests", + "base_unittests", + "blink_unittests", + "blink_common_unittests", + "blink_fuzzer_unittests", + "blink_heap_unittests", + "blink_platform_unittests", + "capture_unittests", + "cast_unittests", + "cc_unittests", + "ced_unittests", + "chrome_app_unittests", + "color_unittests", + "components_unittests", + "compositor_unittests", + "content_unittests", + "courgette_unittests", + "crypto_unittests", + "csv_password_mojo_unittests", + "dawn_unittests", + "device_unittests", + "display_unittests", + "env_chromium_unittests", + "events_unittests", + "filesystem_service_unittests", + "flatbuffers_unittests", + "gfx_unittests", + "gin_unittests", + "gl_unittests", + "google_apis_unittests", + "gpu_unittests", + "gwp_asan_unittests", + "histogram_unittests", + "latency_unittests", + "leveldb_unittests", + "libaddressinput_unittests", + "libjingle_xmpp_unittests", + "libjpeg_turbo_unittests", + "libphonenumber_unittests", + "liburlpattern_unittests", + "media_unittests", + "media_learning_mojo_unittests", + "media_mojo_unittests", + "media_remoting_unittests", + "metrics_unittests", + "midi_unittests", + "mojo_unittests", + "native_theme_unittests", + "net_unittests", + "one_euro_filter_unittests", + "openscreen_unittests", + "perfetto_unittests", + "printing_unittests", + "remoting_unittests", + "sandbox_unittests", + "service_manager_unittests", + "services_unittests", + "shell_dialogs_unittests", + "skia_unittests", + "snapshot_unittests", + "sql_unittests", + "storage_unittests", + "test_cpp_including_rust_unittests", + "tint_unittests", + "ui_android_unittests", + "ui_base_unittests", + "ui_touch_selection_unittests", + "ukm_unittests", + "url_unittests", + "variations_unittests", + "viz_unittests", + "wtf_unittests", + "zlib_unittests", + ] + + if (is_android) { + contents += [ + "content_shell_test_apk", + "webview_ui_test_app_test_apk", + "aw_net_test_support_apk", + "mojo_test_apk", + "net_test_support_apk", + "system_webview_shell_layout_test_apk", + "media_router_test_support_apk", + "javascriptengine_test", + "webview_ui_test_app_test_apk", + "customtabs_benchmark_apk", + "default_locale_lint_test", + "new_api_lint_test", + + # Are these tests? + # "uiautomator_maps_go_webapk", + # "javatests_webapk", + ] + } + output_conversion = "json" +}