Index: mojom/BUILD.gn |
diff --git a/mojom/BUILD.gn b/mojom/BUILD.gn |
index 9ef24cb5cd084147657d3840f7e5173d0b659c32..e6d09f819e9b506209b525d402b409bae7ab0f62 100644 |
--- a/mojom/BUILD.gn |
+++ b/mojom/BUILD.gn |
@@ -6,9 +6,18 @@ import("//testing/test.gni") |
group("mojom") { |
testonly = true |
+ deps = [ |
+ ":tests", |
+ ] |
if (is_linux && defined(go_build_tool) && go_build_tool != "") { |
- deps = [ |
- "//mojom/mojom_parser", |
- ] |
+ deps += [ "//mojom/mojom_parser" ] |
+ } |
+} |
+ |
+group("tests") { |
+ testonly = true |
+ deps = [] |
+ if (is_linux && defined(go_build_tool) && go_build_tool != "") { |
+ deps += [ "//mojom/mojom_parser:serialization_test" ] |
} |
} |