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" |