Chromium Code Reviews| 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", |
| 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") { |
| 35 defines = [ "GLES2_IMPL_IMPLEMENTATION" ] | |
|
brettw
2014/07/08 21:58:33
Can you put this below the sources?
| |
| 33 sources = [ | 36 sources = [ |
| 34 "gles2_cmd_helper.cc", | 37 "gles2_cmd_helper.cc", |
| 35 "gles2_cmd_helper.h", | 38 "gles2_cmd_helper.h", |
| 36 "gles2_cmd_helper_autogen.h", | 39 "gles2_cmd_helper_autogen.h", |
| 37 ] | 40 ] |
| 38 | 41 |
| 39 if (is_win) { | 42 if (is_win) { |
| 40 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 43 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 41 cflags = [ "/wd4267" ] # size_t to int truncation. | 44 cflags = [ "/wd4267" ] # size_t to int truncation. |
| 42 } | 45 } |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 156 } | 159 } |
| 157 | 160 |
| 158 deps = [ | 161 deps = [ |
| 159 ":client", | 162 ":client", |
| 160 "//base", | 163 "//base", |
| 161 "//base/third_party/dynamic_annotations", | 164 "//base/third_party/dynamic_annotations", |
| 162 "//gpu/command_buffer/common", | 165 "//gpu/command_buffer/common", |
| 163 ] | 166 ] |
| 164 } | 167 } |
| 165 | 168 |
| OLD | NEW |