OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ios/rules.gni") | 7 import("//build/config/ios/rules.gni") |
8 import("//rlz/features/features.gni") | 8 import("//rlz/features/features.gni") |
9 import("//third_party/protobuf/proto_library.gni") | 9 import("//third_party/protobuf/proto_library.gni") |
10 | 10 |
| 11 source_set("chrome_paths") { |
| 12 configs += [ "//build/config/compiler:enable_arc" ] |
| 13 sources = [ |
| 14 "chrome_paths.h", |
| 15 "chrome_paths.mm", |
| 16 "chrome_paths_internal.h", |
| 17 ] |
| 18 |
| 19 deps = [ |
| 20 "//base", |
| 21 "//components/gcm_driver", |
| 22 ] |
| 23 } |
| 24 |
11 source_set("browser") { | 25 source_set("browser") { |
12 configs += [ "//build/config/compiler:enable_arc" ] | 26 configs += [ "//build/config/compiler:enable_arc" ] |
13 sources = [ | 27 sources = [ |
14 "about_flags.h", | 28 "about_flags.h", |
15 "about_flags.mm", | 29 "about_flags.mm", |
16 "app_startup_parameters.h", | 30 "app_startup_parameters.h", |
17 "app_startup_parameters.mm", | 31 "app_startup_parameters.mm", |
18 "application_context.cc", | 32 "application_context.cc", |
19 "application_context.h", | 33 "application_context.h", |
20 "arch_util.cc", | 34 "arch_util.cc", |
21 "arch_util.h", | 35 "arch_util.h", |
22 "browser_about_rewriter.cc", | 36 "browser_about_rewriter.cc", |
23 "browser_about_rewriter.h", | 37 "browser_about_rewriter.h", |
24 "chrome_constants.cc", | 38 "chrome_constants.cc", |
25 "chrome_constants.h", | 39 "chrome_constants.h", |
26 "chrome_coordinator.h", | 40 "chrome_coordinator.h", |
27 "chrome_coordinator.mm", | 41 "chrome_coordinator.mm", |
28 "chrome_paths.h", | |
29 "chrome_paths.mm", | |
30 "chrome_paths_internal.h", | |
31 "chrome_root_coordinator.h", | 42 "chrome_root_coordinator.h", |
32 "chrome_root_coordinator.mm", | 43 "chrome_root_coordinator.mm", |
33 "chrome_switches.cc", | 44 "chrome_switches.cc", |
34 "chrome_switches.h", | 45 "chrome_switches.h", |
35 "chrome_url_constants.cc", | 46 "chrome_url_constants.cc", |
36 "chrome_url_constants.h", | 47 "chrome_url_constants.h", |
37 "chrome_url_util.h", | 48 "chrome_url_util.h", |
38 "chrome_url_util.mm", | 49 "chrome_url_util.mm", |
39 "crash_loop_detection_util.h", | 50 "crash_loop_detection_util.h", |
40 "crash_loop_detection_util.mm", | 51 "crash_loop_detection_util.mm", |
(...skipping 18 matching lines...) Expand all Loading... |
59 "pref_names.cc", | 70 "pref_names.cc", |
60 "pref_names.h", | 71 "pref_names.h", |
61 "procedural_block_types.h", | 72 "procedural_block_types.h", |
62 "tab_parenting_global_observer.cc", | 73 "tab_parenting_global_observer.cc", |
63 "tab_parenting_global_observer.h", | 74 "tab_parenting_global_observer.h", |
64 "web_data_service_factory.cc", | 75 "web_data_service_factory.cc", |
65 "web_data_service_factory.h", | 76 "web_data_service_factory.h", |
66 "xcallback_parameters.h", | 77 "xcallback_parameters.h", |
67 "xcallback_parameters.mm", | 78 "xcallback_parameters.mm", |
68 ] | 79 ] |
| 80 |
69 deps = [ | 81 deps = [ |
70 ":settings_resources", | 82 ":settings_resources", |
71 "//base", | 83 "//base", |
72 "//components/autofill/core/browser", | 84 "//components/autofill/core/browser", |
73 "//components/autofill/core/common", | 85 "//components/autofill/core/common", |
74 "//components/dom_distiller/core", | 86 "//components/dom_distiller/core", |
75 "//components/flags_ui", | 87 "//components/flags_ui", |
76 "//components/flags_ui:switches", | 88 "//components/flags_ui:switches", |
77 "//components/gcm_driver", | |
78 "//components/handoff", | 89 "//components/handoff", |
79 "//components/keyed_service/core", | 90 "//components/keyed_service/core", |
80 "//components/keyed_service/ios", | 91 "//components/keyed_service/ios", |
81 "//components/metrics", | 92 "//components/metrics", |
82 "//components/metrics_services_manager", | 93 "//components/metrics_services_manager", |
83 "//components/net_log", | 94 "//components/net_log", |
84 "//components/network_session_configurator", | 95 "//components/network_session_configurator", |
85 "//components/ntp_tiles", | 96 "//components/ntp_tiles", |
86 "//components/pref_registry", | 97 "//components/pref_registry", |
87 "//components/prefs", | 98 "//components/prefs", |
(...skipping 17 matching lines...) Expand all Loading... |
105 "//ios/chrome/common", | 116 "//ios/chrome/common", |
106 "//ios/net", | 117 "//ios/net", |
107 "//ios/public/provider/chrome/browser", | 118 "//ios/public/provider/chrome/browser", |
108 "//ios/public/provider/chrome/browser/voice", | 119 "//ios/public/provider/chrome/browser/voice", |
109 "//ios/web", | 120 "//ios/web", |
110 "//ios/web:user_agent", | 121 "//ios/web:user_agent", |
111 "//net", | 122 "//net", |
112 "//rlz/features", | 123 "//rlz/features", |
113 "//url", | 124 "//url", |
114 ] | 125 ] |
| 126 public_deps = [ |
| 127 ":chrome_paths", |
| 128 ] |
115 allow_circular_includes_from = [ | 129 allow_circular_includes_from = [ |
116 "//ios/chrome/browser/sync/glue", | 130 "//ios/chrome/browser/sync/glue", |
117 "//ios/chrome/browser/browser_state", | 131 "//ios/chrome/browser/browser_state", |
118 ] | 132 ] |
119 libs = [ "UIKit.framework" ] | 133 libs = [ "UIKit.framework" ] |
120 } | 134 } |
121 | 135 |
122 source_set("browser_impl") { | 136 source_set("browser_impl") { |
123 configs += [ "//build/config/compiler:enable_arc" ] | 137 configs += [ "//build/config/compiler:enable_arc" ] |
124 sources = [ | 138 sources = [ |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 | 237 |
224 source_set("browser_internal") { | 238 source_set("browser_internal") { |
225 sources = [ | 239 sources = [ |
226 "callback_counter.h", | 240 "callback_counter.h", |
227 "callback_counter.mm", | 241 "callback_counter.mm", |
228 ] | 242 ] |
229 deps = [ | 243 deps = [ |
230 "//base", | 244 "//base", |
231 ] | 245 ] |
232 } | 246 } |
OLD | NEW |