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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/BUILD.gn
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn
index b98c5f9e592e921ffd5c00517ce645615fdce957..f333a9a0dfc17e4ee16b285268364e2cf15d72f2 100644
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -460,6 +460,12 @@ source_set("browser") {
rebase_path(content_browser_gypi_values.compositor_browser_sources,
".",
"//content")
+ if (enable_vulkan) {
+ sources += [
+ "compositor/vulkan_browser_compositor_output_surface.cc",
+ "compositor/vulkan_browser_compositor_output_surface.h",
+ ]
+ }
if (!use_x11) {
sources -= [
"compositor/software_output_device_x11.cc",
@@ -478,13 +484,6 @@ source_set("browser") {
deps += [ "//ui/compositor" ]
}
- if (enable_vulkan) {
- sources += [
- "compositor/vulkan_browser_compositor_output_surface.cc",
- "compositor/vulkan_browser_compositor_output_surface.h",
- ]
- }
-
if (enable_web_speech) {
deps += [ "//third_party/flac" ]
}
« 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