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

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

Issue 1920833003: Use VulkanBrowserCompositorOS only for Aura. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | no next file » | 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 "web_contents/web_contents_view_aura.cc", 453 "web_contents/web_contents_view_aura.cc",
454 "web_contents/web_contents_view_aura.h", 454 "web_contents/web_contents_view_aura.h",
455 ] 455 ]
456 } 456 }
457 457
458 if (use_aura || is_mac) { 458 if (use_aura || is_mac) {
459 sources += 459 sources +=
460 rebase_path(content_browser_gypi_values.compositor_browser_sources, 460 rebase_path(content_browser_gypi_values.compositor_browser_sources,
461 ".", 461 ".",
462 "//content") 462 "//content")
463 if (enable_vulkan) {
464 sources += [
465 "compositor/vulkan_browser_compositor_output_surface.cc",
466 "compositor/vulkan_browser_compositor_output_surface.h",
467 ]
468 }
463 if (!use_x11) { 469 if (!use_x11) {
464 sources -= [ 470 sources -= [
465 "compositor/software_output_device_x11.cc", 471 "compositor/software_output_device_x11.cc",
466 "compositor/software_output_device_x11.h", 472 "compositor/software_output_device_x11.h",
467 ] 473 ]
468 } 474 }
469 475
470 if (!use_ozone) { 476 if (!use_ozone) {
471 sources -= [ 477 sources -= [
472 "compositor/browser_compositor_overlay_candidate_validator_ozone.cc", 478 "compositor/browser_compositor_overlay_candidate_validator_ozone.cc",
473 "compositor/browser_compositor_overlay_candidate_validator_ozone.h", 479 "compositor/browser_compositor_overlay_candidate_validator_ozone.h",
474 "compositor/software_output_device_ozone.cc", 480 "compositor/software_output_device_ozone.cc",
475 "compositor/software_output_device_ozone.h", 481 "compositor/software_output_device_ozone.h",
476 ] 482 ]
477 } 483 }
478 deps += [ "//ui/compositor" ] 484 deps += [ "//ui/compositor" ]
479 } 485 }
480 486
481 if (enable_vulkan) {
482 sources += [
483 "compositor/vulkan_browser_compositor_output_surface.cc",
484 "compositor/vulkan_browser_compositor_output_surface.h",
485 ]
486 }
487
488 if (enable_web_speech) { 487 if (enable_web_speech) {
489 deps += [ "//third_party/flac" ] 488 deps += [ "//third_party/flac" ]
490 } 489 }
491 490
492 if (is_linux && use_dbus) { 491 if (is_linux && use_dbus) {
493 deps += [ "//dbus" ] 492 deps += [ "//dbus" ]
494 } 493 }
495 494
496 if (enable_browser_cdms) { 495 if (enable_browser_cdms) {
497 sources += [ 496 sources += [
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 533
535 # See comment at the top of //content/BUILD.gn for how this works. 534 # See comment at the top of //content/BUILD.gn for how this works.
536 group("for_content_tests") { 535 group("for_content_tests") {
537 visibility = [ "//content/test/*" ] 536 visibility = [ "//content/test/*" ]
538 if (!is_component_build) { 537 if (!is_component_build) {
539 public_deps = [ 538 public_deps = [
540 ":browser", 539 ":browser",
541 ] 540 ]
542 } 541 }
543 } 542 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698