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

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

Issue 2891193002: Mojo JS bindings: switch all mojo/ layout tests to use the new mode. (Closed)
Patch Set: . Created 3 years, 7 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
« no previous file with comments | « no previous file | mojo/public/js/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9eb3bd12b778173f93e582757d012321611252bb..9cd84d43fc89d4baf5edcd2e0af4c25c91939db0 100644
--- a/mojo/public/interfaces/bindings/tests/BUILD.gn
+++ b/mojo/public/interfaces/bindings/tests/BUILD.gn
@@ -69,6 +69,7 @@ mojom("test_interfaces") {
":test_mojom_import",
":test_mojom_import2",
]
+ use_new_js_bindings = true
# TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
use_once_callback = false
@@ -108,6 +109,7 @@ mojom("test_export") {
if (!is_ios) {
visibility_blink = [ ":test_export_blink_component" ]
}
+ use_new_js_bindings = true
}
mojom("test_exported_import") {
@@ -125,6 +127,7 @@ mojom("test_exported_import") {
overridden_deps_blink = [ ":test_export" ]
component_deps_blink = [ ":test_export_blink_component" ]
}
+ use_new_js_bindings = true
}
# Used to test that it is okay to call mojom::Foo::Serialize()/Deserialize()
@@ -150,6 +153,7 @@ mojom("test_export2") {
export_define = "MOJO_TEST_IMPLEMENTATION=1"
export_header = "mojo/public/cpp/bindings/tests/mojo_test_export.h"
visibility = [ ":test_export_component2" ]
+ use_new_js_bindings = true
}
mojom("test_mojom_import") {
@@ -157,6 +161,7 @@ mojom("test_mojom_import") {
sources = [
"sample_import.mojom",
]
+ use_new_js_bindings = true
}
mojom("test_mojom_import_wrapper") {
@@ -182,6 +187,7 @@ mojom("test_mojom_import2") {
":test_mojom_import",
":test_mojom_import_wrapper_wrapper",
]
+ use_new_js_bindings = true
}
mojom("test_struct_traits_interfaces") {
@@ -190,6 +196,8 @@ mojom("test_struct_traits_interfaces") {
"struct_with_traits.mojom",
]
+ use_new_js_bindings = true
+
# TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
use_once_callback = false
}
@@ -207,6 +215,8 @@ mojom("test_associated_interfaces") {
":test_interfaces",
]
+ use_new_js_bindings = true
+
# TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
use_once_callback = false
}
@@ -216,6 +226,7 @@ mojom("versioning_test_service_interfaces") {
sources = [
"versioning_test_service.mojom",
]
+ use_new_js_bindings = true
}
mojom("versioning_test_client_interfaces") {
@@ -223,6 +234,7 @@ mojom("versioning_test_client_interfaces") {
sources = [
"versioning_test_client.mojom",
]
+ use_new_js_bindings = true
}
mojom("test_wtf_types") {
@@ -232,6 +244,8 @@ mojom("test_wtf_types") {
"test_wtf_types.mojom",
]
+ use_new_js_bindings = true
+
# TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
use_once_callback = false
}
« no previous file with comments | « no previous file | mojo/public/js/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698