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

Unified Diff: chrome/app_shim/BUILD.gn

Issue 1927273002: [Mac/GN] Add a BUILD.gn file for //chrome/app_shim. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-chrome-tools
Patch Set: Docs Created 4 years, 8 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 | « build/config/mac/rules.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app_shim/BUILD.gn
diff --git a/chrome/app_shim/BUILD.gn b/chrome/app_shim/BUILD.gn
index 74bca935118768c42fd0df65d50564c7b38d9f94..141bf72bef0ac601c376752a56e564b9163001a4 100644
--- a/chrome/app_shim/BUILD.gn
+++ b/chrome/app_shim/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("//build/config/mac/rules.gni")
+
# This is the part of the shim process compiled into Chrome. It runs only
# in the shim process, after the shim finds and loads the Chrome
# Framework bundle.
@@ -15,3 +17,24 @@ source_set("app_shim") {
"//chrome/common:app_mode_app_support",
]
}
+
+mac_app_bundle("app_mode_loader") {
+ extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
+
+ info_plist = "app_mode-Info.plist"
+
+ sources = [
+ "app_mode_loader_mac.mm",
+ ]
+
+ deps = [
+ "//chrome/common:app_mode_app_support",
+ ]
+
+ # TODO(rsesek): extra_substitutions = [ APP_MODE_APP_BUNDLE_ID ... ]
+
+ libs = [
+ "CoreFoundation.framework",
+ "Foundation.framework",
+ ]
+}
« no previous file with comments | « build/config/mac/rules.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698