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

Unified Diff: third_party/mojo/src/mojo/public/cpp/bindings/tests/BUILD.gn

Issue 1157843002: Update mojo sdk to rev 1dc8a9a5db73d3718d99917fadf31f5fb2ebad4f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: third_party/mojo/src/mojo/public/cpp/bindings/tests/BUILD.gn
diff --git a/third_party/mojo/src/mojo/public/cpp/bindings/tests/BUILD.gn b/third_party/mojo/src/mojo/public/cpp/bindings/tests/BUILD.gn
index 9ebd6f50b936807f815a27fd934afa90ec582268..bb94bc2238cc37aa7bfd619558dfd054aef0f97b 100644
--- a/third_party/mojo/src/mojo/public/cpp/bindings/tests/BUILD.gn
+++ b/third_party/mojo/src/mojo/public/cpp/bindings/tests/BUILD.gn
@@ -4,6 +4,7 @@
import("../../../mojo_application.gni")
import("../../../mojo_sdk.gni")
+import("../../../mojo.gni")
mojo_sdk_source_set("tests") {
testonly = true
@@ -29,6 +30,7 @@ mojo_sdk_source_set("tests") {
"string_unittest.cc",
"struct_unittest.cc",
"type_conversion_unittest.cc",
+ "union_unittest.cc",
"validation_unittest.cc",
]
@@ -45,6 +47,7 @@ mojo_sdk_source_set("tests") {
"mojo/public/cpp/test_support:test_utils",
"mojo/public/cpp/utility",
"mojo/public/interfaces/bindings/tests:test_interfaces",
+ "mojo/public/interfaces/bindings/tests:test_interfaces_experimental",
]
}
@@ -56,3 +59,55 @@ mojo_sdk_source_set("mojo_public_bindings_test_utils") {
mojo_sdk_deps = [ "mojo/public/c/system" ]
}
+
+if (mojo_use_application_in_sdk) {
+ mojo_native_application("versioning_test_service") {
+ testonly = true
+
+ deps = [
+ ":versioning_test_service_source_set",
+ ]
+ }
+
+ mojo_sdk_source_set("versioning_test_service_source_set") {
+ testonly = true
+ visibility = [ ":*" ]
+
+ sources = [
+ "versioning_test_service.cc",
+ ]
+
+ mojo_sdk_deps = [
+ "mojo/public/cpp/application:standalone",
+ "mojo/public/cpp/bindings",
+ "mojo/public/cpp/system",
+ "mojo/public/interfaces/bindings/tests:versioning_test_service_interfaces",
+ ]
+ }
+
+ mojo_native_application("versioning_apptests") {
+ testonly = true
+
+ deps = [
+ ":versioning_apptest_source_set",
+ ]
+ data_deps = [ ":versioning_test_service" ]
+ }
+
+ mojo_sdk_source_set("versioning_apptest_source_set") {
+ testonly = true
+ visibility = [ ":*" ]
+
+ sources = [
+ "versioning_apptest.cc",
+ ]
+
+ mojo_sdk_deps = [
+ "mojo/public/cpp/application:standalone",
+ "mojo/public/cpp/application:test_support_standalone",
+ "mojo/public/cpp/bindings",
+ "mojo/public/cpp/system",
+ "mojo/public/interfaces/bindings/tests:versioning_test_client_interfaces",
+ ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698