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

Unified Diff: chrome/app/mash/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: cleanup 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: chrome/app/mash/BUILD.gn
diff --git a/chrome/app/mash/BUILD.gn b/chrome/app/mash/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..ec9821286a2a1d5cedb00db102a837eaddb188df
--- /dev/null
+++ b/chrome/app/mash/BUILD.gn
@@ -0,0 +1,63 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//mojo/public/mojo_application_manifest.gni")
+
+source_set("mash") {
+ sources = [
+ "mash_runner.cc",
+ "mash_runner.h",
+ ]
+ deps = [
+ ":manifest",
+ "//ash/mus:lib",
+ "//ash/resources",
+ "//base:i18n",
+ "//components/mus:lib",
+ "//components/resource_provider:lib",
+ "//content/public/common:static_switches",
+ "//mash/quick_launch:lib",
+ "//mash/shell:lib",
+ "//mash/wm:lib",
+ "//mojo/common:mojo_scheme_register",
+ "//mojo/shell/background:lib",
+ "//mojo/shell/public/cpp",
+ "//mojo/shell/public/interfaces",
+ "//mojo/shell/runner/common",
+ "//mojo/shell/runner/host:child_process_base",
+ "//mojo/shell/runner/host:lib",
+ "//url",
+ ]
+
+ if (is_linux && !is_android) {
+ deps += [ "//components/font_service:lib" ]
+ }
+}
+
+mojo_application_manifest("manifest") {
+ type = "exe"
+ application_name = "chrome"
+ source = "chrome_mash_manifest.json"
+ deps = [
+ "//ash/mus:manifest",
+ "//components/mus:manifest",
+ "//components/resource_provider:manifest",
+ "//mash/quick_launch:manifest",
+ "//mash/shell:manifest",
+ "//mash/wm:manifest",
+ ]
+ packaged_applications = [
+ "ash_sysui",
+ "desktop_wm",
+ "mash_shell",
+ "mus",
+ "quick_launch",
+ "resource_provider",
+ ]
+
+ if (is_linux && !is_android) {
+ deps += [ "//components/font_service:manifest" ]
+ packaged_applications += [ "font_service" ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698