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

Unified Diff: content/common/BUILD.gn

Issue 701033005: content: Move type selection logic out of GpuMemoryBufferImpl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address review feedback Created 6 years, 1 month 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
Index: content/common/BUILD.gn
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
index eb1f6b3781e3b884cd0ce46130d4efca236e720b..b53d7ac7e1e05ebd602a9a93e1fce6ab3ae7a0ca 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -149,19 +149,23 @@ source_set("common") {
assert(false, "Need to add lots of conditions here")
}
- if (!use_ozone) {
- sources -= [
- "cursors/webcursor_ozone.cc",
- "font_list_ozone.cc",
- "gpu/gpu_memory_buffer_factory_ozone.cc",
- ]
- } else {
+ if (use_ozone) {
sources -= [
+ "gpu/client/gpu_memory_buffer_impl_linux.cc",
"gpu/gpu_memory_buffer_factory_linux.cc",
]
deps += [
"//ui/ozone/gpu",
]
+ } else {
+ sources -= [
+ "cursors/webcursor_ozone.cc",
+ "font_list_ozone.cc",
+ "gpu/client/gpu_memory_buffer_impl_ozone.cc",
+ "gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc",
+ "gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h",
+ "gpu/gpu_memory_buffer_factory_ozone.cc",
+ ]
}
if (!use_aura) {
« no previous file with comments | « content/browser/gpu/browser_gpu_memory_buffer_manager.cc ('k') | content/common/android/surface_texture_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698