| # 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/ui_mode.gni") |
| |
| assert(is_chromeos) |
| |
| static_library("chromeos") { |
| sources = [ "window_pin_util.h" ] |
| |
| deps = [ "//chromeos/ui/base" ] |
| } |
| |
| static_library("test_support") { |
| testonly = true |
| |
| sources = [ |
| "test_util.cc", |
| "test_util.h", |
| ] |
| |
| deps = [ |
| ":chromeos", |
| "//base/test:test_support", |
| "//chrome/browser", |
| "//chrome/browser/ui", |
| "//chrome/browser/ui/exclusive_access", |
| "//chrome/test:test_support", |
| "//chrome/test:test_support_ui", |
| "//chromeos/ui/base", |
| "//content/public/browser", |
| "//ui/aura", |
| "//ui/display", |
| "//ui/views:test_support", |
| ] |
| |
| allow_circular_includes_from = [ "//chrome/test:test_support" ] |
| |
| if (is_chromeos_ash) { |
| deps += [ |
| "//ash", |
| "//ash/constants", |
| "//ash/public/cpp", |
| "//chrome/browser/ash/crosapi:test_support", |
| ] |
| } else { |
| deps += [ |
| "//base/test:test_support", |
| "//chromeos/crosapi/mojom", |
| "//chromeos/lacros", |
| ] |
| } |
| } |