| 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 6e6d24c558144971e344149efa65e41e4d965d60..3e4bb64720417f4f59c469e8d318c665dd8cc48f 100644
|
| --- a/mojo/public/interfaces/bindings/tests/BUILD.gn
|
| +++ b/mojo/public/interfaces/bindings/tests/BUILD.gn
|
| @@ -4,26 +4,29 @@
|
|
|
| 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 = [
|
| - "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_structs.mojom",
|
| - "test_sync_methods.mojom",
|
| - "validation_test_interfaces.mojom",
|
| - ]
|
| + sources = test_interfaces_mojom
|
| }
|
|
|
| mojom("test_struct_traits_interfaces") {
|
| @@ -53,16 +56,14 @@ mojom("test_associated_interfaces") {
|
| }
|
|
|
| mojom("versioning_test_service_interfaces") {
|
| - # FIXME: Dart packaged applications cannot depend on testonly mojoms.
|
| - # testonly = true
|
| + testonly = true
|
| sources = [
|
| "versioning_test_service.mojom",
|
| ]
|
| }
|
|
|
| mojom("versioning_test_client_interfaces") {
|
| - # FIXME: Dart packaged applications cannot depend on testonly mojoms.
|
| - # testonly = true
|
| + testonly = true
|
| sources = [
|
| "versioning_test_client.mojom",
|
| ]
|
| @@ -71,31 +72,19 @@ mojom("versioning_test_client_interfaces") {
|
| mojom("test_interfaces_chromium") {
|
| testonly = true
|
|
|
| - sources = [
|
| - "test_native_types.mojom",
|
| - ]
|
| + sources = test_interfaces_mojom
|
|
|
| variant = "chromium"
|
| typemaps = [ "chromium_test.typemap" ]
|
| -
|
| - public_deps = [
|
| - ":test_interfaces",
|
| - ]
|
| }
|
|
|
| mojom("test_interfaces_blink") {
|
| testonly = true
|
|
|
| - sources = [
|
| - "test_native_types.mojom",
|
| - ]
|
| + sources = test_interfaces_mojom
|
|
|
| variant = "blink"
|
| typemaps = [ "blink_test.typemap" ]
|
| -
|
| - public_deps = [
|
| - ":test_interfaces",
|
| - ]
|
| }
|
|
|
| mojom("test_wtf_types") {
|
|
|