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 46c2e50da6c75375885397f167fe866b7b88d9de..c38d27ee2200822ceb6d4eac4edfccb20b81a401 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 |
@@ -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_application.gni") |
import("../../../mojo_sdk.gni") |
mojo_sdk_source_set("tests") { |
@@ -15,6 +16,7 @@ mojo_sdk_source_set("tests") { |
"buffer_unittest.cc", |
"callback_unittest.cc", |
"connector_unittest.cc", |
+ "constant_unittest.cc", |
"container_test_util.cc", |
"equals_unittest.cc", |
"handle_passing_unittest.cc", |
@@ -54,3 +56,53 @@ mojo_sdk_source_set("mojo_public_bindings_test_utils") { |
mojo_sdk_deps = [ "mojo/public/c/system" ] |
} |
+ |
+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", |
+ ] |
+} |