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

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

Issue 1828483002: Content "gn check" work. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 9 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 | « content/renderer/BUILD.gn ('k') | content/test/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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/sanitizers/sanitizers.gni") 6 import("//build/config/sanitizers/sanitizers.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//build/config/win/console_app.gni") 8 import("//build/config/win/console_app.gni")
9 import("//build/config/win/manifest.gni") 9 import("//build/config/win/manifest.gni")
10 import("//media/media_options.gni") 10 import("//media/media_options.gni")
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 "//components/devtools_http_handler", 214 "//components/devtools_http_handler",
215 "//components/plugins/renderer", 215 "//components/plugins/renderer",
216 "//components/test_runner:test_runner", 216 "//components/test_runner:test_runner",
217 "//components/url_formatter", 217 "//components/url_formatter",
218 "//components/web_cache/renderer", 218 "//components/web_cache/renderer",
219 "//content:resources", 219 "//content:resources",
220 "//content/app/resources", 220 "//content/app/resources",
221 "//content/app/strings", 221 "//content/app/strings",
222 "//content/gpu", 222 "//content/gpu",
223 "//content/test:layouttest_support", 223 "//content/test:layouttest_support",
224 "//content/test:test_support",
224 "//device/bluetooth", 225 "//device/bluetooth",
225 "//device/bluetooth:mocks", 226 "//device/bluetooth:mocks",
226 "//gin", 227 "//gin",
227 "//gpu", 228 "//gpu",
228 "//ipc", 229 "//ipc",
229 "//media", 230 "//media",
231 "//media/mojo/services:application_factory",
230 "//net", 232 "//net",
231 "//net:net_resources", 233 "//net:net_resources",
232 "//skia", 234 "//skia",
233 "//storage/browser", 235 "//storage/browser",
234 "//testing/gmock", 236 "//testing/gmock",
235 "//testing/gtest", 237 "//testing/gtest",
236 "//third_party/WebKit/public:blink", 238 "//third_party/WebKit/public:blink",
237 "//third_party/WebKit/public:image_resources", 239 "//third_party/WebKit/public:image_resources",
238 "//third_party/WebKit/public:resources", 240 "//third_party/WebKit/public:resources",
239 "//third_party/WebKit/public:test_support", 241 "//third_party/WebKit/public:test_support",
240 "//third_party/icu", 242 "//third_party/icu",
241 "//ui/base", 243 "//ui/base",
242 "//ui/base/ime", 244 "//ui/base/ime",
243 "//ui/events:events_base", 245 "//ui/events:events_base",
244 "//ui/gfx", 246 "//ui/gfx",
245 "//ui/gfx/geometry", 247 "//ui/gfx/geometry",
246 "//ui/gfx/ipc", 248 "//ui/gfx/ipc",
247 "//ui/gl", 249 "//ui/gl",
248 "//url", 250 "//url",
249 "//v8", 251 "//v8",
250 252
251 #'copy_test_netscape_plugin', TODO(GYP) 253 #'copy_test_netscape_plugin', TODO(GYP)
252 ] 254 ]
253 if (enable_plugins) { 255 if (enable_plugins) {
254 deps += [ 256 deps += [
255 "//content/ppapi_plugin", 257 "//content/ppapi_plugin",
256 "//ppapi:blink_deprecated_test_plugin", 258 "//ppapi:blink_deprecated_test_plugin",
257 "//ppapi:blink_test_plugin", 259 "//ppapi:blink_test_plugin",
260 "//ppapi/shared_impl",
258 ] 261 ]
259 } 262 }
260 if (mojo_media_host == "browser") { 263 if (mojo_media_host == "browser") {
261 deps += [ "//media/mojo/services:application_factory" ] 264 deps += [ "//media/mojo/services:application_factory" ]
262 } 265 }
263 266
264 if (is_win) { 267 if (is_win) {
265 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP) 268 #'LinkIncremental': '<(msvs_large_module_debug_link_mode)', TODO(GYP)
266 sources += [ 269 sources += [
267 "common/v8_breakpad_support_win.cc", 270 "common/v8_breakpad_support_win.cc",
268 "common/v8_breakpad_support_win.h", 271 "common/v8_breakpad_support_win.h",
269 ] 272 ]
270 } 273 }
271 274
272 if (is_linux) { 275 if (is_linux) {
273 deps += [ "//build/linux:fontconfig" ] 276 deps += [
277 "//build/linux:fontconfig",
278 "//ui/gfx:test_support",
279 ]
274 } 280 }
275 281
276 if (use_x11) { 282 if (use_x11) {
277 # Some tests rely on this tool at runtime. Note: it might be better if 283 # Some tests rely on this tool at runtime. Note: it might be better if
278 # the tests that needed it had this as a dep instead of adding it here. 284 # the tests that needed it had this as a dep instead of adding it here.
279 data_deps = [ 285 data_deps = [
280 "//tools/xdisplaycheck", 286 "//tools/xdisplaycheck",
281 ] 287 ]
282 288
283 deps += [ "//ui/events/devices" ] 289 deps += [ "//ui/events/devices" ]
284 } 290 }
285 291
286 if (is_android) { 292 if (is_android) {
287 deps += [ "//content/shell/android:content_shell_jni_headers" ] 293 deps += [ "//content/shell/android:content_shell_jni_headers" ]
288 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP) 294 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP)
289 } 295 }
290 296
291 if (is_posix && !is_mac) { 297 if (is_posix && !is_mac) {
292 deps += [ "//components/crash/content/browser" ] 298 deps += [
299 "//components/crash/content/app",
300 "//components/crash/content/browser",
301 ]
293 } 302 }
294 303
295 if (use_aura) { 304 if (use_aura) {
296 deps += [ 305 deps += [
297 "//ui/aura", 306 "//ui/aura",
298 "//ui/aura:test_support", 307 "//ui/aura:test_support",
299 "//ui/events", 308 "//ui/events",
300 "//ui/strings", 309 "//ui/strings",
301 "//ui/wm", 310 "//ui/wm",
302 ] 311 ]
303 312
304 if (toolkit_views) { 313 if (toolkit_views) {
305 sources += [ "browser/shell_views.cc" ] 314 sources += [ "browser/shell_views.cc" ]
306 deps += [ 315 deps += [
307 "//ui/resources", 316 "//ui/resources",
308 "//ui/views", 317 "//ui/views",
309 "//ui/views:test_support", 318 "//ui/views:test_support",
310 "//ui/views/controls/webview", 319 "//ui/views/controls/webview",
320 "//ui/wm:test_support",
311 ] 321 ]
312 } else { 322 } else {
313 sources += [ "browser/shell_aura.cc" ] 323 sources += [ "browser/shell_aura.cc" ]
314 } 324 }
315 } else { 325 } else {
316 sources -= [ 326 sources -= [
317 "browser/shell_platform_data_aura.cc", 327 "browser/shell_platform_data_aura.cc",
318 "browser/shell_platform_data_aura.h", 328 "browser/shell_platform_data_aura.h",
319 ] 329 ]
320 } 330 }
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 sources = [ 522 sources = [
513 "app/shell_content_main.cc", 523 "app/shell_content_main.cc",
514 "app/shell_content_main.h", 524 "app/shell_content_main.h",
515 ] 525 ]
516 526
517 deps = [ 527 deps = [
518 ":content_shell_lib", 528 ":content_shell_lib",
519 ] 529 ]
520 } 530 }
521 } 531 }
OLDNEW
« no previous file with comments | « content/renderer/BUILD.gn ('k') | content/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698