chromium/chrome/browser/preloading/prerender/BUILD.gn

# 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.

import("//build/config/chromeos/ui_mode.gni")

source_set("browser_tests") {
  testonly = true

  sources = [
    "omnibox_prerender_browsertest.cc",
    "prerender_browsertest.cc",
  ]

  defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]

  deps = [
    "//base/test:test_support",
    "//chrome/browser/search_engines",
    "//chrome/test:test_support",
    "//components/page_load_metrics/browser:browser",
  ]

  data = [ "//chrome/test/data/" ]
}

source_set("unit_tests") {
  testonly = true

  sources = [ "prerender_manager_unittest.cc" ]

  deps = [
    "//chrome/test:test_support",
    "//content/test:test_support",
  ]
}