| 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",
|
| + ]
|
| + }
|
| +}
|
|
|