| 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/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/manifest.gni") | 8 import("//build/config/win/manifest.gni") |
| 9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
| 10 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 269 | 269 |
| 270 if (is_android) { | 270 if (is_android) { |
| 271 deps += [ "//content/shell/android:content_shell_jni_headers" ] | 271 deps += [ "//content/shell/android:content_shell_jni_headers" ] |
| 272 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP) | 272 #deps -= [ "copy_test_netscape_plugin" ] TODO(GYP) |
| 273 } | 273 } |
| 274 | 274 |
| 275 if (is_posix && !is_mac) { | 275 if (is_posix && !is_mac) { |
| 276 deps += [ "//components/crash/content/browser" ] | 276 deps += [ "//components/crash/content/browser" ] |
| 277 } | 277 } |
| 278 | 278 |
| 279 if (use_aura) { | 279 if (is_android && use_aura) { |
| 280 sources -= [ |
| 281 "browser/shell_android.cc", |
| 282 "android/shell_manager.cc", |
| 283 "android/shell_manager.h", |
| 284 ] |
| 280 deps += [ | 285 deps += [ |
| 281 "//ui/aura", | 286 "//ui/aura", |
| 282 "//ui/aura:test_support", | 287 "//ui/aura:test_support", |
| 283 "//ui/events", | 288 "//ui/events", |
| 284 "//ui/strings", | 289 "//ui/strings", |
| 285 "//ui/wm", | 290 "//ui/wm", |
| 286 ] | 291 ] |
| 287 | 292 |
| 288 if (toolkit_views) { | 293 if (toolkit_views) { |
| 289 sources += [ "browser/shell_views.cc" ] | 294 sources += [ "browser/shell_views.cc" ] |
| (...skipping 14 matching lines...) Expand all Loading... |
| 304 } | 309 } |
| 305 | 310 |
| 306 # The test plugin relies on X11. | 311 # The test plugin relies on X11. |
| 307 if (is_linux && !use_x11) { | 312 if (is_linux && !use_x11) { |
| 308 #deps -= [ 'copy_test_netscape_plugin' ] TODO(GYP) | 313 #deps -= [ 'copy_test_netscape_plugin' ] TODO(GYP) |
| 309 } | 314 } |
| 310 | 315 |
| 311 if (is_chromeos) { | 316 if (is_chromeos) { |
| 312 deps += [ | 317 deps += [ |
| 313 "//chromeos", | 318 "//chromeos", |
| 319 ] |
| 320 } |
| 321 |
| 322 if (is_chromeos || (is_android && use_aura)) { |
| 323 deps += [ |
| 314 "//ui/wm:test_support", | 324 "//ui/wm:test_support", |
| 315 ] | 325 ] |
| 316 } | 326 } |
| 317 | 327 |
| 318 if (is_linux && !is_chromecast) { | 328 if (is_linux && !is_chromecast) { |
| 319 deps += [ "//third_party/freetype2" ] | 329 deps += [ "//third_party/freetype2" ] |
| 320 } | 330 } |
| 321 | 331 |
| 322 if (!enable_plugins) { | 332 if (!enable_plugins) { |
| 323 sources -= [ | 333 sources -= [ |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 sources = [ | 497 sources = [ |
| 488 "app/shell_content_main.cc", | 498 "app/shell_content_main.cc", |
| 489 "app/shell_content_main.h", | 499 "app/shell_content_main.h", |
| 490 ] | 500 ] |
| 491 | 501 |
| 492 deps = [ | 502 deps = [ |
| 493 ":content_shell_lib", | 503 ":content_shell_lib", |
| 494 ] | 504 ] |
| 495 } | 505 } |
| 496 } | 506 } |
| OLD | NEW |