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

Unified Diff: mojo/public/cpp/application/BUILD.gn

Issue 695593002: Add Chromium environment application test support. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Sync and rebase. Created 6 years, 2 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/environment/environment.cc ('k') | mojo/public/cpp/application/lib/application_test_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/application/BUILD.gn
diff --git a/mojo/public/cpp/application/BUILD.gn b/mojo/public/cpp/application/BUILD.gn
index 83dc136c30df608e5e9c58b355f2b3238728daea..5d8fa0800e80f24580546c3b5185f803ee74f6cd 100644
--- a/mojo/public/cpp/application/BUILD.gn
+++ b/mojo/public/cpp/application/BUILD.gn
@@ -48,6 +48,11 @@ source_set("standalone") {
source_set("test_support") {
testonly = true
+ sources = [
+ "application_test_base.h",
+ "lib/application_test_base.cc",
+ ]
+
deps = [
":application",
"//mojo/public/cpp/bindings",
@@ -55,10 +60,11 @@ source_set("test_support") {
"//mojo/public/cpp/system",
"//testing/gtest",
]
+}
- sources = [
- "application_test_base.h",
- "lib/application_test_base.cc",
- "lib/application_test_main.cc",
- ]
+source_set("test_support_standalone") {
+ testonly = true
+ sources = [ "lib/application_test_main.cc", ]
+ public_deps = [ ":test_support", ]
+ deps = [ "//mojo/public/cpp/environment:standalone", ]
}
« no previous file with comments | « mojo/environment/environment.cc ('k') | mojo/public/cpp/application/lib/application_test_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698