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

Unified Diff: components/mus/surfaces/BUILD.gn

Issue 1881793002: SurfacelessSurfaces for Mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build 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 | components/mus/surfaces/buffer_queue.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/surfaces/BUILD.gn
diff --git a/components/mus/surfaces/BUILD.gn b/components/mus/surfaces/BUILD.gn
index 4d8e623bba100dd08529c5a3eb9c93391de7b78f..046908671ddbed8cda4abffebff8c9140b80d215 100644
--- a/components/mus/surfaces/BUILD.gn
+++ b/components/mus/surfaces/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/ui.gni")
+
source_set("surfaces") {
sources = [
"direct_output_surface.cc",
@@ -34,4 +36,14 @@ source_set("surfaces") {
"//ui/gl",
"//ui/mojo/geometry:interfaces",
]
+
+ if (use_ozone) {
+ sources += [
+ "buffer_queue.cc",
+ "buffer_queue.h",
+ "direct_output_surface_ozone.cc",
+ "direct_output_surface_ozone.h",
+ ]
+ deps += [ "//gpu/command_buffer/common" ]
+ }
}
« no previous file with comments | « no previous file | components/mus/surfaces/buffer_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698