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

Side by Side Diff: gpu/ipc/common/BUILD.gn

Issue 2717233003: gpu: Use mojom API for getting video memory usage. (Closed)
Patch Set: . Created 3 years, 9 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 | « content/gpu/gpu_child_thread.cc ('k') | gpu/ipc/common/OWNERS » ('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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 group("common") { 8 group("common") {
9 if (is_component_build) { 9 if (is_component_build) {
10 public_deps = [ 10 public_deps = [
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 135 }
136 136
137 mojom("interfaces") { 137 mojom("interfaces") {
138 sources = [ 138 sources = [
139 "capabilities.mojom", 139 "capabilities.mojom",
140 "dx_diag_node.mojom", 140 "dx_diag_node.mojom",
141 "gpu_info.mojom", 141 "gpu_info.mojom",
142 "gpu_preferences.mojom", 142 "gpu_preferences.mojom",
143 "mailbox.mojom", 143 "mailbox.mojom",
144 "mailbox_holder.mojom", 144 "mailbox_holder.mojom",
145 "memory_stats.mojom",
145 "surface_handle.mojom", 146 "surface_handle.mojom",
146 "sync_token.mojom", 147 "sync_token.mojom",
147 ] 148 ]
148 149
149 public_deps = [ 150 public_deps = [
150 "//mojo/common:common_custom_types", 151 "//mojo/common:common_custom_types",
151 "//ui/gfx/geometry/mojo", 152 "//ui/gfx/geometry/mojo",
152 ] 153 ]
153 } 154 }
154 155
155 mojom("test_interfaces") { 156 mojom("test_interfaces") {
156 testonly = true 157 testonly = true
157 sources = [ 158 sources = [
158 "traits_test_service.mojom", 159 "traits_test_service.mojom",
159 ] 160 ]
160 161
161 public_deps = [ 162 public_deps = [
162 ":interfaces", 163 ":interfaces",
163 ] 164 ]
164 } 165 }
165 166
166 source_set("struct_traits") { 167 source_set("struct_traits") {
167 sources = [ 168 sources = [
168 "mailbox_holder_struct_traits.h", 169 "mailbox_holder_struct_traits.h",
169 "mailbox_struct_traits.h", 170 "mailbox_struct_traits.h",
171 "memory_stats_struct_traits.h",
170 "surface_handle_struct_traits.h", 172 "surface_handle_struct_traits.h",
171 "sync_token_struct_traits.h", 173 "sync_token_struct_traits.h",
172 ] 174 ]
173 deps = [ 175 deps = [
174 ":interfaces_shared_cpp_sources", 176 ":interfaces_shared_cpp_sources",
175 ":surface_handle_type", 177 ":surface_handle_type",
176 "//gpu/command_buffer/common", 178 "//gpu/command_buffer/common",
179 "//gpu/ipc/common",
177 "//mojo/public/cpp/bindings:bindings", 180 "//mojo/public/cpp/bindings:bindings",
178 ] 181 ]
179 } 182 }
OLDNEW
« no previous file with comments | « content/gpu/gpu_child_thread.cc ('k') | gpu/ipc/common/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698