| 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("//content/browser/browser.gni") | 7 import("//content/browser/browser.gni") |
| 8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
| 9 | 9 |
| 10 source_set("browser") { | 10 source_set("browser") { |
| (...skipping 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 } | 495 } |
| 496 | 496 |
| 497 if (is_linux) { | 497 if (is_linux) { |
| 498 deps += [ "//third_party/boringssl" ] | 498 deps += [ "//third_party/boringssl" ] |
| 499 } | 499 } |
| 500 | 500 |
| 501 if (enable_mojo_media) { | 501 if (enable_mojo_media) { |
| 502 configs += [ "//media/mojo/services:mojo_media_config" ] | 502 configs += [ "//media/mojo/services:mojo_media_config" ] |
| 503 } | 503 } |
| 504 | 504 |
| 505 if (enable_webvr) { | |
| 506 sources += [ | |
| 507 "vr/vr_device.cc", | |
| 508 "vr/vr_device.h", | |
| 509 "vr/vr_device_manager.cc", | |
| 510 "vr/vr_device_manager.h", | |
| 511 "vr/vr_device_provider.h", | |
| 512 ] | |
| 513 } | |
| 514 | |
| 515 if (enable_webvr && is_android) { | |
| 516 sources += [ | |
| 517 "vr/android/cardboard/cardboard_vr_device.cc", | |
| 518 "vr/android/cardboard/cardboard_vr_device.h", | |
| 519 "vr/android/cardboard/cardboard_vr_device_provider.cc", | |
| 520 "vr/android/cardboard/cardboard_vr_device_provider.h", | |
| 521 ] | |
| 522 } | |
| 523 | |
| 524 if (use_ozone) { | 505 if (use_ozone) { |
| 525 deps += [ "//ui/ozone" ] | 506 deps += [ "//ui/ozone" ] |
| 526 } | 507 } |
| 527 | 508 |
| 528 if (!is_mac && !is_android) { | 509 if (!is_mac && !is_android) { |
| 529 sources -= [ | 510 sources -= [ |
| 530 "gpu/gpu_surface_tracker.cc", | 511 "gpu/gpu_surface_tracker.cc", |
| 531 "gpu/gpu_surface_tracker.h", | 512 "gpu/gpu_surface_tracker.h", |
| 532 ] | 513 ] |
| 533 } | 514 } |
| 515 |
| 516 if (enable_webvr) { |
| 517 deps += [ "//device/vr" ] |
| 518 } |
| 534 } | 519 } |
| 535 | 520 |
| 536 # See comment at the top of //content/BUILD.gn for how this works. | 521 # See comment at the top of //content/BUILD.gn for how this works. |
| 537 group("for_content_tests") { | 522 group("for_content_tests") { |
| 538 visibility = [ "//content/test/*" ] | 523 visibility = [ "//content/test/*" ] |
| 539 if (!is_component_build) { | 524 if (!is_component_build) { |
| 540 public_deps = [ | 525 public_deps = [ |
| 541 ":browser", | 526 ":browser", |
| 542 ] | 527 ] |
| 543 } else { | 528 } else { |
| 544 public_deps = [ | 529 public_deps = [ |
| 545 "//third_party/leveldatabase", | 530 "//third_party/leveldatabase", |
| 546 ] | 531 ] |
| 547 } | 532 } |
| 548 } | 533 } |
| OLD | NEW |