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

Side by Side 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, 7 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 unified diff | Download patch
« no previous file with comments | « build/config/mac/rules.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/mac/rules.gni")
6
5 # This is the part of the shim process compiled into Chrome. It runs only 7 # This is the part of the shim process compiled into Chrome. It runs only
6 # in the shim process, after the shim finds and loads the Chrome 8 # in the shim process, after the shim finds and loads the Chrome
7 # Framework bundle. 9 # Framework bundle.
8 source_set("app_shim") { 10 source_set("app_shim") {
9 sources = [ 11 sources = [
10 "chrome_main_app_mode_mac.mm", 12 "chrome_main_app_mode_mac.mm",
11 ] 13 ]
12 14
13 deps = [ 15 deps = [
14 "//chrome:strings", 16 "//chrome:strings",
15 "//chrome/common:app_mode_app_support", 17 "//chrome/common:app_mode_app_support",
16 ] 18 ]
17 } 19 }
20
21 mac_app_bundle("app_mode_loader") {
22 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ]
23
24 info_plist = "app_mode-Info.plist"
25
26 sources = [
27 "app_mode_loader_mac.mm",
28 ]
29
30 deps = [
31 "//chrome/common:app_mode_app_support",
32 ]
33
34 # TODO(rsesek): extra_substitutions = [ APP_MODE_APP_BUNDLE_ID ... ]
35
36 libs = [
37 "CoreFoundation.framework",
38 "Foundation.framework",
39 ]
40 }
OLDNEW
« 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