blob: 6d0107124f19fb1484fc7dbb9505f6e33a73391d [file] [log] [blame]
April Zhou9379fd72024-07-25 18:10:151# Copyright 2024 The Chromium Authors
2# Use of this source code is governed by a BSD - style license that can be
3# found in the LICENSE file.
4
5import("//build/config/chromeos/ui_mode.gni")
6
7assert(is_chromeos_ash)
8
9static_library("boca") {
10 sources = [
11 "chrome_tab_strip_delegate.cc",
12 "chrome_tab_strip_delegate.h",
13 ]
14
Eriko Kurimoto2210a3a32024-08-14 01:12:3015 public_deps = [ "//chrome/browser:browser_public_dependencies" ]
16
April Zhou9379fd72024-07-25 18:10:1517 deps = [
18 "//ash",
19 "//ash/constants",
20 "//ash/public/cpp",
21 "//base",
22 "//chrome/browser/favicon",
Maksim Sisovb37f8092024-10-01 09:13:1423 "//chrome/browser/ui/tabs",
24 "//chrome/browser/ui/tabs:tab_strip",
April Zhou9379fd72024-07-25 18:10:1525 "//components/app_constants",
26 "//components/app_restore",
27 "//content/public/browser",
28 ]
29}
30
31source_set("unit_tests") {
32 testonly = true
33
34 sources = [ "chrome_tab_strip_delegate_unittest.cc" ]
35
36 deps = [
37 ":boca",
38 "//ash",
39 "//ash:test_support",
40 "//ash/constants",
41 "//base",
42 "//chrome/common",
43 "//chrome/test:test_support",
44 "//chromeos/ui/base",
45 "//testing/gmock",
46 "//testing/gtest",
47 ]
48}
49
50source_set("browser_tests") {
51 testonly = true
52
53 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
54
55 sources = [ "chrome_tab_strip_delegate_browsertest.cc" ]
56
57 deps = [
58 ":boca",
59 "//ash",
60 "//ash/constants",
61 "//ash/public/cpp",
62 "//base",
63 "//chrome/browser/ui",
64 "//chrome/browser/ui/ash",
65 "//chrome/test:test_support",
66 "//components/prefs",
67 "//content/test:test_support",
68 "//testing/gtest",
69 ]
70}