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

Side by Side Diff: ios/chrome/widget_extension/BUILD.gn

Issue 2632333002: Add a prototype today extension behind gn flag (Closed)
Patch Set: rebase + owner Created 3 years, 11 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 | « ios/chrome/app/BUILD.gn ('k') | ios/chrome/widget_extension/Info.plist » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/ios/rules.gni")
6 import("//build/mac/tweak_info_plist.gni")
7 import("//ios/build/chrome_build.gni")
8
9 tweak_info_plist("tweak_info_plist") {
10 info_plist = "Info.plist"
11 }
12
13 compile_plist("entitlements") {
14 format = "xml1"
15 substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ]
16 output_name = "$target_gen_dir/today_extension.appex.entitlements"
17 plist_templates =
18 [ "entitlements/external/widget_extension.appex.entitlements" ] +
19 ios_chrome_entitlements_additions
20 }
21
22 ios_appex_bundle("widget_extension") {
23 sources = [
24 "widget_view.h",
25 "widget_view.mm",
26 "widget_view_controller.h",
27 "widget_view_controller.mm",
28 ]
29
30 libs = [
31 "Foundation.framework",
32 "NotificationCenter.framework",
33 "UIKit.framework",
34 ]
35
36 extra_substitutions = [
37 "CHROME_CHANNEL_SCHEME=$url_channel_scheme",
38 "CHROMIUM_SHORT_NAME=$chromium_short_name",
39
40 # The widget_extension and today_extension are using the same provisioning
41 # profile during development work.
42 # TODO(crbug.com/682238) : Request provisioning profile if widget is kept.
43 "WIDGET_EXTENSION_BUNDLE_ID=$chromium_bundle_id.TodayExtension",
44 ]
45
46 configs += [ "//build/config/compiler:enable_arc" ]
47
48 entitlements_target = ":entitlements"
49 info_plist_target = ":tweak_info_plist"
50 }
OLDNEW
« no previous file with comments | « ios/chrome/app/BUILD.gn ('k') | ios/chrome/widget_extension/Info.plist » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698