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

Side by Side Diff: content/test/BUILD.gn

Issue 1478633002: Removing references to //ppapi when is_android = true (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix analyze failure Created 5 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 | « content/shell/renderer/shell_content_renderer_client.cc ('k') | ppapi/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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/chrome_build.gni") 5 import("//build/config/chrome_build.gni")
6 import("//build/config/crypto.gni") 6 import("//build/config/crypto.gni")
7 import("//build/config/features.gni") 7 import("//build/config/features.gni")
8 import("//build/config/ui.gni") 8 import("//build/config/ui.gni")
9 import("//build_overrides/v8.gni") 9 import("//build_overrides/v8.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 "//ui/events:events_base", 49 "//ui/events:events_base",
50 "//ui/events:gesture_detection", 50 "//ui/events:gesture_detection",
51 "//ui/events:test_support", 51 "//ui/events:test_support",
52 "//ui/gfx:test_support", 52 "//ui/gfx:test_support",
53 "//ui/gl", 53 "//ui/gl",
54 "//ui/gl:test_support", 54 "//ui/gl:test_support",
55 "//ui/resources", 55 "//ui/resources",
56 "//url", 56 "//url",
57 ] 57 ]
58 58
59 if (!is_ios) { 59 if (is_ios) {
60 sources = [
61 "public/test/content_test_suite_base.cc",
62 "public/test/mock_notification_observer.cc",
63 "public/test/mock_resource_context.cc",
64 "public/test/test_browser_thread.cc",
65 "public/test/test_content_client_initializer.cc",
66 "public/test/test_notification_tracker.cc",
67 "public/test/test_utils.cc",
68 "public/test/unittest_test_suite.cc",
69 "test/content_test_suite.cc",
70 "test/test_content_browser_client.cc",
71 "test/test_content_client.cc",
72 ]
73 } else {
60 sources = 74 sources =
61 rebase_path(content_tests_gypi_values.test_support_content_sources, 75 rebase_path(content_tests_gypi_values.test_support_content_sources,
62 ".", 76 ".",
63 "//content") 77 "//content")
64 78
65 public_deps += [ "//third_party/WebKit/public:blink" ] 79 public_deps += [ "//third_party/WebKit/public:blink" ]
66 deps += [ 80 deps += [
67 ":content_test_mojo_bindings", 81 ":content_test_mojo_bindings",
68 "//cc", 82 "//cc",
69 "//cc:test_support", 83 "//cc:test_support",
70 "//components/scheduler:scheduler", 84 "//components/scheduler:scheduler",
71 "//components/scheduler:test_support", 85 "//components/scheduler:test_support",
72 "//content/browser/speech/proto", 86 "//content/browser/speech/proto",
73 "//content/gpu", 87 "//content/gpu",
74 "//content/public/child", 88 "//content/public/child",
75 "//content/public/plugin", 89 "//content/public/plugin",
76 "//content/public/renderer", 90 "//content/public/renderer",
77 "//content/public/utility", 91 "//content/public/utility",
78 "//content/shell:pak", 92 "//content/shell:pak",
79 "//ipc/mojo", 93 "//ipc/mojo",
80 "//media", 94 "//media",
81 "//mojo/application/public/cpp:cpp_for_chromium", 95 "//mojo/application/public/cpp:cpp_for_chromium",
82 "//mojo/environment:chromium", 96 "//mojo/environment:chromium",
83 "//ppapi/host",
84 "//ppapi/proxy",
85 "//ppapi/proxy:test_support",
86 "//ppapi/shared_impl",
87 "//ppapi/shared_impl:test_support",
88 "//storage/browser", 97 "//storage/browser",
89 "//storage/common", 98 "//storage/common",
90 "//ui/compositor:test_support", 99 "//ui/compositor:test_support",
91 "//ui/surface", 100 "//ui/surface",
92 "//v8", 101 "//v8",
93 ] 102 ]
103 }
94 104
95 if (enable_plugins) { 105 if (enable_plugins) {
96 deps += [ "//content/ppapi_plugin" ] 106 deps += [
97 } 107 "//content/ppapi_plugin",
108 "//ppapi/host",
109 "//ppapi/proxy",
110 "//ppapi/proxy:test_support",
111 "//ppapi/shared_impl",
112 "//ppapi/shared_impl:test_support",
113 ]
114 } else if (!is_ios) {
115 sources -= [ "ppapi_unittest.cc" ]
116 }
98 117
99 if (enable_webrtc) { 118 if (enable_webrtc) {
100 sources += [ 119 sources += [
101 "../renderer/media/mock_data_channel_impl.cc", 120 "../renderer/media/mock_data_channel_impl.cc",
102 "../renderer/media/mock_data_channel_impl.h", 121 "../renderer/media/mock_data_channel_impl.h",
103 "../renderer/media/mock_media_stream_dispatcher.cc", 122 "../renderer/media/mock_media_stream_dispatcher.cc",
104 "../renderer/media/mock_media_stream_dispatcher.h", 123 "../renderer/media/mock_media_stream_dispatcher.h",
105 "../renderer/media/mock_peer_connection_impl.cc", 124 "../renderer/media/mock_peer_connection_impl.cc",
106 "../renderer/media/mock_peer_connection_impl.h", 125 "../renderer/media/mock_peer_connection_impl.h",
107 "../renderer/media/mock_web_rtc_peer_connection_handler_client.cc", 126 "../renderer/media/mock_web_rtc_peer_connection_handler_client.cc",
108 "../renderer/media/mock_web_rtc_peer_connection_handler_client.h", 127 "../renderer/media/mock_web_rtc_peer_connection_handler_client.h",
109 "../renderer/media/webrtc/mock_peer_connection_dependency_factory.cc", 128 "../renderer/media/webrtc/mock_peer_connection_dependency_factory.cc",
110 "../renderer/media/webrtc/mock_peer_connection_dependency_factory.h", 129 "../renderer/media/webrtc/mock_peer_connection_dependency_factory.h",
111 ] 130 ]
112 131
113 deps += [ 132 deps += [
114 "//third_party/libjingle:libjingle_webrtc", 133 "//third_party/libjingle:libjingle_webrtc",
115 "//third_party/libjingle:libpeerconnection", 134 "//third_party/libjingle:libpeerconnection",
116 "//third_party/webrtc/modules/video_capture", 135 "//third_party/webrtc/modules/video_capture",
117 ]
118 }
119 if (!enable_plugins) {
120 sources -= [ "ppapi_unittest.cc" ]
121 }
122
123 if (use_glib) {
124 configs += [ "//build/config/linux:glib" ]
125 }
126
127 if (use_aura) {
128 deps += [
129 "//ui/aura:test_support",
130 "//ui/resources:ui_test_pak",
131 "//ui/wm",
132 ]
133 }
134
135 if (use_aura || is_mac) {
136 deps += [
137 "//third_party/libvpx_new",
138 "//ui/compositor",
139 ]
140
141 sources += [
142 "../browser/compositor/test/no_transport_image_transport_factory.cc",
143 "../browser/compositor/test/no_transport_image_transport_factory.h",
144 ]
145 }
146
147 if (use_ozone) {
148 deps += [ "//ui/ozone" ]
149 }
150
151 if (is_win) {
152 deps += [
153 "//content:sandbox_helper_win",
154 "//third_party/iaccessible2",
155 ]
156 }
157
158 if (is_android && !use_aura) {
159 deps += [
160 "//ui/android",
161 "//ui/shell_dialogs",
162 ]
163 }
164
165 if (is_win) {
166 deps += [ "//sandbox" ]
167 }
168 } else { # is_ios
169 sources = [
170 "public/test/content_test_suite_base.cc",
171 "public/test/mock_notification_observer.cc",
172 "public/test/mock_resource_context.cc",
173 "public/test/test_browser_thread.cc",
174 "public/test/test_content_client_initializer.cc",
175 "public/test/test_notification_tracker.cc",
176 "public/test/test_utils.cc",
177 "public/test/unittest_test_suite.cc",
178 "test/content_test_suite.cc",
179 "test/test_content_browser_client.cc",
180 "test/test_content_client.cc",
181 ] 136 ]
182 } 137 }
138
139 if (use_glib) {
140 configs += [ "//build/config/linux:glib" ]
141 }
142
143 if (use_aura) {
144 deps += [
145 "//ui/aura:test_support",
146 "//ui/resources:ui_test_pak",
147 "//ui/wm",
148 ]
149 }
150
151 if (use_aura || is_mac) {
152 deps += [
153 "//third_party/libvpx_new",
154 "//ui/compositor",
155 ]
156
157 sources += [
158 "../browser/compositor/test/no_transport_image_transport_factory.cc",
159 "../browser/compositor/test/no_transport_image_transport_factory.h",
160 ]
161 }
162
163 if (use_ozone) {
164 deps += [ "//ui/ozone" ]
165 }
166
167 if (is_win) {
168 deps += [
169 "//content:sandbox_helper_win",
170 "//third_party/iaccessible2",
171 ]
172 }
173
174 if (is_android && !use_aura) {
175 deps += [
176 "//ui/android",
177 "//ui/shell_dialogs",
178 ]
179 }
180
181 if (is_win) {
182 deps += [ "//sandbox" ]
183 }
184
183 if (v8_use_external_startup_data) { 185 if (v8_use_external_startup_data) {
184 deps += [ "//gin:gin" ] 186 deps += [ "//gin:gin" ]
185 } 187 }
186 } 188 }
187 189
188 source_set("browsertest_support") { 190 source_set("browsertest_support") {
189 testonly = true 191 testonly = true
190 192
191 sources = [ 193 sources = [
192 "../public/test/content_browser_test.cc", 194 "../public/test/content_browser_test.cc",
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 "//media:shared_memory_support", 377 "//media:shared_memory_support",
376 "//media:test_support", 378 "//media:test_support",
377 "//media/audio:test_support", 379 "//media/audio:test_support",
378 "//media/base:test_support", 380 "//media/base:test_support",
379 "//mojo/application/public/cpp:cpp_for_chromium", 381 "//mojo/application/public/cpp:cpp_for_chromium",
380 "//mojo/environment:chromium", 382 "//mojo/environment:chromium",
381 "//mojo/public/cpp/bindings", 383 "//mojo/public/cpp/bindings",
382 "//mojo/public/js", 384 "//mojo/public/js",
383 "//mojo/test:test_support", 385 "//mojo/test:test_support",
384 "//net:test_support", 386 "//net:test_support",
385 "//ppapi/host",
386 "//ppapi/proxy",
387 "//ppapi/proxy:ipc",
388 "//ppapi/shared_impl",
389 "//testing/gmock", 387 "//testing/gmock",
390 "//testing/gtest", 388 "//testing/gtest",
391 "//third_party/WebKit/public:blink", 389 "//third_party/WebKit/public:blink",
392 "//third_party/leveldatabase", 390 "//third_party/leveldatabase",
393 "//third_party/mesa:osmesa", 391 "//third_party/mesa:osmesa",
394 "//third_party/mojo/src/mojo/edk/system", 392 "//third_party/mojo/src/mojo/edk/system",
395 "//third_party/mojo/src/mojo/edk/test:test_support", 393 "//third_party/mojo/src/mojo/edk/test:test_support",
396 "//third_party/zlib", 394 "//third_party/zlib",
397 "//ui/accessibility", 395 "//ui/accessibility",
398 "//ui/accessibility:ax_gen", 396 "//ui/accessibility:ax_gen",
399 "//ui/base", 397 "//ui/base",
400 "//ui/base/ime", 398 "//ui/base/ime",
401 "//ui/gfx", 399 "//ui/gfx",
402 "//ui/gfx/geometry", 400 "//ui/gfx/geometry",
403 "//ui/gl", 401 "//ui/gl",
404 "//ui/gl:test_support", 402 "//ui/gl:test_support",
405 "//ui/resources", 403 "//ui/resources",
406 "//ui/shell_dialogs", 404 "//ui/shell_dialogs",
407 "//ui/snapshot", 405 "//ui/snapshot",
408 ] 406 ]
409 407
410 data_deps = [ 408 data_deps = [
411 "//ppapi:ppapi_tests",
412 "//third_party/mesa:osmesa", 409 "//third_party/mesa:osmesa",
413 ] 410 ]
414 411
412 if (enable_plugins) {
413 deps += [
414 "//ppapi/host",
415 "//ppapi/proxy",
416 "//ppapi/proxy:ipc",
417 "//ppapi/shared_impl",
418 ]
419 data_deps += [ "//ppapi:ppapi_tests" ]
420 }
421
415 if (is_win) { 422 if (is_win) {
416 sources += 423 sources +=
417 rebase_path(content_tests_gypi_values.content_browsertests_win_sources, 424 rebase_path(content_tests_gypi_values.content_browsertests_win_sources,
418 ".", 425 ".",
419 "//content") 426 "//content")
420 427
421 deps += [ 428 deps += [
422 "//content/app/strings", 429 "//content/app/strings",
423 "//net:net_resources", 430 "//net:net_resources",
424 "//third_party/WebKit/public:resources", 431 "//third_party/WebKit/public:resources",
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 "//media/base/android", 905 "//media/base/android",
899 "//testing/gmock", 906 "//testing/gmock",
900 ] 907 ]
901 apk_deps = [ 908 apk_deps = [
902 "//media/base/android:media_java", 909 "//media/base/android:media_java",
903 "//ui/android:ui_java", 910 "//ui/android:ui_java",
904 ] 911 ]
905 } 912 }
906 } 913 }
907 } 914 }
OLDNEW
« no previous file with comments | « content/shell/renderer/shell_content_renderer_client.cc ('k') | ppapi/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698