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

Unified Diff: mojo/public/BUILD.gn

Issue 2244503002: mojo/public: Include gtest.h as "gtest/gtest.h", instead of via "absolute" path. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | mojo/public/c/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/BUILD.gn
diff --git a/mojo/public/BUILD.gn b/mojo/public/BUILD.gn
index 1de956f7b1370a70e30da6600c488b1f34ec16f0..4c9bb3d8f8009810df881b57bc0be084ef139443 100644
--- a/mojo/public/BUILD.gn
+++ b/mojo/public/BUILD.gn
@@ -56,3 +56,13 @@ static_library("libmojo_sdk") {
":sdk",
]
}
+
+# "Forwarding" target, to make it easy to put gtest wherever you want.
+# TODO(vtl): Maybe this should be parametrized and made into
+# //build/module_args/mojo.gni (but maybe that's overkill).
+group("gtest") {
+ testonly = true
+ public_deps = [
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « no previous file | mojo/public/c/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698