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

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

Issue 371903003: Add missing files/deps/defines (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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 | « base/BUILD.gn ('k') | gpu/command_buffer/common/BUILD.gn » ('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 (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" ]
21
20 if (is_win) { 22 if (is_win) {
21 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 23 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
22 cflags = [ "/wd4267" ] # size_t to int truncation. 24 cflags = [ "/wd4267" ] # size_t to int truncation.
23 } 25 }
24 26
25 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] 27 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
26 28
27 deps = [ 29 deps = [
28 "//gpu/command_buffer/common", 30 "//gpu/command_buffer/common",
29 ] 31 ]
30 } 32 }
31 33
32 source_set("gles2_cmd_helper") { 34 source_set("gles2_cmd_helper") {
33 sources = [ 35 sources = [
34 "gles2_cmd_helper.cc", 36 "gles2_cmd_helper.cc",
35 "gles2_cmd_helper.h", 37 "gles2_cmd_helper.h",
36 "gles2_cmd_helper_autogen.h", 38 "gles2_cmd_helper_autogen.h",
37 ] 39 ]
38 40
41 defines = [ "GLES2_IMPL_IMPLEMENTATION" ]
42
39 if (is_win) { 43 if (is_win) {
40 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 44 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
41 cflags = [ "/wd4267" ] # size_t to int truncation. 45 cflags = [ "/wd4267" ] # size_t to int truncation.
42 } 46 }
43 47
44 deps = [ ":client" ] 48 deps = [ ":client" ]
45 } 49 }
46 50
47 gles2_c_lib_source_files = [ 51 gles2_c_lib_source_files = [
48 "gles2_c_lib.cc", 52 "gles2_c_lib.cc",
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 } 160 }
157 161
158 deps = [ 162 deps = [
159 ":client", 163 ":client",
160 "//base", 164 "//base",
161 "//base/third_party/dynamic_annotations", 165 "//base/third_party/dynamic_annotations",
162 "//gpu/command_buffer/common", 166 "//gpu/command_buffer/common",
163 ] 167 ]
164 } 168 }
165 169
OLDNEW
« no previous file with comments | « base/BUILD.gn ('k') | gpu/command_buffer/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698