OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/locales.gni") | 6 import("//build/config/locales.gni") |
7 import("//build/config/mac/base_rules.gni") | 7 import("//build/config/mac/base_rules.gni") |
8 import("//build/mac/tweak_info_plist.gni") | 8 import("//build/mac/tweak_info_plist.gni") |
9 import("//ios/build/chrome_build.gni") | 9 import("//ios/build/chrome_build.gni") |
10 import("//ios/chrome/extension_repack.gni") | 10 import("//ios/chrome/extension_repack.gni") |
(...skipping 12 matching lines...) Expand all Loading... |
23 | 23 |
24 compile_plist("entitlements") { | 24 compile_plist("entitlements") { |
25 format = "xml1" | 25 format = "xml1" |
26 substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ] | 26 substitutions = [ "IOS_BUNDLE_ID_PREFIX=$ios_app_bundle_id_prefix" ] |
27 output_name = "$target_gen_dir/today_extension.appex.entitlements" | 27 output_name = "$target_gen_dir/today_extension.appex.entitlements" |
28 plist_templates = | 28 plist_templates = |
29 [ "entitlements/external/today_extension.appex.entitlements" ] | 29 [ "entitlements/external/today_extension.appex.entitlements" ] |
30 } | 30 } |
31 | 31 |
32 ios_appex_bundle("today_extension") { | 32 ios_appex_bundle("today_extension") { |
| 33 configs += [ "//build/config/compiler:enable_arc" ] |
33 sources = [ | 34 sources = [ |
34 "footer_label.h", | 35 "footer_label.h", |
35 "footer_label.mm", | 36 "footer_label.mm", |
36 "interactive_label.h", | 37 "interactive_label.h", |
37 "interactive_label.mm", | 38 "interactive_label.mm", |
38 "lock_screen_state.h", | 39 "lock_screen_state.h", |
39 "lock_screen_state.mm", | 40 "lock_screen_state.mm", |
40 "notification_center_button.h", | 41 "notification_center_button.h", |
41 "notification_center_button.mm", | 42 "notification_center_button.mm", |
42 "notification_center_url_button.h", | 43 "notification_center_url_button.h", |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 "resources/todayview_physical_web@2x.png", | 110 "resources/todayview_physical_web@2x.png", |
110 "resources/todayview_physical_web@3x.png", | 111 "resources/todayview_physical_web@3x.png", |
111 "resources/todayview_voice_search.png", | 112 "resources/todayview_voice_search.png", |
112 "resources/todayview_voice_search@2x.png", | 113 "resources/todayview_voice_search@2x.png", |
113 "resources/todayview_voice_search@3x.png", | 114 "resources/todayview_voice_search@3x.png", |
114 ] | 115 ] |
115 outputs = [ | 116 outputs = [ |
116 "{{bundle_resources_dir}}/{{source_file_part}}", | 117 "{{bundle_resources_dir}}/{{source_file_part}}", |
117 ] | 118 ] |
118 } | 119 } |
OLD | NEW |