Allen Bauer | 66dc0e14 | 2023-09-12 01:08:29 | [diff] [blame] | 1 | # Copyright 2023 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 | |
| 5 | import("//build/buildflag_header.gni") |
| 6 | import("//testing/test.gni") |
| 7 | |
| 8 | test("ui_unittests") { |
| 9 | sources = [ "run_all_unittests.cc" ] |
| 10 | |
| 11 | deps = [ |
| 12 | "//base/test:test_support", |
| 13 | "//testing/gtest", |
Joseph Park | f1147f74 | 2024-10-18 17:39:17 | [diff] [blame] | 14 | "//ui/base", |
Zoraiz Naeem | badbeda | 2025-03-03 22:15:03 | [diff] [blame] | 15 | "//ui/color:unit_tests", |
Joseph Park | f1147f74 | 2024-10-18 17:39:17 | [diff] [blame] | 16 | "//ui/menus:unit_tests", |
Allen Bauer | 66dc0e14 | 2023-09-12 01:08:29 | [diff] [blame] | 17 | ] |
| 18 | |
| 19 | if (!is_ios && !is_android && !is_castos) { |
| 20 | deps += [ "//ui/actions:unit_tests" ] |
| 21 | } |
Sam Fortiner | 8f5c469 | 2023-11-30 23:07:39 | [diff] [blame] | 22 | |
Joseph Park | f1147f74 | 2024-10-18 17:39:17 | [diff] [blame] | 23 | if (is_mac) { |
| 24 | deps += [ "//ui/base:ui_unittests_framework" ] |
| 25 | } |
Allen Bauer | 66dc0e14 | 2023-09-12 01:08:29 | [diff] [blame] | 26 | } |