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

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

Issue 2163793002: C bindings: Implement _Validate(), and some pre-requisites (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: address comments Created 4 years, 5 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 | « mojo/public/c/bindings/union.h ('k') | mojo/public/cpp/bindings/tests/validation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/bindings/tests/BUILD.gn
diff --git a/mojo/public/cpp/bindings/tests/BUILD.gn b/mojo/public/cpp/bindings/tests/BUILD.gn
index 143ab490bcbfb5f3dae66e0c3efcbcee59c63635..7c2b8dd280aeddcfb9e33feacb188f0e01a51d43 100644
--- a/mojo/public/cpp/bindings/tests/BUILD.gn
+++ b/mojo/public/cpp/bindings/tests/BUILD.gn
@@ -48,6 +48,7 @@ mojo_sdk_source_set("tests") {
deps = [
":mojo_public_bindings_test_utils",
+ ":validation_util",
"//testing/gtest",
]
@@ -86,6 +87,8 @@ mojo_sdk_source_set("perftests") {
]
}
+# TODO(vardhan): This should be testonly, but for that to happen, its
+# dependents (cython etc.) need also be testonly.
mojo_sdk_source_set("mojo_public_bindings_test_utils") {
sources = [
"validation_test_input_parser.cc",
@@ -95,6 +98,26 @@ mojo_sdk_source_set("mojo_public_bindings_test_utils") {
mojo_sdk_deps = [ "mojo/public/c/system" ]
}
+# TODO(vardhan): Merge with mojo_public_bindings_test_utils.
+mojo_sdk_source_set("validation_util") {
+ testonly = true
+
+ sources = [
+ "validation_util.cc",
+ "validation_util.h",
+ ]
+
+ mojo_sdk_deps = [
+ "mojo/public/c/system",
+ "mojo/public/cpp/test_support",
+ ]
+
+ deps = [
+ ":mojo_public_bindings_test_utils",
+ "//testing/gtest",
+ ]
+}
+
mojo_native_application("versioning_test_service") {
testonly = true
« no previous file with comments | « mojo/public/c/bindings/union.h ('k') | mojo/public/cpp/bindings/tests/validation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698