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

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

Issue 2029703002: Moving VR service from /content/browser to /device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added nogncheck to failing include Created 4 years, 6 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 | « no previous file | content/browser/DEPS » ('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/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 483 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 } 494 }
495 495
496 if (is_linux) { 496 if (is_linux) {
497 deps += [ "//third_party/boringssl" ] 497 deps += [ "//third_party/boringssl" ]
498 } 498 }
499 499
500 if (enable_mojo_media) { 500 if (enable_mojo_media) {
501 configs += [ "//media/mojo/services:mojo_media_config" ] 501 configs += [ "//media/mojo/services:mojo_media_config" ]
502 } 502 }
503 503
504 if (enable_webvr) {
505 sources += [
506 "vr/vr_device.cc",
507 "vr/vr_device.h",
508 "vr/vr_device_manager.cc",
509 "vr/vr_device_manager.h",
510 "vr/vr_device_provider.h",
511 ]
512 }
513
514 if (enable_webvr && is_android) {
515 sources += [
516 "vr/android/cardboard/cardboard_vr_device.cc",
517 "vr/android/cardboard/cardboard_vr_device.h",
518 "vr/android/cardboard/cardboard_vr_device_provider.cc",
519 "vr/android/cardboard/cardboard_vr_device_provider.h",
520 ]
521 }
522
523 if (use_ozone) { 504 if (use_ozone) {
524 deps += [ "//ui/ozone" ] 505 deps += [ "//ui/ozone" ]
525 } 506 }
526 507
527 if (!is_mac && !is_android) { 508 if (!is_mac && !is_android) {
528 sources -= [ 509 sources -= [
529 "gpu/gpu_surface_tracker.cc", 510 "gpu/gpu_surface_tracker.cc",
530 "gpu/gpu_surface_tracker.h", 511 "gpu/gpu_surface_tracker.h",
531 ] 512 ]
532 } 513 }
514
515 if (enable_webvr) {
516 deps += [ "//device/vr" ]
517 }
533 } 518 }
534 519
535 # See comment at the top of //content/BUILD.gn for how this works. 520 # See comment at the top of //content/BUILD.gn for how this works.
536 group("for_content_tests") { 521 group("for_content_tests") {
537 visibility = [ "//content/test/*" ] 522 visibility = [ "//content/test/*" ]
538 if (!is_component_build) { 523 if (!is_component_build) {
539 public_deps = [ 524 public_deps = [
540 ":browser", 525 ":browser",
541 ] 526 ]
542 } else { 527 } else {
543 public_deps = [ 528 public_deps = [
544 "//third_party/leveldatabase", 529 "//third_party/leveldatabase",
545 ] 530 ]
546 } 531 }
547 } 532 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698