blob: 1338e42fee5cd656459f0b4f86f755bfe0326089 [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",
23 "//components/app_constants",
24 "//components/app_restore",
25 "//content/public/browser",
26 ]
27}
28
29source_set("unit_tests") {
30 testonly = true
31
32 sources = [ "chrome_tab_strip_delegate_unittest.cc" ]
33
34 deps = [
35 ":boca",
36 "//ash",
37 "//ash:test_support",
38 "//ash/constants",
39 "//base",
40 "//chrome/common",
41 "//chrome/test:test_support",
42 "//chromeos/ui/base",
43 "//testing/gmock",
44 "//testing/gtest",
45 ]
46}
47
48source_set("browser_tests") {
49 testonly = true
50
51 defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
52
53 sources = [ "chrome_tab_strip_delegate_browsertest.cc" ]
54
55 deps = [
56 ":boca",
57 "//ash",
58 "//ash/constants",
59 "//ash/public/cpp",
60 "//base",
61 "//chrome/browser/ui",
62 "//chrome/browser/ui/ash",
63 "//chrome/test:test_support",
64 "//components/prefs",
65 "//content/test:test_support",
66 "//testing/gtest",
67 ]
68}