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

Unified Diff: mojo/application_manager/BUILD.gn

Issue 494523004: GN: Build rules and fixes for (almost) all mojo unittest targets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « mojo/BUILD.gn ('k') | mojo/apps/js/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/application_manager/BUILD.gn
diff --git a/mojo/application_manager/BUILD.gn b/mojo/application_manager/BUILD.gn
index 267fa6824fa3b25ce9175b7a773631762b340fbd..ed57f0cfe20f4f8b06a37c817f2c90eb88ae3b23 100644
--- a/mojo/application_manager/BUILD.gn
+++ b/mojo/application_manager/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//mojo/public/tools/bindings/mojom.gni")
+
# GYP version: mojo.gyp:mojo_application_manager
component("application_manager") {
output_name = "mojo_application_manager"
@@ -36,3 +38,28 @@ component("application_manager") {
"//mojo/public/interfaces/application:application",
]
}
+
+# GYP version: mojo.gyp:mojo_application_manager_unittests
+test("mojo_application_manager_unittests") {
+ deps = [
+ ":application_manager",
+ ":test_bindings",
+ "//base",
+ "//testing/gtest",
+ "//url",
+ "//mojo/common",
+ "//mojo/environment:chromium",
+ "//mojo/public/cpp/application:chromium",
+ "//mojo/common/test:run_all_unittests",
+ "//mojo/public/cpp/bindings",
+ ]
+
+ sources = [
+ "application_manager_unittest.cc",
+ "background_shell_application_loader_unittest.cc",
+ ]
+}
+
+mojom("test_bindings") {
+ sources = [ "test.mojom" ]
+}
« no previous file with comments | « mojo/BUILD.gn ('k') | mojo/apps/js/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698