| 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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |