| # Copyright 2025 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/rust/rust_static_library.gni") |
| import("//testing/test.gni") |
| |
| group("all") { |
| # Meta target, don't depend on it from production code |
| testonly = true |
| deps = [ |
| ":tests", |
| "bindings", |
| "mojom_value_parser", |
| "sequences", |
| "system", |
| ] |
| } |
| |
| # Run by the //mojo:mojo_unittests target |
| group("tests") { |
| testonly = true |
| |
| # These tests don't work on all configurations yet, but we need to |
| # run them as part of this target so we can share its gtest setup. So |
| # enable them for at least one known-good configuration. |
| if (!is_cfi) { |
| deps = [ |
| "bindings/test:bindings_unittests", |
| "mojom_value_parser:mojom_value_parser_unittests", |
| "sequences:rust_sequences_unittests", |
| "system:ffi_unittests", |
| "system:system_bindings_unittests", |
| "tests:testing_mojom_rust", |
| ] |
| } |
| } |