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

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

Issue 2589883002: Revert of Upstream Chrome on iOS source code [11/11]. (Closed)
Patch Set: Created 4 years 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/app/safe_mode/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 source_set("application_delegate") { 5 source_set("application_delegate") {
6 sources = [ 6 sources = [
7 "memory_warning_helper.h", 7 "memory_warning_helper.h",
8 "memory_warning_helper.mm", 8 "memory_warning_helper.mm",
9 ] 9 ]
10 deps = [ 10 deps = [
11 "//base", 11 "//base",
12 "//ios/chrome/browser/crash_report", 12 "//ios/chrome/browser/crash_report",
13 "//ios/chrome/browser/metrics", 13 "//ios/chrome/browser/metrics",
14 ] 14 ]
15 libs = [ "Foundation.framework" ] 15 libs = [ "Foundation.framework" ]
16 16
17 configs += [ "//build/config/compiler:enable_arc" ] 17 configs += [ "//build/config/compiler:enable_arc" ]
18 } 18 }
19 19
20 source_set("unit_tests") { 20 source_set("unit_tests") {
21 testonly = true 21 testonly = true
22 sources = [ 22 sources = [
23 "app_state_unittest.mm",
24 "background_activity_unittest.mm",
25 "memory_warning_helper_unittest.mm", 23 "memory_warning_helper_unittest.mm",
26 "metrics_mediator_unittest.mm",
27 "url_opener_unittest.mm",
28 "user_activity_handler_unittest.mm",
29 ] 24 ]
30 deps = [ 25 deps = [
31 ":application_delegate", 26 ":application_delegate",
32 ":application_delegate_internal",
33 ":test_support",
34 "//base", 27 "//base",
35 "//base/test:test_support",
36 "//breakpad:client",
37 "//components/handoff",
38 "//components/metrics",
39 "//ios/chrome/app",
40 "//ios/chrome/app:app_internal",
41 "//ios/chrome/app/application_delegate",
42 "//ios/chrome/app/safe_mode",
43 "//ios/chrome/app/spotlight",
44 "//ios/chrome/browser",
45 "//ios/chrome/browser/browser_state:test_support",
46 "//ios/chrome/browser/crash_report",
47 "//ios/chrome/browser/device_sharing",
48 "//ios/chrome/browser/geolocation",
49 "//ios/chrome/browser/metrics", 28 "//ios/chrome/browser/metrics",
50 "//ios/chrome/browser/tabs",
51 "//ios/chrome/browser/u2f",
52 "//ios/chrome/browser/ui:ui_internal",
53 "//ios/chrome/browser/ui/main",
54 "//ios/chrome/browser/ui/settings",
55 "//ios/chrome/test:test_support",
56 "//ios/chrome/test/base",
57 "//ios/chrome/test/ocmock",
58 "//ios/public/provider/chrome/browser:test_support",
59 "//ios/public/provider/chrome/browser/distribution",
60 "//ios/public/provider/chrome/browser/user_feedback:test_support",
61 "//ios/testing:ocmock_support",
62 "//ios/web",
63 "//ios/web:test_support",
64 "//net:test_support",
65 "//testing/gtest", 29 "//testing/gtest",
66 "//third_party/ocmock",
67 "//ui/base",
68 "//url",
69 ]
70 libs = [
71 "CoreSpotlight.framework",
72 "QuartzCore.framework",
73 ] 30 ]
74 } 31 }
75
76 source_set("application_delegate_internal") {
77 sources = [
78 "app_navigation.h",
79 "app_state.h",
80 "app_state.mm",
81 "background_activity.h",
82 "background_activity.mm",
83 "browser_launcher.h",
84 "metrics_mediator.h",
85 "metrics_mediator.mm",
86 "startup_information.h",
87 "tab_opening.h",
88 "tab_switching.h",
89 "url_opener.h",
90 "url_opener.mm",
91 "user_activity_handler.h",
92 "user_activity_handler.mm",
93 ]
94 deps = [
95 "//base",
96 "//components/crash/core/common",
97 "//components/handoff",
98 "//components/metrics",
99 "//components/prefs",
100 "//ios/chrome/app",
101 "//ios/chrome/app/application_delegate",
102 "//ios/chrome/app/safe_mode",
103 "//ios/chrome/app/spotlight",
104 "//ios/chrome/browser",
105 "//ios/chrome/browser/browser_state",
106 "//ios/chrome/browser/crash_report",
107 "//ios/chrome/browser/device_sharing",
108 "//ios/chrome/browser/geolocation",
109 "//ios/chrome/browser/metrics",
110 "//ios/chrome/browser/metrics:metrics_internal",
111 "//ios/chrome/browser/net",
112 "//ios/chrome/browser/tabs",
113 "//ios/chrome/browser/u2f",
114 "//ios/chrome/browser/ui",
115 "//ios/chrome/browser/ui:ui_internal",
116 "//ios/chrome/browser/ui/authentication",
117 "//ios/chrome/browser/ui/main",
118 "//ios/chrome/common/app_group:main_app",
119 "//ios/net",
120 "//ios/public/provider/chrome/browser",
121 "//ios/public/provider/chrome/browser/distribution",
122 "//ios/public/provider/chrome/browser/user_feedback",
123 "//ios/web",
124 "//net",
125 "//ui/base",
126 "//url",
127 ]
128 libs = [
129 "CoreSpotlight.framework",
130 "UIKit.framework",
131 ]
132 }
133
134 source_set("test_support") {
135 testonly = true
136 sources = [
137 "app_state_testing.h",
138 "fake_startup_information.h",
139 "fake_startup_information.mm",
140 "metrics_mediator_testing.h",
141 "mock_tab_opener.h",
142 "mock_tab_opener.mm",
143 ]
144 deps = [
145 ":application_delegate_internal",
146 "//base",
147 "//base/test:test_support",
148 "//ios/chrome/app:app_internal",
149 "//ios/chrome/browser",
150 "//net",
151 "//ui/base",
152 "//url",
153 ]
154 libs = [ "UIKit.framework" ]
155 }
OLDNEW
« no previous file with comments | « ios/chrome/app/BUILD.gn ('k') | ios/chrome/app/safe_mode/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698