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

Side by Side Diff: blimp/client/BUILD.gn

Issue 2292723003: Move remaining Blimp feature code to core. (Closed)
Patch Set: Fix build break Created 4 years, 3 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 | « blimp/BUILD.gn ('k') | blimp/client/app/android/blimp_client_session_android.cc » ('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 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/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/config.gni") 8 import("//build/config/android/config.gni")
9 import("//build/config/android/rules.gni") 9 import("//build/config/android/rules.gni")
10 } 10 }
11 11
12 source_set("session") { 12 source_set("session") {
13 sources = [ 13 sources = [
14 "session/blimp_client_session.cc", 14 "session/blimp_client_session.cc",
15 "session/blimp_client_session.h", 15 "session/blimp_client_session.h",
16 ] 16 ]
17 17
18 public_deps = [ 18 public_deps = [
19 ":feature", 19 "//blimp/client/core",
20 "//blimp/client/core:switches", 20 "//blimp/client/core:switches",
21 "//blimp/common/proto",
21 "//ui/events", 22 "//ui/events",
22 ] 23 ]
23 24
24 deps = [ 25 deps = [
25 ":compositor",
26 "//base", 26 "//base",
27 "//blimp/client/core/compositor", 27 "//blimp/client/core/compositor",
28 "//blimp/client/core/contents", 28 "//blimp/client/core/contents",
29 "//blimp/client/core/render_widget",
29 "//blimp/client/core/session", 30 "//blimp/client/core/session",
31 "//blimp/client/core/settings",
30 "//blimp/common", 32 "//blimp/common",
31 "//blimp/common/proto", 33 "//blimp/common/proto",
32 "//blimp/net", 34 "//blimp/net",
33 "//net", 35 "//net",
34 "//ui/gfx/geometry", 36 "//ui/gfx/geometry",
35 "//url:url", 37 "//url:url",
36 ] 38 ]
37 } 39 }
38 40
39 source_set("client") { 41 source_set("client") {
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 91
90 deps = [ 92 deps = [
91 ":client", 93 ":client",
92 "//base", 94 "//base",
93 "//base/test:test_support", 95 "//base/test:test_support",
94 "//testing/gmock", 96 "//testing/gmock",
95 "//testing/gtest", 97 "//testing/gtest",
96 ] 98 ]
97 } 99 }
98 100
99 source_set("feature") {
100 sources = [
101 "core/contents/tab_control_feature.cc",
102 "core/contents/tab_control_feature.h",
103 "feature/render_widget_feature.cc",
104 "feature/render_widget_feature.h",
105 "feature/settings_feature.cc",
106 "feature/settings_feature.h",
107 ]
108
109 deps = [
110 "//base:base",
111 "//blimp/common",
112 "//blimp/net",
113 "//cc",
114 "//cc/proto",
115 "//components/url_formatter",
116 "//net:net",
117 "//skia",
118 "//ui/gfx/geometry:geometry",
119 ]
120
121 public_deps = [
122 "//blimp/common/proto",
123 ]
124 }
125
126 source_set("test_support") { 101 source_set("test_support") {
127 testonly = true 102 testonly = true
128 103
129 sources = [ 104 sources = [
130 "feature/compositor/mock_compositor_dependencies.cc",
131 "feature/compositor/mock_compositor_dependencies.h",
132 "feature/mock_render_widget_feature_delegate.cc",
133 "feature/mock_render_widget_feature_delegate.h",
134 "session/test_client_session.cc", 105 "session/test_client_session.cc",
135 "session/test_client_session.h", 106 "session/test_client_session.h",
136 ] 107 ]
137 108
138 deps = [ 109 deps = [
139 ":session", 110 ":session",
140 "//blimp/client/support",
141 "//cc:test_support",
142 "//skia",
143 "//testing/gmock",
144 "//url", 111 "//url",
145 ] 112 ]
146 } 113 }
147 114
148 source_set("compositor") {
149 sources = [
150 "feature/compositor/blimp_compositor.cc",
151 "feature/compositor/blimp_compositor.h",
152 "feature/compositor/blimp_compositor_manager.cc",
153 "feature/compositor/blimp_compositor_manager.h",
154 "feature/compositor/blimp_input_handler_wrapper.cc",
155 "feature/compositor/blimp_input_handler_wrapper.h",
156 "feature/compositor/blimp_input_manager.cc",
157 "feature/compositor/blimp_input_manager.h",
158 ]
159
160 deps = [
161 "//blimp/client/core/compositor",
162 "//blimp/client/public:public_headers",
163 "//blimp/common",
164 "//blimp/net",
165 "//cc",
166 "//cc/proto",
167 "//cc/surfaces",
168 "//gpu/command_buffer/client",
169 "//net",
170 "//third_party/WebKit/public:blink_headers",
171 "//third_party/libwebp",
172 "//ui/events:gesture_detection",
173 "//ui/events/blink",
174 "//ui/events/gestures/blink",
175 "//ui/gfx/geometry:geometry",
176 "//ui/gl:gl",
177 ]
178
179 public_deps = [
180 ":feature",
181 "//blimp/common/proto",
182 "//skia",
183 ]
184 }
185
186 source_set("feature_unit_tests") {
187 testonly = true
188
189 sources = [
190 "core/contents/tab_control_feature_unittest.cc",
191 "feature/compositor/blimp_compositor_manager_unittest.cc",
192 "feature/compositor/blimp_compositor_unittest.cc",
193 "feature/render_widget_feature_unittest.cc",
194 ]
195
196 deps = [
197 ":compositor",
198 ":test_support",
199 "//base",
200 "//base/test:test_support",
201 "//blimp/client/core/compositor",
202 "//blimp/client/support",
203 "//blimp/common",
204 "//blimp/common/proto",
205 "//blimp/net",
206 "//blimp/net:test_support",
207 "//blimp/test:support",
208 "//cc/proto",
209 "//cc/surfaces:surfaces",
210 "//net",
211 "//net:test_support",
212 "//skia",
213 "//testing/gmock",
214 "//testing/gtest",
215 "//ui/events:gesture_detection",
216 "//ui/gfx/geometry",
217 ]
218 }
219
220 if (is_linux && !is_chromeos && use_x11) { 115 if (is_linux && !is_chromeos && use_x11) {
221 executable("blimp_shell") { 116 executable("blimp_shell") {
222 sources = [ 117 sources = [
223 "app/linux/blimp_client_session_linux.cc", 118 "app/linux/blimp_client_session_linux.cc",
224 "app/linux/blimp_client_session_linux.h", 119 "app/linux/blimp_client_session_linux.h",
225 "app/linux/blimp_display_manager.cc", 120 "app/linux/blimp_display_manager.cc",
226 "app/linux/blimp_display_manager.h", 121 "app/linux/blimp_display_manager.h",
227 "app/linux/blimp_main.cc", 122 "app/linux/blimp_main.cc",
228 ] 123 ]
229 124
230 deps = [ 125 deps = [
231 ":client", 126 ":client",
232 ":compositor",
233 "//base", 127 "//base",
234 "//blimp/client:compositor", 128 "//blimp/client/core/compositor",
235 "//blimp/client/core/session", 129 "//blimp/client/core/session",
236 "//blimp/net", 130 "//blimp/net",
237 "//net", 131 "//net",
238 "//services/shell/public/cpp", 132 "//services/shell/public/cpp",
239 133
240 # TODO(khushalsagar|scottmg): Remove this dependency from browser to 134 # TODO(khushalsagar|scottmg): Remove this dependency from browser to
241 # blink. See https://crbug.com/608114. 135 # blink. See https://crbug.com/608114.
242 "//third_party/WebKit/public:blink", 136 "//third_party/WebKit/public:blink",
243 "//ui/events/platform/x11", 137 "//ui/events/platform/x11",
244 "//ui/platform_window", 138 "//ui/platform_window",
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 "app/android/javatests/src/org/chromium/blimp/core/settings/MockPreference s.java", 304 "app/android/javatests/src/org/chromium/blimp/core/settings/MockPreference s.java",
411 "app/android/javatests/src/org/chromium/blimp/BlimpNativeInstrumentationTe stCase.java", 305 "app/android/javatests/src/org/chromium/blimp/BlimpNativeInstrumentationTe stCase.java",
412 ] 306 ]
413 } 307 }
414 308
415 shared_library("blimp_client_android") { 309 shared_library("blimp_client_android") {
416 deps = [ 310 deps = [
417 ":client", 311 ":client",
418 ":jni_headers", 312 ":jni_headers",
419 "//base", 313 "//base",
420 "//blimp/client:compositor",
421 "//blimp/client/core", 314 "//blimp/client/core",
315 "//blimp/client/core/compositor",
422 "//blimp/client/core/contents", 316 "//blimp/client/core/contents",
423 "//blimp/client/core/session:session", 317 "//blimp/client/core/session:session",
318 "//blimp/client/core/settings",
424 "//blimp/client/public:public_headers", 319 "//blimp/client/public:public_headers",
425 "//blimp/common", 320 "//blimp/common",
426 "//blimp/common/proto", 321 "//blimp/common/proto",
427 "//blimp/net", 322 "//blimp/net",
428 "//components/safe_json/android:safe_json_jni_headers", 323 "//components/safe_json/android:safe_json_jni_headers",
429 "//components/version_info", 324 "//components/version_info",
430 "//net", 325 "//net",
431 "//skia", 326 "//skia",
432 "//ui/gfx/geometry", 327 "//ui/gfx/geometry",
433 "//ui/gl", 328 "//ui/gl",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 instrumentation_test_apk("blimp_test_apk") { 368 instrumentation_test_apk("blimp_test_apk") {
474 apk_name = "BlimpTest" 369 apk_name = "BlimpTest"
475 apk_under_test = ":blimp_apk" 370 apk_under_test = ":blimp_apk"
476 android_manifest = blimp_test_apk_manifest 371 android_manifest = blimp_test_apk_manifest
477 android_manifest_dep = ":blimp_test_apk_manifest" 372 android_manifest_dep = ":blimp_test_apk_manifest"
478 deps = [ 373 deps = [
479 ":blimp_test_java", 374 ":blimp_test_java",
480 ] 375 ]
481 } 376 }
482 } 377 }
OLDNEW
« no previous file with comments | « blimp/BUILD.gn ('k') | blimp/client/app/android/blimp_client_session_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698