| Index: gpu/command_buffer/common/BUILD.gn
|
| diff --git a/gpu/command_buffer/common/BUILD.gn b/gpu/command_buffer/common/BUILD.gn
|
| index 43b19402bcaf2ebe77e464d9041b8af6d353ac0d..a60626e12accccdc4f40bd532e8267975ef4e835 100644
|
| --- a/gpu/command_buffer/common/BUILD.gn
|
| +++ b/gpu/command_buffer/common/BUILD.gn
|
| @@ -21,9 +21,6 @@ source_set("common") {
|
| "gles2_cmd_format_autogen.h",
|
| "gles2_cmd_ids.h",
|
| "gles2_cmd_ids_autogen.h",
|
| - "gles2_cmd_utils.cc",
|
| - "gles2_cmd_utils.h",
|
| - "gles2_utils_export.h",
|
| "id_allocator.cc",
|
| "id_allocator.h",
|
| "mailbox.cc",
|
| @@ -34,9 +31,26 @@ source_set("common") {
|
| "time.h",
|
| ]
|
|
|
| - all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
|
| + defines = [ "GPU_IMPLEMENTATION" ]
|
| +
|
| + deps = [
|
| + ":gles2_utils",
|
| + "//base",
|
| + ]
|
| +}
|
| +
|
| +component("gles2_utils") {
|
| + sources = [
|
| + "gles2_cmd_utils.cc",
|
| + "gles2_cmd_utils.h",
|
| + "gles2_utils_export.h",
|
| + ]
|
| +
|
| + defines = [ "GLES2_UTILS_IMPLEMENTATION" ]
|
|
|
| deps = [
|
| "//base",
|
| ]
|
| +
|
| + all_dependent_configs = [ "//third_party/khronos:khronos_headers" ]
|
| }
|
|
|