Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Side by Side Diff: ios/chrome/app/startup/BUILD.gn

Issue 2661183002: Split ios/chrome/app/startup targets to reduce dependencies. (Closed)
Patch Set: Review feedback, rebase. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ios/chrome/app/BUILD.gn ('k') | ios/chrome/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//ios/public/provider/chrome/browser/build_config.gni") 5 import("//ios/public/provider/chrome/browser/build_config.gni")
6 6
7 source_set("startup") { 7 # Target for sources that don't depend on //ios/chrome/browser:browser
8 configs += [ "//build/config/compiler:enable_arc" ] 8 source_set("startup_basic") {
9 sources = [ 9 sources = [
10 "background_upload_alert.h",
11 "background_upload_alert.mm",
12 "chrome_main_starter.h", 10 "chrome_main_starter.h",
13 "chrome_main_starter.mm", 11 "chrome_main_starter.mm",
14 "client_registration.h",
15 "client_registration.mm",
16 "ios_chrome_main.h", 12 "ios_chrome_main.h",
17 "ios_chrome_main.mm", 13 "ios_chrome_main.mm",
18 "ios_chrome_main_delegate.h", 14 "ios_chrome_main_delegate.h",
19 "ios_chrome_main_delegate.mm", 15 "ios_chrome_main_delegate.mm",
20 "network_stack_setup.h",
21 "network_stack_setup.mm",
22 "provider_registration.h",
23 "provider_registration.mm",
24 "register_experimental_settings.h", 16 "register_experimental_settings.h",
25 "register_experimental_settings.mm", 17 "register_experimental_settings.mm",
26 "setup_debugging.h", 18 "setup_debugging.h",
27 "setup_debugging.mm", 19 "setup_debugging.mm",
28 ] 20 ]
29 21
22 configs += [ "//build/config/compiler:enable_arc" ]
23
30 deps = [ 24 deps = [
31 "//base", 25 "//base",
32 "//components/crash/core/common", 26 "//components/crash/core/common",
27 "//ios/chrome/browser:chrome_paths",
28 "//ios/web/public/app",
29 "//skia",
30 ]
31
32 assert_no_deps = [ "//ios/chrome/browser" ]
33 }
34
35 source_set("startup") {
36 sources = [
37 "background_upload_alert.h",
38 "background_upload_alert.mm",
39 "client_registration.h",
40 "client_registration.mm",
41 "network_stack_setup.h",
42 "network_stack_setup.mm",
43 "provider_registration.h",
44 "provider_registration.mm",
45 ]
46
47 configs += [ "//build/config/compiler:enable_arc" ]
48
49 deps = [
50 ":startup_basic",
51 "//base",
33 "//ios/chrome/browser", 52 "//ios/chrome/browser",
34 "//ios/chrome/browser:browser_internal", 53 "//ios/chrome/browser:browser_internal",
35 "//ios/chrome/browser/web", 54 "//ios/chrome/browser/web",
36 "//ios/chrome/browser/web:web_internal", 55 "//ios/chrome/browser/web:web_internal",
37 "//ios/net", 56 "//ios/net",
38 "//ios/public/provider/chrome/browser", 57 "//ios/public/provider/chrome/browser",
39 "//ios/web", 58 "//ios/web",
40 "//ios/web/public/app", 59 "//ios/web/public/app",
41 "//skia",
42 ios_provider_target, 60 ios_provider_target,
43 ] 61 ]
44 } 62 }
OLDNEW
« no previous file with comments | « ios/chrome/app/BUILD.gn ('k') | ios/chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698