| 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 "in_process_command_buffer.cc", | 22 "in_process_command_buffer.cc", |
| 23 "in_process_command_buffer.h", | 23 "in_process_command_buffer.h", |
| 24 ] | 24 ] |
| 25 | 25 |
| 26 configs += [ "//gpu:gpu_implementation" ] | 26 configs += [ "//gpu:gpu_implementation" ] |
| 27 | 27 |
| 28 public_deps = [ | 28 deps = [ |
| 29 "//base", | 29 "//base", |
| 30 "//gpu/command_buffer/client:client_sources", | 30 "//gpu/command_buffer/client:client_sources", |
| 31 "//gpu/command_buffer/common:common_sources", | 31 "//gpu/command_buffer/common:common_sources", |
| 32 "//gpu/command_buffer/service:service_sources", | 32 "//gpu/command_buffer/service:service_sources", |
| 33 "//gpu/config:config_sources", | 33 "//gpu/config:config_sources", |
| 34 "//ui/gfx", | 34 "//ui/gfx", |
| 35 "//ui/gl", | 35 "//ui/gl", |
| 36 "//ui/gl/init", | 36 "//ui/gl/init", |
| 37 ] | 37 ] |
| 38 } | 38 } |
| 39 | 39 |
| 40 component("gl_in_process_context") { | 40 component("gl_in_process_context") { |
| 41 sources = [ | 41 sources = [ |
| 42 "gl_in_process_context.cc", | 42 "gl_in_process_context.cc", |
| 43 "gl_in_process_context.h", | 43 "gl_in_process_context.h", |
| 44 "gl_in_process_context_export.h", | 44 "gl_in_process_context_export.h", |
| 45 ] | 45 ] |
| 46 | 46 |
| 47 defines = [ "GL_IN_PROCESS_CONTEXT_IMPLEMENTATION" ] | 47 defines = [ "GL_IN_PROCESS_CONTEXT_IMPLEMENTATION" ] |
| 48 | 48 |
| 49 public_deps = [ | 49 deps = [ |
| 50 ":command_buffer", | 50 ":command_buffer", |
| 51 "//base", | 51 "//base", |
| 52 "//base/third_party/dynamic_annotations", | 52 "//base/third_party/dynamic_annotations", |
| 53 "//gpu", | 53 "//gpu", |
| 54 "//gpu/command_buffer/client:gles2_implementation", | 54 "//gpu/command_buffer/client:gles2_implementation", |
| 55 "//gpu/command_buffer/common:gles2_utils", | 55 "//gpu/command_buffer/common:gles2_utils", |
| 56 "//gpu/ipc:command_buffer", | 56 "//gpu/ipc:command_buffer", |
| 57 "//ui/gfx/geometry", | 57 "//ui/gfx/geometry", |
| 58 "//ui/gl", | 58 "//ui/gl", |
| 59 ] | 59 ] |
| 60 } | 60 } |
| OLD | NEW |