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

Unified Diff: third_party/WebKit/Source/core/mojo/BUILD.gn

Issue 2920383004: Reland 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 | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/mojo/tests/JsToCpp.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/mojo/BUILD.gn
diff --git a/third_party/WebKit/Source/core/mojo/BUILD.gn b/third_party/WebKit/Source/core/mojo/BUILD.gn
index d28d6fed806523c7e4737d98b8ea45e2bf17414f..fb415713f7212c43e9ba8ba8d9e948498af92adb 100644
--- a/third_party/WebKit/Source/core/mojo/BUILD.gn
+++ b/third_party/WebKit/Source/core/mojo/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//mojo/public/tools/bindings/mojom.gni")
import("//third_party/WebKit/Source/core/core.gni")
blink_core_sources("mojo") {
@@ -18,3 +19,39 @@
"//mojo/public/cpp/system",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "tests/JsToCppTest.cpp",
+ ]
+
+ data = [
+ "tests/JsToCppTest.js",
+ ]
+
+ configs += [
+ "//third_party/WebKit/Source/core:blink_core_pch",
+ "//third_party/WebKit/Source:config",
+ "//third_party/WebKit/Source:inside_blink",
+ ]
+
+ deps = [
+ ":test_bindings_blink",
+ "//mojo/public/cpp/bindings",
+ "//testing/gtest",
+ "//third_party/WebKit/Source/core:core",
+ "//third_party/WebKit/Source/core:testing",
+ ]
+
+ data_deps = [
+ ":test_bindings", # For JS bindings: crbug.com/729649.
+ "//mojo/public/js:new_bindings",
+ ]
+}
+
+mojom("test_bindings") {
+ sources = [
+ "tests/JsToCpp.mojom",
+ ]
+}
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/mojo/tests/JsToCpp.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698