| # 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("pip") { |
| sources = [ |
| "arc_picture_in_picture_window_controller_impl.cc", |
| "arc_picture_in_picture_window_controller_impl.h", |
| "arc_pip_bridge.cc", |
| "arc_pip_bridge.h", |
| ] |
| |
| public_deps = [ "//chrome/browser:browser_public_dependencies" ] |
| |
| deps = [ |
| "//base", |
| "//chrome/browser/picture_in_picture", |
| "//chromeos/ash/experiences/arc", |
| "//chromeos/ui/base", |
| "//components/keyed_service/core", |
| "//content/public/browser", |
| "//ui/aura", |
| "//ui/gfx", |
| ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| |
| sources = [ "arc_pip_bridge_unittest.cc" ] |
| |
| deps = [ |
| ":pip", |
| "//chrome/test:test_support", |
| "//chromeos/ash/experiences/arc", |
| "//chromeos/ash/experiences/arc:arc_test_support", |
| "//content/test:test_support", |
| "//testing/gtest", |
| ] |
| } |