| Index: mojo/public/interfaces/bindings/tests/BUILD.gn
|
| diff --git a/mojo/public/interfaces/bindings/tests/BUILD.gn b/mojo/public/interfaces/bindings/tests/BUILD.gn
|
| index 3e4bb64720417f4f59c469e8d318c665dd8cc48f..d9652f8d8682475b8a42ff85f009eec1d3c90179 100644
|
| --- a/mojo/public/interfaces/bindings/tests/BUILD.gn
|
| +++ b/mojo/public/interfaces/bindings/tests/BUILD.gn
|
| @@ -4,29 +4,63 @@
|
|
|
| import("../../../tools/bindings/mojom.gni")
|
|
|
| -test_interfaces_mojom = [
|
| - "math_calculator.mojom",
|
| - "no_module.mojom",
|
| - "ping_service.mojom",
|
| - "rect.mojom",
|
| - "regression_tests.mojom",
|
| - "sample_factory.mojom",
|
| - "sample_import.mojom",
|
| - "sample_import2.mojom",
|
| - "sample_interfaces.mojom",
|
| - "sample_service.mojom",
|
| - "scoping.mojom",
|
| - "serialization_test_structs.mojom",
|
| - "test_constants.mojom",
|
| - "test_native_types.mojom",
|
| - "test_structs.mojom",
|
| - "test_sync_methods.mojom",
|
| - "validation_test_interfaces.mojom",
|
| -]
|
| -
|
| mojom("test_interfaces") {
|
| testonly = true
|
| - sources = test_interfaces_mojom
|
| + sources = [
|
| + "math_calculator.mojom",
|
| + "no_module.mojom",
|
| + "ping_service.mojom",
|
| + "rect.mojom",
|
| + "regression_tests.mojom",
|
| + "sample_factory.mojom",
|
| + "sample_interfaces.mojom",
|
| + "sample_service.mojom",
|
| + "scoping.mojom",
|
| + "serialization_test_structs.mojom",
|
| + "test_constants.mojom",
|
| + "test_native_types.mojom",
|
| + "test_structs.mojom",
|
| + "test_sync_methods.mojom",
|
| + "test_variant.mojom",
|
| + "test_variant_import.mojom",
|
| + "validation_test_interfaces.mojom",
|
| + ]
|
| + public_deps = [
|
| + ":test_mojom_import",
|
| + ":test_mojom_import2",
|
| + ]
|
| +}
|
| +
|
| +mojom("test_mojom_import") {
|
| + testonly = true
|
| + sources = [
|
| + "sample_import.mojom",
|
| + ]
|
| +}
|
| +
|
| +mojom("test_mojom_import_wrapper") {
|
| + testonly = true
|
| + public_deps = [
|
| + ":test_mojom_import",
|
| + ]
|
| +}
|
| +
|
| +mojom("test_mojom_import_wrapper_wrapper") {
|
| + testonly = true
|
| + public_deps = [
|
| + ":test_mojom_import_wrapper",
|
| + ]
|
| +}
|
| +
|
| +mojom("test_mojom_import2") {
|
| + testonly = true
|
| + public_deps = [
|
| + ":test_mojom_import",
|
| + ":test_mojom_import_wrapper_wrapper",
|
| + ]
|
| + sources = [
|
| + "sample_import2.mojom",
|
| + ]
|
| }
|
|
|
| mojom("test_struct_traits_interfaces") {
|
| @@ -34,8 +68,6 @@ mojom("test_struct_traits_interfaces") {
|
| sources = [
|
| "struct_with_traits.mojom",
|
| ]
|
| -
|
| - typemaps = [ "struct_with_traits.typemap" ]
|
| }
|
|
|
| mojom("test_interfaces_experimental") {
|
| @@ -69,24 +101,6 @@ mojom("versioning_test_client_interfaces") {
|
| ]
|
| }
|
|
|
| -mojom("test_interfaces_chromium") {
|
| - testonly = true
|
| -
|
| - sources = test_interfaces_mojom
|
| -
|
| - variant = "chromium"
|
| - typemaps = [ "chromium_test.typemap" ]
|
| -}
|
| -
|
| -mojom("test_interfaces_blink") {
|
| - testonly = true
|
| -
|
| - sources = test_interfaces_mojom
|
| -
|
| - variant = "blink"
|
| - typemaps = [ "blink_test.typemap" ]
|
| -}
|
| -
|
| mojom("test_wtf_types") {
|
| testonly = true
|
|
|
| @@ -95,24 +109,10 @@ mojom("test_wtf_types") {
|
| ]
|
| }
|
|
|
| -mojom("test_wtf_types_blink") {
|
| +mojom("test_no_sources") {
|
| testonly = true
|
|
|
| - sources = [
|
| - "test_wtf_types.mojom",
|
| - ]
|
| -
|
| - for_blink = true
|
| - variant = "blink"
|
| -}
|
| -
|
| -mojom("test_variant") {
|
| - testonly = true
|
| -
|
| - sources = [
|
| - "test_variant.mojom",
|
| - "test_variant_import.mojom",
|
| + public_deps = [
|
| + ":test_interfaces",
|
| ]
|
| -
|
| - variant = "variant_test"
|
| }
|
|
|