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

Unified Diff: mojo/edk/js/tests/BUILD.gn

Issue 2939663002: Revert of Moves mojo_js_integration_tests into blink. (Closed)
Patch Set: Created 3 years, 6 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/edk/js/tests/js_to_cpp.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/js/tests/BUILD.gn
diff --git a/mojo/edk/js/tests/BUILD.gn b/mojo/edk/js/tests/BUILD.gn
index b3b87392a8ccef5bf2900d1b982bc2039f96e084..21c9bfc4ba208c976f3e6cf560c0e79df3552c7c 100644
--- a/mojo/edk/js/tests/BUILD.gn
+++ b/mojo/edk/js/tests/BUILD.gn
@@ -15,8 +15,42 @@
group("tests") {
testonly = true
deps = [
+ ":mojo_js_integration_tests",
":mojo_js_unittests",
]
+}
+
+test("mojo_js_integration_tests") {
+ deps = [
+ ":js_to_cpp_bindings",
+ "//base/test:test_support",
+ "//gin:gin_test",
+ "//mojo/common",
+ "//mojo/edk/js",
+ "//mojo/edk/test:run_all_unittests",
+ "//mojo/public/cpp/bindings",
+ "//mojo/public/cpp/system",
+ "//mojo/public/js:bindings",
+ ]
+
+ sources = [
+ "js_to_cpp_tests.cc",
+ ]
+
+ data = [
+ "js_to_cpp_tests.js",
+ ]
+
+ configs += [ "//v8:external_startup_data" ]
+}
+
+mojom("js_to_cpp_bindings") {
+ sources = [
+ "js_to_cpp.mojom",
+ ]
+
+ # TODO(crbug.com/699569): Convert to use the new JS bindings.
+ use_new_js_bindings = false
}
test("mojo_js_unittests") {
« no previous file with comments | « no previous file | mojo/edk/js/tests/js_to_cpp.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698