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("common") { | 5 source_set("common") { |
| 6 defines = [ "GPU_IMPLEMENTATION" ] | |
|
brettw
2014/07/08 21:58:33
After sources, before deps.
| |
| 6 sources = [ | 7 sources = [ |
| 7 "bitfield_helpers.h", | 8 "bitfield_helpers.h", |
| 8 "buffer.cc", | 9 "buffer.cc", |
| 9 "buffer.h", | 10 "buffer.h", |
| 10 "capabilities.cc", | 11 "capabilities.cc", |
| 11 "capabilities.h", | 12 "capabilities.h", |
| 12 "cmd_buffer_common.cc", | 13 "cmd_buffer_common.cc", |
| 13 "cmd_buffer_common.h", | 14 "cmd_buffer_common.h", |
| 14 "command_buffer.h", | 15 "command_buffer.h", |
| 15 "constants.h", | 16 "constants.h", |
| 16 "debug_marker_manager.cc", | 17 "debug_marker_manager.cc", |
| 17 "debug_marker_manager.h", | 18 "debug_marker_manager.h", |
| 18 "gles2_cmd_format.cc", | 19 "gles2_cmd_format.cc", |
| 19 "gles2_cmd_format.h", | 20 "gles2_cmd_format.h", |
| 20 "gles2_cmd_format.h", | 21 "gles2_cmd_format.h", |
| 21 "gles2_cmd_format_autogen.h", | 22 "gles2_cmd_format_autogen.h", |
| 22 "gles2_cmd_ids.h", | 23 "gles2_cmd_ids.h", |
| 23 "gles2_cmd_ids_autogen.h", | 24 "gles2_cmd_ids_autogen.h", |
| 24 "gles2_cmd_utils.cc", | |
| 25 "gles2_cmd_utils.h", | |
| 26 "gles2_utils_export.h", | |
| 27 "id_allocator.cc", | 25 "id_allocator.cc", |
| 28 "id_allocator.h", | 26 "id_allocator.h", |
| 29 "mailbox.cc", | 27 "mailbox.cc", |
| 30 "mailbox.h", | 28 "mailbox.h", |
| 31 "mailbox_holder.cc", | 29 "mailbox_holder.cc", |
| 32 "mailbox_holder.h", | 30 "mailbox_holder.h", |
| 33 "thread_local.h", | 31 "thread_local.h", |
| 34 "time.h", | 32 "time.h", |
| 35 ] | 33 ] |
| 36 | 34 |
| 37 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] | 35 deps = [ |
| 36 "//base", | |
| 37 ":gles2_utils", | |
|
brettw
2014/07/08 21:58:33
Put this above "//base" (local ones go first)
| |
| 38 ] | |
| 39 } | |
| 40 | |
| 41 component("gles2_utils") { | |
| 42 defines = [ "GLES2_UTILS_IMPLEMENTATION" ] | |
|
brettw
2014/07/08 21:58:33
After sources, before deps.
| |
| 43 | |
| 44 sources = [ | |
| 45 "gles2_cmd_utils.cc", | |
| 46 "gles2_cmd_utils.h", | |
| 47 "gles2_utils_export.h", | |
| 48 ] | |
| 38 | 49 |
| 39 deps = [ | 50 deps = [ |
| 40 "//base", | 51 "//base", |
| 41 ] | 52 ] |
| 53 | |
| 54 all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] | |
| 42 } | 55 } |
| OLD | NEW |