| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 group("command_buffer") { | 7 group("command_buffer") { |
| 8 if (is_component_build) { | 8 if (is_component_build) { |
| 9 public_deps = [ | 9 public_deps = [ |
| 10 "//gpu", | 10 "//gpu", |
| 11 ] | 11 ] |
| 12 } else { | 12 } else { |
| 13 public_deps = [ | 13 public_deps = [ |
| 14 ":command_buffer_sources", | 14 ":command_buffer_sources", |
| 15 ] | 15 ] |
| 16 } | 16 } |
| 17 } | 17 } |
| 18 | 18 |
| 19 source_set("command_buffer_sources") { | 19 source_set("command_buffer_sources") { |
| 20 visibility = [ "//gpu/*" ] | 20 visibility = [ "//gpu/*" ] |
| 21 sources = [ | 21 sources = [ |
| 22 "gpu_in_process_thread_service.cc", |
| 23 "gpu_in_process_thread_service.h", |
| 22 "in_process_command_buffer.cc", | 24 "in_process_command_buffer.cc", |
| 23 "in_process_command_buffer.h", | 25 "in_process_command_buffer.h", |
| 24 ] | 26 ] |
| 25 | 27 |
| 26 configs += [ "//gpu:gpu_implementation" ] | 28 configs += [ "//gpu:gpu_implementation" ] |
| 27 | 29 |
| 28 deps = [ | 30 deps = [ |
| 29 "//base", | 31 "//base", |
| 30 "//gpu/command_buffer/client:client_sources", | 32 "//gpu/command_buffer/client:client_sources", |
| 31 "//gpu/command_buffer/common:common_sources", | 33 "//gpu/command_buffer/common:common_sources", |
| 32 "//gpu/command_buffer/service:service_sources", | 34 "//gpu/command_buffer/service:service_sources", |
| 33 "//gpu/config:config_sources", | 35 "//gpu/config:config_sources", |
| 36 "//gpu/ipc/client:ipc_client_sources", |
| 37 "//gpu/ipc/service:ipc_service_sources", |
| 34 "//ui/gfx", | 38 "//ui/gfx", |
| 35 "//ui/gl", | 39 "//ui/gl", |
| 36 "//ui/gl/init", | 40 "//ui/gl/init", |
| 37 ] | 41 ] |
| 38 } | 42 } |
| 39 | 43 |
| 40 component("gl_in_process_context") { | 44 component("gl_in_process_context") { |
| 41 sources = [ | 45 sources = [ |
| 42 "gl_in_process_context.cc", | 46 "gl_in_process_context.cc", |
| 43 "gl_in_process_context.h", | 47 "gl_in_process_context.h", |
| 44 "gl_in_process_context_export.h", | 48 "gl_in_process_context_export.h", |
| 45 ] | 49 ] |
| 46 | 50 |
| 47 defines = [ "GL_IN_PROCESS_CONTEXT_IMPLEMENTATION" ] | 51 defines = [ "GL_IN_PROCESS_CONTEXT_IMPLEMENTATION" ] |
| 48 | 52 |
| 49 deps = [ | 53 deps = [ |
| 50 ":command_buffer", | 54 ":command_buffer", |
| 51 "//base", | 55 "//base", |
| 52 "//base/third_party/dynamic_annotations", | 56 "//base/third_party/dynamic_annotations", |
| 53 "//gpu", | 57 "//gpu", |
| 54 "//gpu/command_buffer/client:gles2_implementation", | 58 "//gpu/command_buffer/client:gles2_implementation", |
| 55 "//gpu/command_buffer/common:gles2_utils", | 59 "//gpu/command_buffer/common:gles2_utils", |
| 56 "//gpu/ipc:command_buffer", | 60 "//gpu/ipc:command_buffer", |
| 57 "//ui/gfx/geometry", | 61 "//ui/gfx/geometry", |
| 58 "//ui/gl", | 62 "//ui/gl", |
| 59 ] | 63 ] |
| 60 } | 64 } |
| OLD | NEW |