Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Unified Diff: mojo/public/interfaces/bindings/tests/BUILD.gn

Issue 1821073002: Mojo bindings: Fix typemap includes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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") {

Powered by Google App Engine
This is Rietveld 408576698