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

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

Issue 1930303002: Simplify GN target names for //blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix blimp_shell Created 4 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 | « blimp/BUILD.gn ('k') | blimp/common/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 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("blimp_client") { 12 source_set("client") {
13 sources = [ 13 sources = [
14 "app/blimp_client_switches.cc", 14 "app/blimp_client_switches.cc",
15 "app/blimp_client_switches.h", 15 "app/blimp_client_switches.h",
16 "app/blimp_discardable_memory_allocator.cc", 16 "app/blimp_discardable_memory_allocator.cc",
17 "app/blimp_discardable_memory_allocator.h", 17 "app/blimp_discardable_memory_allocator.h",
18 "app/blimp_startup.cc", 18 "app/blimp_startup.cc",
19 "app/blimp_startup.h", 19 "app/blimp_startup.h",
20 "session/assignment_source.cc", 20 "session/assignment_source.cc",
21 "session/assignment_source.h", 21 "session/assignment_source.h",
22 "session/blimp_client_session.cc", 22 "session/blimp_client_session.cc",
23 "session/blimp_client_session.h", 23 "session/blimp_client_session.h",
24 ] 24 ]
25 25
26 public_deps = [ 26 public_deps = [
27 "//components/safe_json", 27 "//components/safe_json",
28 "//components/url_formatter", 28 "//components/url_formatter",
29 "//ui/events", 29 "//ui/events",
30 ] 30 ]
31 31
32 deps = [ 32 deps = [
33 ":feature", 33 ":feature",
34 "//base", 34 "//base",
35 "//blimp/common:blimp_common", 35 "//blimp/common",
36 "//blimp/common/proto", 36 "//blimp/common/proto",
37 "//blimp/net:blimp_net", 37 "//blimp/net",
38 "//cc", 38 "//cc",
39 "//gpu/command_buffer/client:gles2_implementation", 39 "//gpu/command_buffer/client:gles2_implementation",
40 "//gpu/skia_bindings", 40 "//gpu/skia_bindings",
41 "//net", 41 "//net",
42 "//third_party/libwebp", 42 "//third_party/libwebp",
43 "//ui/gfx/geometry", 43 "//ui/gfx/geometry",
44 "//ui/gl", 44 "//ui/gl",
45 "//url:url", 45 "//url:url",
46 ] 46 ]
47 } 47 }
48 48
49 source_set("blimp_client_unit_tests") { 49 source_set("blimp_client_unit_tests") {
50 testonly = true 50 testonly = true
51 51
52 sources = [] 52 sources = []
53 53
54 deps = [ 54 deps = [
55 ":blimp_client", 55 ":client",
56 "//base", 56 "//base",
57 "//base/test:run_all_unittests", 57 "//base/test:run_all_unittests",
58 "//base/test:test_support", 58 "//base/test:test_support",
59 "//blimp/common:blimp_common", 59 "//blimp/common",
60 "//testing/gmock", 60 "//testing/gmock",
61 "//testing/gtest", 61 "//testing/gtest",
62 ] 62 ]
63 63
64 data = [] 64 data = []
65 65
66 # TODO(dtrainor): Fix the test harness to allow this to run on Android. 66 # TODO(dtrainor): Fix the test harness to allow this to run on Android.
67 # See crbug.com/588240. 67 # See crbug.com/588240.
68 if (is_linux) { 68 if (is_linux) {
69 sources += [ "session/assignment_source_unittest.cc" ] 69 sources += [ "session/assignment_source_unittest.cc" ]
70 deps += [ 70 deps += [
71 "//components/safe_json:test_support", 71 "//components/safe_json:test_support",
72 "//net:test_support", 72 "//net:test_support",
73 ] 73 ]
74 data += [ "session/test_selfsigned_cert.pem" ] 74 data += [ "session/test_selfsigned_cert.pem" ]
75 } 75 }
76 } 76 }
77 77
78 source_set("app_unit_tests") { 78 source_set("app_unit_tests") {
79 testonly = true 79 testonly = true
80 80
81 sources = [ 81 sources = [
82 "app/blimp_discardable_memory_allocator_unittest.cc", 82 "app/blimp_discardable_memory_allocator_unittest.cc",
83 ] 83 ]
84 84
85 deps = [ 85 deps = [
86 ":blimp_client", 86 ":client",
87 "//base", 87 "//base",
88 "//base/test:run_all_unittests", 88 "//base/test:run_all_unittests",
89 "//base/test:test_support", 89 "//base/test:test_support",
90 "//testing/gmock", 90 "//testing/gmock",
91 "//testing/gtest", 91 "//testing/gtest",
92 ] 92 ]
93 } 93 }
94 94
95 source_set("feature") { 95 source_set("feature") {
96 sources = [ 96 sources = [
(...skipping 21 matching lines...) Expand all
118 "feature/navigation_feature.h", 118 "feature/navigation_feature.h",
119 "feature/render_widget_feature.cc", 119 "feature/render_widget_feature.cc",
120 "feature/render_widget_feature.h", 120 "feature/render_widget_feature.h",
121 "feature/settings_feature.cc", 121 "feature/settings_feature.cc",
122 "feature/settings_feature.h", 122 "feature/settings_feature.h",
123 "feature/tab_control_feature.cc", 123 "feature/tab_control_feature.cc",
124 "feature/tab_control_feature.h", 124 "feature/tab_control_feature.h",
125 ] 125 ]
126 126
127 deps = [ 127 deps = [
128 "//blimp/common:blimp_common", 128 "//blimp/common",
129 "//blimp/net:blimp_net", 129 "//blimp/net",
130 "//cc", 130 "//cc",
131 "//cc/proto", 131 "//cc/proto",
132 "//components/url_formatter", 132 "//components/url_formatter",
133 "//gpu/command_buffer/client", 133 "//gpu/command_buffer/client",
134 "//gpu/command_buffer/client:gl_in_process_context", 134 "//gpu/command_buffer/client:gl_in_process_context",
135 "//gpu/command_buffer/client:gles2_c_lib", 135 "//gpu/command_buffer/client:gles2_c_lib",
136 "//gpu/command_buffer/client:gles2_implementation", 136 "//gpu/command_buffer/client:gles2_implementation",
137 "//gpu/command_buffer/common:gles2_utils", 137 "//gpu/command_buffer/common:gles2_utils",
138 "//gpu/skia_bindings", 138 "//gpu/skia_bindings",
139 "//net", 139 "//net",
(...skipping 19 matching lines...) Expand all
159 "feature/navigation_feature_unittest.cc", 159 "feature/navigation_feature_unittest.cc",
160 "feature/render_widget_feature_unittest.cc", 160 "feature/render_widget_feature_unittest.cc",
161 "feature/tab_control_feature_unittest.cc", 161 "feature/tab_control_feature_unittest.cc",
162 ] 162 ]
163 163
164 deps = [ 164 deps = [
165 ":feature", 165 ":feature",
166 "//base", 166 "//base",
167 "//base/test:run_all_unittests", 167 "//base/test:run_all_unittests",
168 "//base/test:test_support", 168 "//base/test:test_support",
169 "//blimp/common:blimp_common", 169 "//blimp/common",
170 "//blimp/common/proto", 170 "//blimp/common/proto",
171 "//blimp/net:blimp_net", 171 "//blimp/net",
172 "//blimp/net:test_support", 172 "//blimp/net:test_support",
173 "//cc/proto", 173 "//cc/proto",
174 "//net", 174 "//net",
175 "//net:test_support", 175 "//net:test_support",
176 "//skia", 176 "//skia",
177 "//testing/gmock", 177 "//testing/gmock",
178 "//testing/gtest", 178 "//testing/gtest",
179 "//ui/events:gesture_detection", 179 "//ui/events:gesture_detection",
180 "//ui/gfx/geometry", 180 "//ui/gfx/geometry",
181 ] 181 ]
182 182
183 if (is_linux) { 183 if (is_linux) {
184 #TODO(khushalsagar): Run these tests for android. 184 #TODO(khushalsagar): Run these tests for android.
185 sources += [ "feature/compositor/blimp_compositor_unittest.cc" ] 185 sources += [ "feature/compositor/blimp_compositor_unittest.cc" ]
186 } 186 }
187 } 187 }
188 188
189 if (is_linux && !is_chromeos && use_x11) { 189 if (is_linux && !is_chromeos && use_x11) {
190 executable("blimp_shell") { 190 executable("blimp_shell") {
191 sources = [ 191 sources = [
192 "app/linux/blimp_client_session_linux.cc", 192 "app/linux/blimp_client_session_linux.cc",
193 "app/linux/blimp_client_session_linux.h", 193 "app/linux/blimp_client_session_linux.h",
194 "app/linux/blimp_display_manager.cc", 194 "app/linux/blimp_display_manager.cc",
195 "app/linux/blimp_display_manager.h", 195 "app/linux/blimp_display_manager.h",
196 "app/linux/blimp_main.cc", 196 "app/linux/blimp_main.cc",
197 ] 197 ]
198 198
199 deps = [ 199 deps = [
200 ":blimp_client", 200 ":client",
201 ":feature", 201 ":feature",
202 "//base", 202 "//base",
203 "//blimp/net:blimp_net", 203 "//blimp/net",
204 "//net", 204 "//net",
205 "//ui/events/platform/x11", 205 "//ui/events/platform/x11",
206 "//ui/platform_window", 206 "//ui/platform_window",
207 "//ui/platform_window/x11", 207 "//ui/platform_window/x11",
208 ] 208 ]
209 209
210 public_configs = [ "//build/config/linux:x11" ] 210 public_configs = [ "//build/config/linux:x11" ]
211 public_deps = [ 211 public_deps = [
212 "//ui/events/platform/x11", 212 "//ui/events/platform/x11",
213 ] 213 ]
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 ] 362 ]
363 363
364 java_files = [ 364 java_files = [
365 "app/android/javatests/src/org/chromium/blimp/auth/MockTokenSource.java", 365 "app/android/javatests/src/org/chromium/blimp/auth/MockTokenSource.java",
366 "app/android/javatests/src/org/chromium/blimp/auth/RetryingTokenSourceTest .java", 366 "app/android/javatests/src/org/chromium/blimp/auth/RetryingTokenSourceTest .java",
367 ] 367 ]
368 } 368 }
369 369
370 shared_library("blimp_client_android") { 370 shared_library("blimp_client_android") {
371 deps = [ 371 deps = [
372 ":blimp_client", 372 ":client",
373 ":feature", 373 ":feature",
374 ":jni_headers", 374 ":jni_headers",
375 "//base", 375 "//base",
376 "//blimp/common:blimp_common", 376 "//blimp/common",
377 "//blimp/common/proto", 377 "//blimp/common/proto",
378 "//blimp/net:blimp_net", 378 "//blimp/net",
379 "//components/safe_json/android:safe_json_jni_headers", 379 "//components/safe_json/android:safe_json_jni_headers",
380 "//components/url_formatter", 380 "//components/url_formatter",
381 "//net", 381 "//net",
382 "//skia", 382 "//skia",
383 "//ui/base/ime:text_input_types", 383 "//ui/base/ime:text_input_types",
384 "//ui/gfx/geometry", 384 "//ui/gfx/geometry",
385 "//ui/gl", 385 "//ui/gl",
386 "//url:url", 386 "//url:url",
387 ] 387 ]
388 388
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 apk_name = "BlimpTest" 430 apk_name = "BlimpTest"
431 apk_under_test = ":blimp_apk" 431 apk_under_test = ":blimp_apk"
432 android_manifest = blimp_test_apk_manifest 432 android_manifest = blimp_test_apk_manifest
433 deps = [ 433 deps = [
434 ":blimp_test_apk_manifest", 434 ":blimp_test_apk_manifest",
435 ":blimp_test_java", 435 ":blimp_test_java",
436 google_play_services_resources, 436 google_play_services_resources,
437 ] 437 ]
438 } 438 }
439 } 439 }
OLDNEW
« no previous file with comments | « blimp/BUILD.gn ('k') | blimp/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698