OLD | NEW |
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/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//build/config/win/manifest.gni") | 7 import("//build/config/win/manifest.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 import("//tools/grit/grit_rule.gni") | 9 import("//tools/grit/grit_rule.gni") |
10 if (is_android) { | 10 if (is_android) { |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 | 267 |
268 if (is_android) { | 268 if (is_android) { |
269 deps += [ "//content/shell/android:content_shell_jni_headers" ] | 269 deps += [ "//content/shell/android:content_shell_jni_headers" ] |
270 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP) | 270 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP) |
271 } | 271 } |
272 | 272 |
273 if (is_posix && !is_mac) { | 273 if (is_posix && !is_mac) { |
274 deps += [ "//components/crash/browser" ] | 274 deps += [ "//components/crash/browser" ] |
275 } | 275 } |
276 | 276 |
277 if (use_aura) { | 277 if (is_android && use_aura) { |
| 278 sources -= [ |
| 279 "browser/shell_android.cc", |
| 280 "android/shell_manager.cc", |
| 281 "android/shell_manager.h", |
| 282 ] |
278 deps += [ | 283 deps += [ |
279 "//ui/aura", | 284 "//ui/aura", |
280 "//ui/aura:test_support", | 285 "//ui/aura:test_support", |
281 "//ui/events", | 286 "//ui/events", |
282 "//ui/strings", | 287 "//ui/strings", |
283 "//ui/wm", | 288 "//ui/wm", |
284 ] | 289 ] |
285 | 290 |
286 if (toolkit_views) { | 291 if (toolkit_views) { |
287 sources += [ "browser/shell_views.cc" ] | 292 sources += [ "browser/shell_views.cc" ] |
(...skipping 14 matching lines...) Expand all Loading... |
302 } | 307 } |
303 | 308 |
304 # The test plugin relies on X11. | 309 # The test plugin relies on X11. |
305 if (is_linux && !use_x11) { | 310 if (is_linux && !use_x11) { |
306 #deps -= [ 'copy_test_netscape_plugin' ] TODO(GYP) | 311 #deps -= [ 'copy_test_netscape_plugin' ] TODO(GYP) |
307 } | 312 } |
308 | 313 |
309 if (is_chromeos) { | 314 if (is_chromeos) { |
310 deps += [ | 315 deps += [ |
311 "//chromeos", | 316 "//chromeos", |
| 317 ] |
| 318 } |
| 319 |
| 320 if (is_chromeos || is_android) { |
| 321 deps += [ |
312 "//ui/wm:test_support", | 322 "//ui/wm:test_support", |
313 ] | 323 ] |
314 } | 324 } |
315 | 325 |
316 if (is_linux) { | 326 if (is_linux) { |
317 deps += [ "//third_party/freetype2" ] | 327 deps += [ "//third_party/freetype2" ] |
318 } | 328 } |
319 | 329 |
320 if (!enable_plugins) { | 330 if (!enable_plugins) { |
321 sources -= [ | 331 sources -= [ |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
458 | 468 |
459 deps = [ | 469 deps = [ |
460 "//base", | 470 "//base", |
461 "//components/crash/tools:crash_service", | 471 "//components/crash/tools:crash_service", |
462 ] | 472 ] |
463 | 473 |
464 configs -= [ "//build/config/win:console" ] | 474 configs -= [ "//build/config/win:console" ] |
465 configs += [ "//build/config/win:windowed" ] | 475 configs += [ "//build/config/win:windowed" ] |
466 } | 476 } |
467 } | 477 } |
OLD | NEW |