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 | 6 |
| 7 source_set("ui_arc") { |
| 8 sources = [ |
| 9 "network_activity_indicator_manager.h", |
| 10 "network_activity_indicator_manager.mm", |
| 11 ] |
| 12 deps = [ |
| 13 "//base", |
| 14 ] |
| 15 configs += [ "//build/config/compiler:enable_arc" ] |
| 16 } |
| 17 |
7 source_set("ui") { | 18 source_set("ui") { |
8 configs += [ "//build/config/compiler:enable_arc" ] | 19 configs += [ "//build/config/compiler:enable_arc" ] |
9 sources = [ | 20 sources = [ |
10 "UIView+SizeClassSupport.h", | 21 "UIView+SizeClassSupport.h", |
11 "UIView+SizeClassSupport.mm", | 22 "UIView+SizeClassSupport.mm", |
12 "animation_util.h", | 23 "animation_util.h", |
13 "animation_util.mm", | 24 "animation_util.mm", |
14 "background_generator.h", | 25 "background_generator.h", |
15 "background_generator.mm", | 26 "background_generator.mm", |
16 "browser_otr_state.h", | 27 "browser_otr_state.h", |
17 "browser_otr_state.mm", | 28 "browser_otr_state.mm", |
18 "favicon_view.h", | 29 "favicon_view.h", |
19 "favicon_view.mm", | 30 "favicon_view.mm", |
20 "file_locations.h", | 31 "file_locations.h", |
21 "file_locations.mm", | 32 "file_locations.mm", |
22 "image_util.h", | 33 "image_util.h", |
23 "image_util.mm", | 34 "image_util.mm", |
24 "native_content_controller.h", | 35 "native_content_controller.h", |
25 "native_content_controller.mm", | 36 "native_content_controller.mm", |
26 "network_activity_indicator_manager.h", | |
27 "network_activity_indicator_manager.mm", | |
28 "orientation_limiting_navigation_controller.h", | 37 "orientation_limiting_navigation_controller.h", |
29 "orientation_limiting_navigation_controller.mm", | 38 "orientation_limiting_navigation_controller.mm", |
30 "prerender_final_status.h", | 39 "prerender_final_status.h", |
31 "reversed_animation.h", | 40 "reversed_animation.h", |
32 "reversed_animation.mm", | 41 "reversed_animation.mm", |
33 "rtl_geometry.h", | 42 "rtl_geometry.h", |
34 "rtl_geometry.mm", | 43 "rtl_geometry.mm", |
35 "show_mail_composer_util.h", | 44 "show_mail_composer_util.h", |
36 "show_mail_composer_util.mm", | 45 "show_mail_composer_util.mm", |
37 "show_privacy_settings_util.h", | 46 "show_privacy_settings_util.h", |
(...skipping 10 matching lines...) Expand all Loading... |
48 "//base", | 57 "//base", |
49 "//base:i18n", | 58 "//base:i18n", |
50 "//ios/chrome/browser", | 59 "//ios/chrome/browser", |
51 "//ios/chrome/browser/favicon", | 60 "//ios/chrome/browser/favicon", |
52 "//ios/chrome/browser/ui/commands", | 61 "//ios/chrome/browser/ui/commands", |
53 "//ios/public/provider/chrome/browser", | 62 "//ios/public/provider/chrome/browser", |
54 "//ios/web", | 63 "//ios/web", |
55 "//ui/base", | 64 "//ui/base", |
56 "//ui/gfx", | 65 "//ui/gfx", |
57 ] | 66 ] |
58 allow_circular_includes_from = [ "//ios/chrome/browser/ui/commands" ] | 67 public_deps = [ |
| 68 ":ui_arc", |
| 69 ] |
| 70 allow_circular_includes_from = [ |
| 71 ":ui_arc", |
| 72 "//ios/chrome/browser/ui/commands", |
| 73 ] |
59 libs = [ | 74 libs = [ |
60 "Accelerate.framework", | 75 "Accelerate.framework", |
61 "CoreGraphics.framework", | 76 "CoreGraphics.framework", |
62 "QuartzCore.framework", | 77 "QuartzCore.framework", |
63 ] | 78 ] |
64 } | 79 } |
65 | 80 |
66 source_set("unit_tests") { | 81 source_set("unit_tests") { |
67 testonly = true | 82 testonly = true |
68 sources = [ | 83 sources = [ |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 "//components/resources/terms/terms_tr.html", | 167 "//components/resources/terms/terms_tr.html", |
153 "//components/resources/terms/terms_uk.html", | 168 "//components/resources/terms/terms_uk.html", |
154 "//components/resources/terms/terms_vi.html", | 169 "//components/resources/terms/terms_vi.html", |
155 "//components/resources/terms/terms_zh-CN.html", | 170 "//components/resources/terms/terms_zh-CN.html", |
156 "//components/resources/terms/terms_zh-TW.html", | 171 "//components/resources/terms/terms_zh-TW.html", |
157 ] | 172 ] |
158 outputs = [ | 173 outputs = [ |
159 "{{bundle_resources_dir}}/{{source_file_part}}", | 174 "{{bundle_resources_dir}}/{{source_file_part}}", |
160 ] | 175 ] |
161 } | 176 } |
OLD | NEW |