| 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 |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 "resources/Settings.bundle/Root.plist", | 214 "resources/Settings.bundle/Root.plist", |
| 215 ] | 215 ] |
| 216 outputs = [ | 216 outputs = [ |
| 217 "{{bundle_resources_dir}}/Settings.bundle/{{source_file_part}}", | 217 "{{bundle_resources_dir}}/Settings.bundle/{{source_file_part}}", |
| 218 ] | 218 ] |
| 219 } | 219 } |
| 220 | 220 |
| 221 source_set("unit_tests") { | 221 source_set("unit_tests") { |
| 222 testonly = true | 222 testonly = true |
| 223 sources = [ | 223 sources = [ |
| 224 "callback_counter_unittest.mm", | |
| 225 "chrome_url_util_unittest.mm", | 224 "chrome_url_util_unittest.mm", |
| 226 "crash_loop_detection_util_unittest.mm", | 225 "crash_loop_detection_util_unittest.mm", |
| 227 "install_time_util_unittest.mm", | 226 "install_time_util_unittest.mm", |
| 228 "installation_notifier_unittest.mm", | 227 "installation_notifier_unittest.mm", |
| 229 "ios_chrome_io_thread_unittest.mm", | 228 "ios_chrome_io_thread_unittest.mm", |
| 230 "notification_promo_unittest.cc", | 229 "notification_promo_unittest.cc", |
| 231 ] | 230 ] |
| 232 deps = [ | 231 deps = [ |
| 233 ":browser", | 232 ":browser", |
| 234 ":browser_internal", | |
| 235 "//base", | 233 "//base", |
| 236 "//base/test:test_support", | 234 "//base/test:test_support", |
| 237 "//components/prefs", | 235 "//components/prefs", |
| 238 "//components/prefs:test_support", | 236 "//components/prefs:test_support", |
| 239 "//components/proxy_config", | 237 "//components/proxy_config", |
| 240 "//components/ssl_config", | 238 "//components/ssl_config", |
| 241 "//components/variations", | 239 "//components/variations", |
| 242 "//ios/web:test_support", | 240 "//ios/web:test_support", |
| 243 "//net", | 241 "//net", |
| 244 "//net:test_support", | 242 "//net:test_support", |
| 245 "//testing/gtest", | 243 "//testing/gtest", |
| 246 "//url", | 244 "//url", |
| 247 ] | 245 ] |
| 248 } | 246 } |
| 249 | |
| 250 source_set("browser_internal") { | |
| 251 sources = [ | |
| 252 "callback_counter.h", | |
| 253 "callback_counter.mm", | |
| 254 ] | |
| 255 deps = [ | |
| 256 "//base", | |
| 257 ] | |
| 258 } | |
| 259 | |
| 260 source_set("downstream_provider") { | |
| 261 sources = [ | |
| 262 "downstream_chromium_browser_provider.h", | |
| 263 "downstream_chromium_browser_provider.mm", | |
| 264 ] | |
| 265 deps = [ | |
| 266 "//base", | |
| 267 "//components/handoff", | |
| 268 "//components/pref_registry", | |
| 269 "//components/prefs", | |
| 270 "//ios/chrome/browser", | |
| 271 "//ios/chrome/browser/autofill:autofill_internal", | |
| 272 "//ios/chrome/browser/browser_state", | |
| 273 "//ios/chrome/browser/browser_state:browser_state_impl", | |
| 274 "//ios/chrome/browser/providers", | |
| 275 "//ios/chrome/browser/sessions:sessions_internal", | |
| 276 "//ios/chrome/browser/sync/glue", | |
| 277 "//ios/chrome/browser/sync/sessions", | |
| 278 "//ios/chrome/browser/tabs", | |
| 279 "//ios/chrome/browser/tabs:tabs_internal", | |
| 280 "//ios/chrome/browser/ui", | |
| 281 "//ios/chrome/browser/ui:browser_list", | |
| 282 "//ios/chrome/browser/ui/autofill:autofill_internal", | |
| 283 "//ios/chrome/browser/ui/bookmarks", | |
| 284 "//ios/chrome/browser/ui/infobars", | |
| 285 "//ios/chrome/browser/ui/webui:webui_internal", | |
| 286 "//ios/chrome/common", | |
| 287 ] | |
| 288 } | |
| 289 | |
| 290 source_set("downstream_provider_factory") { | |
| 291 sources = [ | |
| 292 "downstream_chromium_browser_provider_factory.mm", | |
| 293 ] | |
| 294 deps = [ | |
| 295 ":downstream_provider", | |
| 296 "//base", | |
| 297 "//ios/public/provider/chrome/browser", | |
| 298 ] | |
| 299 } | |
| 300 | |
| 301 # Clean Skeleton targets | |
| 302 source_set("browser_clean_skeleton") { | |
| 303 sources = [ | |
| 304 "browser_coordinator+internal.h", | |
| 305 "browser_coordinator.h", | |
| 306 "browser_coordinator.mm", | |
| 307 "url_opening.h", | |
| 308 ] | |
| 309 | |
| 310 configs += [ "//build/config/compiler:enable_arc" ] | |
| 311 | |
| 312 deps = [ | |
| 313 "//base", | |
| 314 "//ios/chrome/browser", | |
| 315 "//ios/chrome/browser/browser_state", | |
| 316 ] | |
| 317 } | |
| OLD | NEW |