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

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

Issue 2814783003: Rename widget to search widget and use new bundleid to always build. (Closed)
Patch Set: seems I didn't actually delete widget_view_controller... Created 3 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 unified diff | Download patch
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/config/mac/base_rules.gni")
7 import("//build/mac/tweak_info_plist.gni")
8 import("//ios/build/chrome_build.gni")
9
10 tweak_info_plist("tweak_info_plist") {
11 info_plist = "Info.plist"
12 }
13
14 compile_plist("entitlements") {
15 format = "xml1"
16 substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ]
17 output_name = "$target_gen_dir/today_extension.appex.entitlements"
18 plist_templates =
19 [ "entitlements/external/widget_extension.appex.entitlements" ]
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 deps = [
31 "//base",
32 "//components/open_from_clipboard:open_from_clipboard_impl",
33 "//components/prefs",
34 "//components/variations",
35 "//components/version_info",
36 "//ios/chrome/common",
37 "//ios/chrome/common/app_group",
38 "//ios/chrome/common/app_group:client",
39 "//ios/chrome/common/physical_web",
40 "//ios/chrome/today_extension/strings",
41 "//ios/third_party/material_components_ios",
42 "//net",
43 "//ui/base",
44 ]
45
46 libs = [
47 "Foundation.framework",
48 "NotificationCenter.framework",
49 "UIKit.framework",
50 ]
51
52 extra_substitutions = [
53 "CHROME_CHANNEL_SCHEME=$url_channel_scheme",
54 "CHROMIUM_SHORT_NAME=$chromium_short_name",
55
56 # The widget_extension and today_extension are using the same provisioning
57 # profile during development work.
58 # TODO(crbug.com/682238) : Request provisioning profile if widget is kept.
59 "WIDGET_EXTENSION_BUNDLE_ID=$chromium_bundle_id.TodayExtension",
60 ]
61
62 configs += [ "//build/config/compiler:enable_arc" ]
63
64 entitlements_target = ":entitlements"
65 info_plist_target = ":tweak_info_plist"
66 }
OLDNEW
« no previous file with comments | « ios/chrome/search_widget_extension/search_widget_view_controller.mm ('k') | ios/chrome/widget_extension/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698