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

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

Issue 455783002: GPU context creation code duplication cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix even more build dependencies Created 6 years, 4 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",
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 "gl_in_process_context.h", 145 "gl_in_process_context.h",
146 "gl_in_process_context.cc", 146 "gl_in_process_context.cc",
147 "gl_in_process_context_export.h", 147 "gl_in_process_context_export.h",
148 ] 148 ]
149 149
150 defines = [ "GL_IN_PROCESS_CONTEXT_IMPLEMENTATION" ] 150 defines = [ "GL_IN_PROCESS_CONTEXT_IMPLEMENTATION" ]
151 151
152 deps = [ 152 deps = [
153 ":gles2_implementation", 153 ":gles2_implementation",
154 "//gpu", 154 "//gpu",
155 "//gpu/command_buffer/common:gles2_utils",
155 "//base", 156 "//base",
156 "//base/third_party/dynamic_annotations", 157 "//base/third_party/dynamic_annotations",
157 "//ui/gfx/geometry", 158 "//ui/gfx/geometry",
158 "//ui/gl", 159 "//ui/gl",
159 ] 160 ]
160 } 161 }
161 162
162 component("gles2_c_lib") { 163 component("gles2_c_lib") {
163 sources = gles2_c_lib_source_files 164 sources = gles2_c_lib_source_files
164 defines = [ "GLES2_C_LIB_IMPLEMENTATION" ] 165 defines = [ "GLES2_C_LIB_IMPLEMENTATION" ]
165 166
166 if (is_win) { 167 if (is_win) {
167 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 168 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
168 cflags = [ "/wd4267" ] # size_t to int truncation. 169 cflags = [ "/wd4267" ] # size_t to int truncation.
169 } 170 }
170 171
171 deps = [ 172 deps = [
172 ":client", 173 ":client",
173 "//base", 174 "//base",
174 "//base/third_party/dynamic_annotations", 175 "//base/third_party/dynamic_annotations",
175 "//gpu/command_buffer/common", 176 "//gpu/command_buffer/common",
176 ] 177 ]
177 } 178 }
178 179
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | gpu/command_buffer/client/gl_in_process_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698