OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 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 | 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/ios/rules.gni") | 5 import("//build/config/ios/rules.gni") |
6 import("//build/config/mac/base_rules.gni") | 6 import("//build/config/mac/base_rules.gni") |
7 import("//build/mac/tweak_info_plist.gni") | 7 import("//build/mac/tweak_info_plist.gni") |
8 import("//ios/build/chrome_build.gni") | 8 import("//ios/build/chrome_build.gni") |
9 | 9 |
10 tweak_info_plist("tweak_info_plist") { | 10 tweak_info_plist("tweak_info_plist") { |
(...skipping 11 matching lines...) Expand all Loading... |
22 ios_appex_bundle("widget_extension") { | 22 ios_appex_bundle("widget_extension") { |
23 sources = [ | 23 sources = [ |
24 "widget_view.h", | 24 "widget_view.h", |
25 "widget_view.mm", | 25 "widget_view.mm", |
26 "widget_view_controller.h", | 26 "widget_view_controller.h", |
27 "widget_view_controller.mm", | 27 "widget_view_controller.mm", |
28 ] | 28 ] |
29 | 29 |
30 deps = [ | 30 deps = [ |
31 "//base", | 31 "//base", |
32 "//base:i18n", | 32 "//components/open_from_clipboard:open_from_clipboard_impl", |
33 "//components/prefs", | 33 "//components/prefs", |
34 "//components/variations", | 34 "//components/variations", |
35 "//components/version_info", | 35 "//components/version_info", |
36 "//ios/chrome/common", | 36 "//ios/chrome/common", |
37 "//ios/chrome/common/app_group", | 37 "//ios/chrome/common/app_group", |
38 "//ios/chrome/common/app_group:client", | 38 "//ios/chrome/common/app_group:client", |
39 "//ios/chrome/common/physical_web", | 39 "//ios/chrome/common/physical_web", |
40 "//ios/chrome/today_extension/strings", | 40 "//ios/chrome/today_extension/strings", |
41 "//ios/third_party/material_components_ios", | 41 "//ios/third_party/material_components_ios", |
42 "//net", | 42 "//net", |
43 "//ui/base", | 43 "//ui/base", |
44 "//url", | |
45 ] | 44 ] |
46 | 45 |
47 libs = [ | 46 libs = [ |
48 "Foundation.framework", | 47 "Foundation.framework", |
49 "NotificationCenter.framework", | 48 "NotificationCenter.framework", |
50 "UIKit.framework", | 49 "UIKit.framework", |
51 ] | 50 ] |
52 | 51 |
53 extra_substitutions = [ | 52 extra_substitutions = [ |
54 "CHROME_CHANNEL_SCHEME=$url_channel_scheme", | 53 "CHROME_CHANNEL_SCHEME=$url_channel_scheme", |
55 "CHROMIUM_SHORT_NAME=$chromium_short_name", | 54 "CHROMIUM_SHORT_NAME=$chromium_short_name", |
56 | 55 |
57 # The widget_extension and today_extension are using the same provisioning | 56 # The widget_extension and today_extension are using the same provisioning |
58 # profile during development work. | 57 # profile during development work. |
59 # TODO(crbug.com/682238) : Request provisioning profile if widget is kept. | 58 # TODO(crbug.com/682238) : Request provisioning profile if widget is kept. |
60 "WIDGET_EXTENSION_BUNDLE_ID=$chromium_bundle_id.TodayExtension", | 59 "WIDGET_EXTENSION_BUNDLE_ID=$chromium_bundle_id.TodayExtension", |
61 ] | 60 ] |
62 | 61 |
63 configs += [ "//build/config/compiler:enable_arc" ] | 62 configs += [ "//build/config/compiler:enable_arc" ] |
64 | 63 |
65 entitlements_target = ":entitlements" | 64 entitlements_target = ":entitlements" |
66 info_plist_target = ":tweak_info_plist" | 65 info_plist_target = ":tweak_info_plist" |
67 } | 66 } |
OLD | NEW |