| # Copyright 2024 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/args.gni") |
| |
| assert(is_win || is_mac || is_linux || is_chromeos) |
| |
| source_set("hung_renderer") { |
| sources = [ |
| "hung_renderer_core.cc", |
| "hung_renderer_core.h", |
| ] |
| deps = [ |
| "//base", |
| "//base:i18n", |
| "//chrome/app:generated_resources", |
| "//chrome/browser/ui/tab_contents", |
| "//components/url_formatter", |
| "//content/public/browser", |
| "//ui/base", |
| "//url", |
| ] |
| } |
| |
| if (!is_chromeos_device) { |
| source_set("interactive_ui_tests") { |
| testonly = true |
| defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ] |
| sources = [ "hung_renderer_interactive_uitest.cc" ] |
| deps = [ |
| "//chrome/browser:primitives", |
| "//chrome/browser/ui/tabs:tab_strip", |
| "//chrome/test:test_support", |
| "//chrome/test:test_support_ui", |
| "//content/public/browser", |
| "//content/test:test_support", |
| "//net:test_support", |
| "//ui/base:buildflags", |
| ] |
| } |
| } |