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

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

Issue 603273003: Prevent static mojo builds from pulling //ui/gl into mojo_shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Share kEnableGPUClientLogging Created 6 years, 2 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 "gpu_switches.cc",
13 "gpu_switches.h",
12 "mapped_memory.cc", 14 "mapped_memory.cc",
13 "mapped_memory.h", 15 "mapped_memory.h",
14 "ring_buffer.cc", 16 "ring_buffer.cc",
15 "ring_buffer.h", 17 "ring_buffer.h",
16 "transfer_buffer.cc", 18 "transfer_buffer.cc",
17 "transfer_buffer.h", 19 "transfer_buffer.h",
18 ] 20 ]
19 21
20 defines = [ "GPU_IMPLEMENTATION" ] 22 defines = [ "GPU_IMPLEMENTATION" ]
21 23
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 public_configs = [ "//third_party/khronos:khronos_headers" ] 104 public_configs = [ "//third_party/khronos:khronos_headers" ]
103 deps = [ 105 deps = [
104 "//base", 106 "//base",
105 ] 107 ]
106 } 108 }
107 109
108 # Library emulates GLES2 using command_buffers. 110 # Library emulates GLES2 using command_buffers.
109 component("gles2_implementation") { 111 component("gles2_implementation") {
110 sources = gles2_implementation_source_files 112 sources = gles2_implementation_source_files
111 113
112 defines = [ "GLES2_IMPL_IMPLEMENTATION" ] 114 defines = ["GLES2_IMPL_IMPLEMENTATION", "GPU_IMPLEMENTATION" ]
jamesr 2014/09/26 22:46:18 this is not GPU_IMPLEMENTATION, it's a different c
DaveMoore 2014/09/26 22:52:07 Urp. I realized that and moved the files to the cl
113 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] 115 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
114 116
115 if (is_win) { 117 if (is_win) {
116 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 118 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
117 cflags = [ "/wd4267" ] # size_t to int truncation. 119 cflags = [ "/wd4267" ] # size_t to int truncation.
118 } 120 }
119 121
120 deps = [ 122 deps = [
121 ":gles2_cmd_helper", 123 ":gles2_cmd_helper",
122 ":gles2_interface", 124 ":gles2_interface",
123 "//base", 125 "//base",
124 "//gpu/command_buffer/common", 126 "//gpu/command_buffer/common",
125 "//ui/gfx/geometry", 127 "//ui/gfx/geometry",
126 "//ui/gl",
127 ] 128 ]
128 } 129 }
129 130
130 # Library emulates GLES2 using command_buffers. 131 # Library emulates GLES2 using command_buffers.
131 component("gles2_implementation_client_side_arrays") { 132 component("gles2_implementation_client_side_arrays") {
132 sources = gles2_implementation_source_files 133 sources = gles2_implementation_source_files
133 134
134 defines = [ 135 defines = [
135 "GLES2_IMPL_IMPLEMENTATION", 136 "GLES2_IMPL_IMPLEMENTATION",
136 "GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1", 137 "GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 184
184 deps = [ 185 deps = [
185 ":client", 186 ":client",
186 ":gles2_interface", 187 ":gles2_interface",
187 "//base", 188 "//base",
188 "//base/third_party/dynamic_annotations", 189 "//base/third_party/dynamic_annotations",
189 "//gpu/command_buffer/common", 190 "//gpu/command_buffer/common",
190 ] 191 ]
191 } 192 }
192 193
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698