| # Copyright 2023 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ |
| "opener_heuristic_metrics_unittest.cc", |
| "opener_heuristic_utils_unittest.cc", |
| ] |
| |
| deps = [ |
| "//base", |
| "//chrome/browser", |
| "//testing/gtest", |
| ] |
| } |
| |
| source_set("browser_tests") { |
| testonly = true |
| sources = [ "opener_heuristic_browsertest.cc" ] |
| |
| defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| |
| deps = [ |
| "//base", |
| "//chrome/browser", |
| "//chrome/test:test_support", |
| "//components/ukm:test_support", |
| "//content/test:test_support", |
| "//net:test_support", |
| "//testing/gtest", |
| ] |
| } |