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

Side by Side Diff: gpu/command_buffer/client/BUILD.gn

Issue 1013463003: Update from https://crrev.com/320931 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 source_set("client") { 5 source_set("client") {
6 sources = [ 6 sources = [
7 "cmd_buffer_helper.cc", 7 "cmd_buffer_helper.cc",
8 "cmd_buffer_helper.h", 8 "cmd_buffer_helper.h",
9 "fenced_allocator.cc", 9 "fenced_allocator.cc",
10 "fenced_allocator.h", 10 "fenced_allocator.h",
11 "gpu_control.h", 11 "gpu_control.h",
12 "mapped_memory.cc", 12 "mapped_memory.cc",
13 "mapped_memory.h", 13 "mapped_memory.h",
14 "ring_buffer.cc", 14 "ring_buffer.cc",
15 "ring_buffer.h", 15 "ring_buffer.h",
16 "transfer_buffer.cc", 16 "transfer_buffer.cc",
17 "transfer_buffer.h", 17 "transfer_buffer.h",
18 ] 18 ]
19 19
20 defines = [ "GPU_IMPLEMENTATION" ] 20 configs += [
21 21 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
22 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 22 "//build/config/compiler:no_size_t_to_int_warning",
23 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 23 "//gpu:gpu_implementation",
24 ]
24 25
25 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] 26 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
26 27
27 deps = [ 28 deps = [
28 "//gpu/command_buffer/common", 29 "//gpu/command_buffer/common",
29 ] 30 ]
30 } 31 }
31 32
32 group("gles2_cmd_helper") { 33 group("gles2_cmd_helper") {
33 if (is_component_build) { 34 if (is_component_build) {
(...skipping 11 matching lines...) Expand all
45 visibility = [ 46 visibility = [
46 ":gles2_cmd_helper", 47 ":gles2_cmd_helper",
47 "//gpu", 48 "//gpu",
48 ] 49 ]
49 sources = [ 50 sources = [
50 "gles2_cmd_helper.cc", 51 "gles2_cmd_helper.cc",
51 "gles2_cmd_helper.h", 52 "gles2_cmd_helper.h",
52 "gles2_cmd_helper_autogen.h", 53 "gles2_cmd_helper_autogen.h",
53 ] 54 ]
54 55
55 defines = [ "GPU_IMPLEMENTATION" ] 56 configs += [
56 57 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
57 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 58 "//build/config/compiler:no_size_t_to_int_warning",
58 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 59 "//gpu:gpu_implementation",
60 ]
59 61
60 deps = [ 62 deps = [
61 ":client", 63 ":client",
62 ] 64 ]
63 } 65 }
64 66
65 gles2_c_lib_source_files = [ 67 gles2_c_lib_source_files = [
66 "gles2_c_lib.cc", 68 "gles2_c_lib.cc",
67 "gles2_c_lib_autogen.h", 69 "gles2_c_lib_autogen.h",
68 "gles2_c_lib_export.h", 70 "gles2_c_lib_export.h",
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 deps = [ 111 deps = [
110 "//base", 112 "//base",
111 ] 113 ]
112 } 114 }
113 115
114 source_set("gpu_memory_buffer_manager") { 116 source_set("gpu_memory_buffer_manager") {
115 sources = [ 117 sources = [
116 "gpu_memory_buffer_manager.cc", 118 "gpu_memory_buffer_manager.cc",
117 "gpu_memory_buffer_manager.h", 119 "gpu_memory_buffer_manager.h",
118 ] 120 ]
121 configs += [ "//gpu:gpu_implementation" ]
119 deps = [ 122 deps = [
120 "//ui/gfx", 123 "//ui/gfx",
121 ] 124 ]
122 } 125 }
123 126
124 # Library emulates GLES2 using command_buffers. 127 # Library emulates GLES2 using command_buffers.
125 component("gles2_implementation") { 128 component("gles2_implementation") {
126 sources = gles2_implementation_source_files 129 sources = gles2_implementation_source_files
127 130
128 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 131 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 ] 213 ]
211 deps = [ 214 deps = [
212 ":client", 215 ":client",
213 ":gles2_implementation_no_check", 216 ":gles2_implementation_no_check",
214 ":gles2_interface", 217 ":gles2_interface",
215 "//base", 218 "//base",
216 "//base/third_party/dynamic_annotations", 219 "//base/third_party/dynamic_annotations",
217 "//gpu/command_buffer/common", 220 "//gpu/command_buffer/common",
218 ] 221 ]
219 } 222 }
OLDNEW
« no previous file with comments | « gpu/command_buffer/build_gles2_cmd_buffer.py ('k') | gpu/command_buffer/cmd_buffer_functions.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698