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

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

Issue 288033016: GN build: GPU work, Windows compile, "check" errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src
Patch Set: missing files Created 6 years, 7 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 | « gpu/command_buffer/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
(Empty)
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
3 # found in the LICENSE file.
4
5 source_set("client") {
6 sources = [
7 "cmd_buffer_helper.cc",
8 "cmd_buffer_helper.h",
9 "fenced_allocator.cc",
10 "fenced_allocator.h",
11 "gpu_control.h",
12 "mapped_memory.cc",
13 "mapped_memory.h",
14 "ring_buffer.cc",
15 "ring_buffer.h",
16 "transfer_buffer.cc",
17 "transfer_buffer.h",
18 ]
19
20 if (is_win) {
21 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
22 cflags = [ "/wd4267" ] # size_t to int truncation.
23 }
24
25 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
26
27 deps = [
28 "//gpu/command_buffer/common",
29 ]
30 }
31
32 source_set("gles2_cmd_helper") {
33 sources = [
34 "gles2_cmd_helper.cc",
35 "gles2_cmd_helper.h",
36 "gles2_cmd_helper_autogen.h",
37 ]
38
39 if (is_win) {
40 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
41 cflags = [ "/wd4267" ] # size_t to int truncation.
42 }
43
44 deps = [ ":client" ]
45 }
46
47 gles2_c_lib_source_files = [
48 "gles2_c_lib.cc",
49 "gles2_c_lib_autogen.h",
50 "gles2_c_lib_export.h",
51 "gles2_lib.h",
52 "gles2_lib.cc",
53 ]
54
55 component("gles2_implementation") {
56 sources = [
57 "buffer_tracker.cc",
58 "buffer_tracker.h",
59 "client_context_state.h",
60 "client_context_state.cc",
61 "client_context_state_autogen.h",
62 "client_context_state_impl_autogen.h",
63 "gles2_impl_export.h",
64 "gles2_implementation_autogen.h",
65 "gles2_implementation.cc",
66 "gles2_implementation.h",
67 "gles2_implementation_impl_autogen.h",
68 "gles2_interface.h",
69 "gles2_trace_implementation_autogen.h",
70 "gles2_trace_implementation.cc",
71 "gles2_trace_implementation.h",
72 "gles2_trace_implementation_impl_autogen.h",
73 "gpu_memory_buffer_factory.h",
74 "gpu_memory_buffer_tracker.cc",
75 "gpu_memory_buffer_tracker.h",
76 "program_info_manager.cc",
77 "program_info_manager.h",
78 "query_tracker.cc",
79 "query_tracker.h",
80 "share_group.cc",
81 "share_group.h",
82 "vertex_array_object_manager.cc",
83 "vertex_array_object_manager.h",
84 ]
85 defines = [ "GLES2_IMPL_IMPLEMENTATION" ]
86 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
87
88 if (is_win) {
89 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
90 cflags = [ "/wd4267" ] # size_t to int truncation.
91 }
92
93 deps = [
94 ":gles2_cmd_helper",
95 "//base",
96 "//gpu/command_buffer/common",
97 "//ui/gfx/geometry",
98 "//ui/gl",
99 ]
100 }
101
102 component("gles2_c_lib") {
103 sources = gles2_c_lib_source_files
104 defines = [ "GLES2_C_LIB_IMPLEMENTATION" ]
105
106 if (is_win) {
107 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
108 cflags = [ "/wd4267" ] # size_t to int truncation.
109 }
110
111 deps = [
112 ":client",
113 ":gles2_implementation",
114 "//base",
115 "//base/third_party/dynamic_annotations",
116 "//gpu/command_buffer/common",
117 ]
118 }
119
OLDNEW
« no previous file with comments | « gpu/command_buffer/BUILD.gn ('k') | gpu/command_buffer/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698