Commit 8f80ad0b authored by Brett Wilson's avatar Brett Wilson

Add lots of testonly annotations to the GN build.

BUG=
R=hclam@chromium.org

Review URL: https://codereview.chromium.org/547793002

Cr-Commit-Position: refs/heads/master@{#293774}
parent 50c219e6
...@@ -165,6 +165,7 @@ component("ash_with_content") { ...@@ -165,6 +165,7 @@ component("ash_with_content") {
} }
static_library("test_support") { static_library("test_support") {
testonly = true
sources = gypi_values.ash_test_support_sources sources = gypi_values.ash_test_support_sources
deps = [ deps = [
...@@ -198,6 +199,7 @@ static_library("test_support") { ...@@ -198,6 +199,7 @@ static_library("test_support") {
} }
static_library("ash_shell_lib") { static_library("ash_shell_lib") {
testonly = true
sources = gypi_values.ash_shell_lib_sources sources = gypi_values.ash_shell_lib_sources
deps = [ deps = [
...@@ -338,6 +340,7 @@ test("ash_unittests") { ...@@ -338,6 +340,7 @@ test("ash_unittests") {
} }
executable("ash_shell") { executable("ash_shell") {
testonly = true
sources = [ sources = [
"shell/shell_main.cc", "shell/shell_main.cc",
] ]
......
...@@ -1014,6 +1014,7 @@ source_set("prefs") { ...@@ -1014,6 +1014,7 @@ source_set("prefs") {
} }
source_set("prefs_test_support") { source_set("prefs_test_support") {
testonly = true
sources = [ sources = [
"prefs/mock_pref_change_callback.cc", "prefs/mock_pref_change_callback.cc",
"prefs/mock_pref_change_callback.h", "prefs/mock_pref_change_callback.h",
......
...@@ -9,6 +9,7 @@ if (is_android) { ...@@ -9,6 +9,7 @@ if (is_android) {
} }
source_set("test_support") { source_set("test_support") {
testonly = true
sources = [ sources = [
"expectations/expectation.cc", "expectations/expectation.cc",
"expectations/expectation.h", "expectations/expectation.h",
...@@ -134,6 +135,7 @@ config("perf_test_config") { ...@@ -134,6 +135,7 @@ config("perf_test_config") {
} }
source_set("test_support_perf") { source_set("test_support_perf") {
testonly = true
sources = [ sources = [
"run_all_perftests.cc", "run_all_perftests.cc",
] ]
...@@ -147,6 +149,7 @@ source_set("test_support_perf") { ...@@ -147,6 +149,7 @@ source_set("test_support_perf") {
} }
source_set("run_all_unittests") { source_set("run_all_unittests") {
testonly = true
sources = [ sources = [
"run_all_unittests.cc", "run_all_unittests.cc",
] ]
......
...@@ -495,6 +495,7 @@ component("cc") { ...@@ -495,6 +495,7 @@ component("cc") {
} }
source_set("test_support") { source_set("test_support") {
testonly = true
sources = [ sources = [
"test/animation_test_common.cc", "test/animation_test_common.cc",
"test/animation_test_common.h", "test/animation_test_common.h",
......
...@@ -35,6 +35,7 @@ static_library("browser") { ...@@ -35,6 +35,7 @@ static_library("browser") {
} }
static_library("test_support") { static_library("test_support") {
testonly = true
sources = [ sources = [
"data_reduction_proxy_params_test_utils.cc", "data_reduction_proxy_params_test_utils.cc",
"data_reduction_proxy_params_test_utils.h", "data_reduction_proxy_params_test_utils.h",
...@@ -54,6 +55,7 @@ static_library("test_support") { ...@@ -54,6 +55,7 @@ static_library("test_support") {
} }
source_set("unit_tests") { source_set("unit_tests") {
testonly = true
sources = [ sources = [
"data_reduction_proxy_auth_request_handler_unittest.cc", "data_reduction_proxy_auth_request_handler_unittest.cc",
"data_reduction_proxy_config_service_unittest.cc", "data_reduction_proxy_config_service_unittest.cc",
......
...@@ -15,6 +15,7 @@ static_library("proximity_auth") { ...@@ -15,6 +15,7 @@ static_library("proximity_auth") {
} }
source_set("unit_tests") { source_set("unit_tests") {
testonly = true
sources = [ sources = [
"proximity_auth_system_unittest.cc", "proximity_auth_system_unittest.cc",
] ]
......
...@@ -20,6 +20,7 @@ declare_args() { ...@@ -20,6 +20,7 @@ declare_args() {
} }
static_library("content_shell_lib") { static_library("content_shell_lib") {
testonly = true
sources = [ sources = [
"android/shell_jni_registrar.cc", "android/shell_jni_registrar.cc",
"android/shell_jni_registrar.h", "android/shell_jni_registrar.h",
...@@ -428,6 +429,7 @@ repack("pak") { ...@@ -428,6 +429,7 @@ repack("pak") {
} }
executable("content_shell") { executable("content_shell") {
testonly = true
# TODO(GYP) mac resource bundle stuff for this target. # TODO(GYP) mac resource bundle stuff for this target.
# TODO(GYP) Windows content shell settings: # TODO(GYP) Windows content shell settings:
# - Manifest. # - Manifest.
......
...@@ -14,6 +14,7 @@ content_tests_gypi_values = exec_script( ...@@ -14,6 +14,7 @@ content_tests_gypi_values = exec_script(
# GYP version //content/content_tests.gypi:test_support_content # GYP version //content/content_tests.gypi:test_support_content
static_library("test_support") { static_library("test_support") {
testonly = true
deps = [ deps = [
"//content/public/app:both", "//content/public/app:both",
"//content/public/browser", "//content/public/browser",
...@@ -139,6 +140,7 @@ if (!is_ios) { ...@@ -139,6 +140,7 @@ if (!is_ios) {
# GYP version //content/content_tests.gypi:layouttest_support_content # GYP version //content/content_tests.gypi:layouttest_support_content
static_library("layouttest_support") { static_library("layouttest_support") {
testonly = true
sources = rebase_path(content_tests_gypi_values.layouttest_support_content_sources, sources = rebase_path(content_tests_gypi_values.layouttest_support_content_sources,
".", "//content") ".", "//content")
......
...@@ -55,6 +55,7 @@ proto_library("test_proto") { ...@@ -55,6 +55,7 @@ proto_library("test_proto") {
# This target contains mocks that can be used to write unit tests without # This target contains mocks that can be used to write unit tests without
# issuing actual D-Bus calls. # issuing actual D-Bus calls.
source_set("test_support") { source_set("test_support") {
testonly = true
sources = [ sources = [
"mock_bus.cc", "mock_bus.cc",
"mock_bus.h", "mock_bus.h",
...@@ -111,6 +112,7 @@ test("dbus_unittests") { ...@@ -111,6 +112,7 @@ test("dbus_unittests") {
} }
executable("dbus_test_server") { executable("dbus_test_server") {
testonly = true
sources = [ sources = [
"test_server.cc", "test_server.cc",
"test_service.cc", "test_service.cc",
......
...@@ -55,6 +55,7 @@ grit("extensions_renderer_resources") { ...@@ -55,6 +55,7 @@ grit("extensions_renderer_resources") {
} }
source_set("test_support") { source_set("test_support") {
testonly = true
sources = [ sources = [
"browser/api/dns/mock_host_resolver_creator.cc", "browser/api/dns/mock_host_resolver_creator.cc",
"browser/api/dns/mock_host_resolver_creator.h", "browser/api/dns/mock_host_resolver_creator.h",
......
...@@ -169,6 +169,7 @@ source_set("google_apis") { ...@@ -169,6 +169,7 @@ source_set("google_apis") {
} }
source_set("test_support") { source_set("test_support") {
testonly = true
sources = [ sources = [
"gaia/fake_gaia.cc", "gaia/fake_gaia.cc",
"gaia/fake_gaia.h", "gaia/fake_gaia.h",
......
...@@ -67,6 +67,7 @@ proto_library("proto") { ...@@ -67,6 +67,7 @@ proto_library("proto") {
} }
static_library("test_support") { static_library("test_support") {
testonly = true
sources = [ sources = [
"base/fake_encryptor.cc", "base/fake_encryptor.cc",
"base/fake_encryptor.h", "base/fake_encryptor.h",
...@@ -89,6 +90,7 @@ static_library("test_support") { ...@@ -89,6 +90,7 @@ static_library("test_support") {
# A standalone MCS (mobile connection server) client. # A standalone MCS (mobile connection server) client.
executable("mcs_probe") { executable("mcs_probe") {
testonly = true
sources = [ sources = [
"tools/mcs_probe.cc", "tools/mcs_probe.cc",
] ]
......
...@@ -108,6 +108,7 @@ if (enable_webrtc || !is_android) { ...@@ -108,6 +108,7 @@ if (enable_webrtc || !is_android) {
# GYP version: jingle/jingle.gyp:jingle_unittests # GYP version: jingle/jingle.gyp:jingle_unittests
# TODO(GYP): Convert to executable when its dependencies are linkable. # TODO(GYP): Convert to executable when its dependencies are linkable.
source_set("jingle_unittests") { source_set("jingle_unittests") {
testonly = true
sources = [ sources = [
"glue/channel_socket_adapter_unittest.cc", "glue/channel_socket_adapter_unittest.cc",
"glue/chrome_async_socket_unittest.cc", "glue/chrome_async_socket_unittest.cc",
......
...@@ -169,6 +169,7 @@ source_set("receiver") { ...@@ -169,6 +169,7 @@ source_set("receiver") {
} }
source_set("test_support") { source_set("test_support") {
testonly = true
sources = [ sources = [
# TODO(hclam): FFmpeg. # TODO(hclam): FFmpeg.
# "test/fake_media_source.cc", # "test/fake_media_source.cc",
...@@ -283,6 +284,7 @@ test("cast_unittests") { ...@@ -283,6 +284,7 @@ test("cast_unittests") {
} }
executable("generate_barcode_video") { executable("generate_barcode_video") {
testonly = true
sources = [ sources = [
"test/utility/generate_barcode_video.cc", "test/utility/generate_barcode_video.cc",
] ]
...@@ -295,6 +297,7 @@ executable("generate_barcode_video") { ...@@ -295,6 +297,7 @@ executable("generate_barcode_video") {
} }
executable("generate_timecode_audio") { executable("generate_timecode_audio") {
testonly = true
sources = [ sources = [
"test/utility/generate_timecode_audio.cc", "test/utility/generate_timecode_audio.cc",
] ]
...@@ -307,6 +310,7 @@ executable("generate_timecode_audio") { ...@@ -307,6 +310,7 @@ executable("generate_timecode_audio") {
} }
executable("udp_proxy") { executable("udp_proxy") {
testonly = true
sources = [ sources = [
"test/utility/udp_proxy_main.cc", "test/utility/udp_proxy_main.cc",
] ]
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
# GYP version: mojo/mojo_base.gyp:mojo_run_all_unittests # GYP version: mojo/mojo_base.gyp:mojo_run_all_unittests
source_set("run_all_unittests") { source_set("run_all_unittests") {
testonly = true
deps = [ deps = [
":test_support_impl", ":test_support_impl",
"//base", "//base",
...@@ -18,6 +19,7 @@ source_set("run_all_unittests") { ...@@ -18,6 +19,7 @@ source_set("run_all_unittests") {
# GYP version: mojo/mojo_base.gyp:mojo_test_support_impl # GYP version: mojo/mojo_base.gyp:mojo_test_support_impl
source_set("test_support_impl") { source_set("test_support_impl") {
testonly = true
deps = [ deps = [
"//base", "//base",
] ]
...@@ -30,6 +32,7 @@ source_set("test_support_impl") { ...@@ -30,6 +32,7 @@ source_set("test_support_impl") {
# GYP version: mojo/mojo_base.gyp:mojo_common_test_support # GYP version: mojo/mojo_base.gyp:mojo_common_test_support
source_set("test_support") { source_set("test_support") {
testonly = true
deps = [ deps = [
"//base", "//base",
"//base/test:test_support", "//base/test:test_support",
......
...@@ -53,6 +53,7 @@ source_set("embedder") { ...@@ -53,6 +53,7 @@ source_set("embedder") {
source_set("embedder_unittests") { source_set("embedder_unittests") {
visibility = [ "//mojo/system:mojo_system_unittests" ] visibility = [ "//mojo/system:mojo_system_unittests" ]
testonly = true
deps = [ deps = [
"//base", "//base",
......
...@@ -6,6 +6,7 @@ import("//build/config/ui.gni") ...@@ -6,6 +6,7 @@ import("//build/config/ui.gni")
# GYP version: mojo/mojo_services.gypi:mojo_view_manager_run_unittests # GYP version: mojo/mojo_services.gypi:mojo_view_manager_run_unittests
source_set("run_unittests") { source_set("run_unittests") {
testonly = true
sources = [ sources = [
"view_manager_test_suite.cc", "view_manager_test_suite.cc",
"view_manager_test_suite.h", "view_manager_test_suite.h",
......
...@@ -594,6 +594,7 @@ static_library("http_server") { ...@@ -594,6 +594,7 @@ static_library("http_server") {
} }
executable("dump_cache") { executable("dump_cache") {
testonly = true
sources = [ sources = [
"tools/dump_cache/cache_dumper.cc", "tools/dump_cache/cache_dumper.cc",
"tools/dump_cache/cache_dumper.h", "tools/dump_cache/cache_dumper.h",
...@@ -618,6 +619,7 @@ executable("dump_cache") { ...@@ -618,6 +619,7 @@ executable("dump_cache") {
} }
source_set("test_support") { source_set("test_support") {
testonly = true
sources = [ sources = [
"base/capturing_net_log.cc", "base/capturing_net_log.cc",
"base/capturing_net_log.h", "base/capturing_net_log.h",
...@@ -798,6 +800,7 @@ if (use_v8_in_net) { ...@@ -798,6 +800,7 @@ if (use_v8_in_net) {
if (!is_ios && !is_android) { if (!is_ios && !is_android) {
executable("crash_cache") { executable("crash_cache") {
testonly = true
sources = [ "tools/crash_cache/crash_cache.cc" ] sources = [ "tools/crash_cache/crash_cache.cc" ]
configs += [ ":net_win_size_truncation" ] configs += [ ":net_win_size_truncation" ]
deps = [ deps = [
...@@ -808,6 +811,7 @@ if (!is_ios && !is_android) { ...@@ -808,6 +811,7 @@ if (!is_ios && !is_android) {
} }
executable("crl_set_dump") { executable("crl_set_dump") {
testonly = true
sources = [ "tools/crl_set_dump/crl_set_dump.cc" ] sources = [ "tools/crl_set_dump/crl_set_dump.cc" ]
configs += [ ":net_win_size_truncation" ] configs += [ ":net_win_size_truncation" ]
deps = [ deps = [
...@@ -817,6 +821,7 @@ if (!is_ios && !is_android) { ...@@ -817,6 +821,7 @@ if (!is_ios && !is_android) {
} }
executable("dns_fuzz_stub") { executable("dns_fuzz_stub") {
testonly = true
sources = [ "tools/dns_fuzz_stub/dns_fuzz_stub.cc" ] sources = [ "tools/dns_fuzz_stub/dns_fuzz_stub.cc" ]
configs += [ ":net_win_size_truncation" ] configs += [ ":net_win_size_truncation" ]
deps = [ deps = [
...@@ -826,6 +831,7 @@ if (!is_ios && !is_android) { ...@@ -826,6 +831,7 @@ if (!is_ios && !is_android) {
} }
executable("gdig") { executable("gdig") {
testonly = true
sources = [ sources = [
"tools/gdig/file_net_log.cc", "tools/gdig/file_net_log.cc",
"tools/gdig/gdig.cc", "tools/gdig/gdig.cc",
...@@ -837,6 +843,7 @@ if (!is_ios && !is_android) { ...@@ -837,6 +843,7 @@ if (!is_ios && !is_android) {
} }
executable("get_server_time") { executable("get_server_time") {
testonly = true
sources = [ "tools/get_server_time/get_server_time.cc" ] sources = [ "tools/get_server_time/get_server_time.cc" ]
configs += [ ":net_win_size_truncation" ] configs += [ ":net_win_size_truncation" ]
deps = [ deps = [
...@@ -849,6 +856,7 @@ if (!is_ios && !is_android) { ...@@ -849,6 +856,7 @@ if (!is_ios && !is_android) {
if (use_v8_in_net) { if (use_v8_in_net) {
executable("net_watcher") { executable("net_watcher") {
testonly = true
sources = [ "tools/net_watcher/net_watcher.cc" ] sources = [ "tools/net_watcher/net_watcher.cc" ]
deps = [ deps = [
":net", ":net",
...@@ -867,6 +875,7 @@ if (!is_ios && !is_android) { ...@@ -867,6 +875,7 @@ if (!is_ios && !is_android) {
} }
executable("run_testserver") { executable("run_testserver") {
testonly = true
sources = [ "tools/testserver/run_testserver.cc" ] sources = [ "tools/testserver/run_testserver.cc" ]
deps = [ deps = [
":net", # TODO(brettw) bug 363749: this shouldn't be necessary. It's not ":net", # TODO(brettw) bug 363749: this shouldn't be necessary. It's not
...@@ -879,6 +888,7 @@ if (!is_ios && !is_android) { ...@@ -879,6 +888,7 @@ if (!is_ios && !is_android) {
} }
executable("stress_cache") { executable("stress_cache") {
testonly = true
sources = [ "disk_cache/blockfile/stress_cache.cc" ] sources = [ "disk_cache/blockfile/stress_cache.cc" ]
configs += [ ":net_win_size_truncation" ] configs += [ ":net_win_size_truncation" ]
deps = [ deps = [
...@@ -912,6 +922,7 @@ if (is_linux) { ...@@ -912,6 +922,7 @@ if (is_linux) {
} }
static_library("flip_in_mem_edsm_server_base") { static_library("flip_in_mem_edsm_server_base") {
testonly = true
sources = [ sources = [
"tools/dump_cache/url_to_filename_encoder.cc", "tools/dump_cache/url_to_filename_encoder.cc",
"tools/dump_cache/url_to_filename_encoder.h", "tools/dump_cache/url_to_filename_encoder.h",
...@@ -955,6 +966,7 @@ if (is_linux) { ...@@ -955,6 +966,7 @@ if (is_linux) {
} }
executable("flip_in_mem_edsm_server_unittests") { executable("flip_in_mem_edsm_server_unittests") {
testonly = true
sources = [ sources = [
"tools/flip_server/flip_test_utils.cc", "tools/flip_server/flip_test_utils.cc",
"tools/flip_server/flip_test_utils.h", "tools/flip_server/flip_test_utils.h",
...@@ -974,6 +986,7 @@ if (is_linux) { ...@@ -974,6 +986,7 @@ if (is_linux) {
} }
executable("flip_in_mem_edsm_server") { executable("flip_in_mem_edsm_server") {
testonly = true
sources = [ "tools/flip_server/flip_in_mem_edsm_server.cc" ] sources = [ "tools/flip_server/flip_in_mem_edsm_server.cc" ]
deps = [ deps = [
":flip_in_mem_edsm_server_base", ":flip_in_mem_edsm_server_base",
...@@ -1062,6 +1075,7 @@ if (is_android) { ...@@ -1062,6 +1075,7 @@ if (is_android) {
if (is_android || is_linux) { if (is_android || is_linux) {
executable("disk_cache_memory_test") { executable("disk_cache_memory_test") {
testonly = true
sources = [ "tools/disk_cache_memory_test/disk_cache_memory_test.cc" ] sources = [ "tools/disk_cache_memory_test/disk_cache_memory_test.cc" ]
deps = [ deps = [
":net", ":net",
......
...@@ -786,6 +786,7 @@ component("ppapi_host") { ...@@ -786,6 +786,7 @@ component("ppapi_host") {
} }
static_library("ppapi_unittest_shared") { static_library("ppapi_unittest_shared") {
testonly = true
sources = [ sources = [
"proxy/ppapi_proxy_test.cc", "proxy/ppapi_proxy_test.cc",
"proxy/ppapi_proxy_test.h", "proxy/ppapi_proxy_test.h",
......
...@@ -76,6 +76,7 @@ source_set("rlz_lib") { ...@@ -76,6 +76,7 @@ source_set("rlz_lib") {
} }
source_set("test_support") { source_set("test_support") {
testonly = true
sources = [ sources = [
"test/rlz_test_helpers.cc", "test/rlz_test_helpers.cc",
"test/rlz_test_helpers.h", "test/rlz_test_helpers.h",
......
...@@ -709,6 +709,7 @@ static_library("test_support_sync_fake_server") { ...@@ -709,6 +709,7 @@ static_library("test_support_sync_fake_server") {
# GYP version: sync/sync_tests.gypi:test_support_sync_testserver # GYP version: sync/sync_tests.gypi:test_support_sync_testserver
static_library("test_support_sync_testserver") { static_library("test_support_sync_testserver") {
testonly = true
sources = [ sources = [
"test/local_sync_test_server.cc", "test/local_sync_test_server.cc",
"test/local_sync_test_server.h", "test/local_sync_test_server.h",
...@@ -730,6 +731,7 @@ static_library("test_support_sync_testserver") { ...@@ -730,6 +731,7 @@ static_library("test_support_sync_testserver") {
# GYP version: sync/sync_tests.gypi:test_support_accounts_client # GYP version: sync/sync_tests.gypi:test_support_accounts_client
static_library("test_support_accounts_client") { static_library("test_support_accounts_client") {
testonly = true
sources = [ sources = [
"test/accounts_client/test_accounts_client.cc", "test/accounts_client/test_accounts_client.cc",
"test/accounts_client/test_accounts_client.h", "test/accounts_client/test_accounts_client.h",
...@@ -759,6 +761,7 @@ test("sync_endtoend_tests") { ...@@ -759,6 +761,7 @@ test("sync_endtoend_tests") {
if (!is_ios) { if (!is_ios) {
# GYP version: sync/sync_tests.gypi:run_sync_testserver # GYP version: sync/sync_tests.gypi:run_sync_testserver
executable("run_sync_testserver") { executable("run_sync_testserver") {
testonly = true
sources = [ "tools/testserver/run_sync_testserver.cc" ] sources = [ "tools/testserver/run_sync_testserver.cc" ]
deps = [ deps = [
......
...@@ -142,6 +142,7 @@ component("aura") { ...@@ -142,6 +142,7 @@ component("aura") {
} }
source_set("test_support") { source_set("test_support") {
testonly = true
sources = [ sources = [
"test/aura_test_base.cc", "test/aura_test_base.cc",
"test/aura_test_base.h", "test/aura_test_base.h",
...@@ -209,6 +210,8 @@ source_set("test_support") { ...@@ -209,6 +210,8 @@ source_set("test_support") {
executable("demo") { executable("demo") {
output_name = "aura_demo" output_name = "aura_demo"
testonly = true
sources = [ sources = [
"demo/demo_main.cc", "demo/demo_main.cc",
] ]
...@@ -238,6 +241,8 @@ executable("demo") { ...@@ -238,6 +241,8 @@ executable("demo") {
executable("bench") { executable("bench") {
output_name = "aura_bench" output_name = "aura_bench"
testonly = true
sources = [ sources = [
"bench/bench_main.cc", "bench/bench_main.cc",
] ]
......
...@@ -78,6 +78,7 @@ component("compositor") { ...@@ -78,6 +78,7 @@ component("compositor") {
} }
source_set("test_support") { source_set("test_support") {
testonly = true
sources = [ sources = [
"test/context_factories_for_test.cc", "test/context_factories_for_test.cc",
"test/context_factories_for_test.h", "test/context_factories_for_test.h",
......
...@@ -364,6 +364,7 @@ component("gfx") { ...@@ -364,6 +364,7 @@ component("gfx") {
# Looking for gfx_geometry? It's //ui/gfx/geometry:geometry # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry
source_set("test_support") { source_set("test_support") {
testonly = true
sources = [ sources = [
"test/fontconfig_util_linux.cc", "test/fontconfig_util_linux.cc",
"test/fontconfig_util_linux.h", "test/fontconfig_util_linux.h",
......
...@@ -147,6 +147,7 @@ component("message_center") { ...@@ -147,6 +147,7 @@ component("message_center") {
} }
static_library("test_support") { static_library("test_support") {
testonly = true
sources = [ sources = [
"fake_message_center.h", "fake_message_center.h",
"fake_message_center.cc", "fake_message_center.cc",
......
...@@ -104,6 +104,7 @@ component("views") { ...@@ -104,6 +104,7 @@ component("views") {
} }
static_library("test_support") { static_library("test_support") {
testonly = true
sources = gypi_values.views_test_support_sources sources = gypi_values.views_test_support_sources
deps = [ deps = [
......
...@@ -40,6 +40,7 @@ component("webview") { ...@@ -40,6 +40,7 @@ component("webview") {
} }
source_set("test_support") { source_set("test_support") {
testonly = true
sources = [ sources = [
"../../test/webview_test_helper.cc", "../../test/webview_test_helper.cc",
"../../test/webview_test_helper.h", "../../test/webview_test_helper.h",
......
...@@ -93,6 +93,7 @@ component("wm") { ...@@ -93,6 +93,7 @@ component("wm") {
} }
static_library("test_support") { static_library("test_support") {
testonly = true
sources = [ sources = [
"test/wm_test_helper.cc", "test/wm_test_helper.cc",
"test/wm_test_helper.h", "test/wm_test_helper.h",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment