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

Side by Side Diff: components/mus/gles2/BUILD.gn

Issue 1857243005: Scan-out capable buffers (aka ui::NativePixmap) for Mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: build fix for windows 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 | components/mus/gles2/command_buffer_driver.h » ('j') | 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/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 source_set("gles2") { 7 source_set("gles2") {
8 visibility = [ 8 visibility = [
9 "//components/mus:*", 9 "//components/mus:*",
10 "//components/mus/ws:*", 10 "//components/mus/ws:*",
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ] 56 ]
57 57
58 if (is_android) { 58 if (is_android) {
59 deps += [ "//mojo/platform_handle:platform_handle_impl" ] 59 deps += [ "//mojo/platform_handle:platform_handle_impl" ]
60 } else { 60 } else {
61 deps += [ "//mojo/platform_handle" ] 61 deps += [ "//mojo/platform_handle" ]
62 } 62 }
63 63
64 if (use_ozone) { 64 if (use_ozone) {
65 deps += [ "//ui/ozone:ozone" ] 65 deps += [ "//ui/ozone:ozone" ]
66 sources += [
67 "ozone_gpu_memory_buffer.cc",
68 "ozone_gpu_memory_buffer.h",
69 ]
66 } 70 }
67 71
68 include_dirs = [ "../.." ] 72 include_dirs = [ "../.." ]
69 } 73 }
70 74
71 source_set("lib") { 75 source_set("lib") {
72 sources = [ 76 sources = [
73 "command_buffer_type_conversions.cc", 77 "command_buffer_type_conversions.cc",
74 "command_buffer_type_conversions.h", 78 "command_buffer_type_conversions.h",
79 "gpu_memory_buffer_impl.cc",
80 "gpu_memory_buffer_impl.h",
75 "mojo_buffer_backing.cc", 81 "mojo_buffer_backing.cc",
76 "mojo_buffer_backing.h", 82 "mojo_buffer_backing.h",
77 "mojo_gpu_memory_buffer.cc", 83 "mojo_gpu_memory_buffer.cc",
78 "mojo_gpu_memory_buffer.h", 84 "mojo_gpu_memory_buffer.h",
79 "mojo_gpu_memory_buffer_manager.cc", 85 "mojo_gpu_memory_buffer_manager.cc",
80 "mojo_gpu_memory_buffer_manager.h", 86 "mojo_gpu_memory_buffer_manager.h",
81 "raster_thread_helper.cc", 87 "raster_thread_helper.cc",
82 "raster_thread_helper.h", 88 "raster_thread_helper.h",
83 ] 89 ]
84 90
85 deps = [ 91 deps = [
86 "//base", 92 "//base",
87 "//cc", 93 "//cc",
88 "//components/mus/public/interfaces", 94 "//components/mus/public/interfaces",
89 "//gpu/command_buffer/client", 95 "//gpu/command_buffer/client",
90 "//gpu/command_buffer/common", 96 "//gpu/command_buffer/common",
91 "//gpu/config:config", 97 "//gpu/config:config",
92 "//mojo/public/cpp/bindings", 98 "//mojo/public/cpp/bindings",
93 "//mojo/public/cpp/system", 99 "//mojo/public/cpp/system",
94 "//ui/gfx", 100 "//ui/gfx",
95 "//ui/gfx/geometry", 101 "//ui/gfx/geometry",
96 ] 102 ]
97 103
98 include_dirs = [ "../.." ] 104 include_dirs = [ "../.." ]
99 } 105 }
OLDNEW
« no previous file with comments | « no previous file | components/mus/gles2/command_buffer_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698