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

Unified Diff: mash/shell/BUILD.gn

Issue 1722743002: Adds ability for chrome to behave as mojo_runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge to tip of tree Created 4 years, 10 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
Index: mash/shell/BUILD.gn
diff --git a/mash/shell/BUILD.gn b/mash/shell/BUILD.gn
index b4dbc89773033f4408a9c94cde40a6a4c48a996d..3f52946ff2750f4bb3d530b96f56ae71c8aea4a2 100644
--- a/mash/shell/BUILD.gn
+++ b/mash/shell/BUILD.gn
@@ -8,17 +8,13 @@ import("//mojo/public/mojo_application_manifest.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//tools/grit/repack.gni")
-mojo_native_application("shell") {
- output_name = "mash_shell"
-
+source_set("lib") {
sources = [
- "main.cc",
"shell_application_delegate.cc",
"shell_application_delegate.h",
]
deps = [
- ":manifest",
"//base",
"//mash/shell/public/interfaces",
"//mojo/common",
@@ -35,6 +31,25 @@ mojo_native_application("shell") {
]
}
+mojo_native_application("shell") {
+ output_name = "mash_shell"
+
+ sources = [
+ "main.cc",
+ ]
+
+ deps = [
+ ":lib",
+ ":manifest",
+ "//base",
+ "//mash/shell/public/interfaces",
+ "//mojo/common",
+ "//mojo/public/cpp/bindings",
+ "//mojo/shell/public/cpp",
+ "//mojo/shell/public/cpp:sources",
+ ]
+}
+
mojo_application_manifest("manifest") {
application_name = "mash_shell"
source = "manifest.json"
« chrome/common/BUILD.gn ('K') | « components/mus/ws/BUILD.gn ('k') | mojo/shell/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698