| # Copyright 2021 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| assert(is_fuchsia) |
| |
| # Only allow use by WebEngine-related Fuchsia targets. |
| visibility = [ "//fuchsia_web/*" ] |
| |
| source_set("test_support") { |
| testonly = true |
| sources = [ |
| "fake_feedback_service.cc", |
| "fake_feedback_service.h", |
| "fit_adapter.h", |
| "frame_for_test.cc", |
| "frame_for_test.h", |
| "frame_test_util.cc", |
| "frame_test_util.h", |
| "test_debug_listener.cc", |
| "test_debug_listener.h", |
| "test_devtools_list_fetcher.cc", |
| "test_devtools_list_fetcher.h", |
| "test_navigation_listener.cc", |
| "test_navigation_listener.h", |
| "test_realm_support.cc", |
| "test_realm_support.h", |
| "url_request_rewrite_test_util.cc", |
| "url_request_rewrite_test_util.h", |
| ] |
| public_deps = [ |
| "//base", |
| "//third_party/abseil-cpp:absl", |
| "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.feedback:fuchsia.feedback_hlcpp", |
| "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.mem:fuchsia.mem_hlcpp", |
| "//third_party/fuchsia-sdk/sdk/fidl/fuchsia.web:fuchsia.web_hlcpp", |
| "//third_party/fuchsia-sdk/sdk/pkg/fidl_cpp", |
| "//third_party/fuchsia-sdk/sdk/pkg/fit", |
| "//third_party/fuchsia-sdk/sdk/pkg/sys_component_cpp_testing", |
| ] |
| deps = [ |
| "//fuchsia_web/common", |
| "//net", |
| "//net:test_support", |
| "//net/traffic_annotation:test_support", |
| "//testing/gtest", |
| "//third_party/fuchsia-sdk/sdk/pkg/fidl_cpp_base", |
| "//third_party/fuchsia-sdk/sdk/pkg/sys_cpp", |
| "//url", |
| ] |
| } |
| |
| static_library("run_all_integration_tests") { |
| testonly = true |
| visibility = [] |
| visibility += [ |
| "//fuchsia_web/runners/*", |
| "//fuchsia_web/webengine/*", |
| ] |
| sources = [ "run_all_integration_tests.cc" ] |
| deps = [ "//base/test:test_support" ] |
| } |