OLD | NEW |
---|---|
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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
141 "//gpu", | 141 "//gpu", |
142 "//base", | 142 "//base", |
143 "//base/third_party/dynamic_annotations", | 143 "//base/third_party/dynamic_annotations", |
144 "//ui/gfx/geometry", | 144 "//ui/gfx/geometry", |
145 "//ui/gl", | 145 "//ui/gl", |
146 ] | 146 ] |
147 } | 147 } |
148 | 148 |
149 component("gles2_c_lib") { | 149 component("gles2_c_lib") { |
150 sources = gles2_c_lib_source_files | 150 sources = gles2_c_lib_source_files |
151 | |
151 defines = [ "GLES2_C_LIB_IMPLEMENTATION" ] | 152 defines = [ "GLES2_C_LIB_IMPLEMENTATION" ] |
152 | 153 |
153 if (is_win) { | |
154 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
155 cflags = [ "/wd4267" ] # size_t to int truncation. | |
156 } | |
157 | |
158 deps = [ | 154 deps = [ |
159 ":client", | 155 ":client", |
160 ":gles2_implementation", | 156 ":gles2_implementation", |
161 "//base", | 157 "//base", |
162 "//base/third_party/dynamic_annotations", | 158 "//base/third_party/dynamic_annotations", |
163 "//gpu/command_buffer/common", | 159 "//gpu/command_buffer/common", |
164 ] | 160 ] |
161 | |
162 if (is_win) { | |
piman
2014/06/16 19:18:32
nit: indent?
| |
163 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
164 cflags = [ "/wd4267" ] # size_t to int truncation. | |
165 } | |
165 } | 166 } |
166 | 167 |
OLD | NEW |