| 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 if (is_component_build) { |
| 20 link_target_type = "source_set" |
| 21 } else { |
| 22 link_target_type = "static_library" |
| 23 } |
| 24 target(link_target_type, "command_buffer_sources") { |
| 20 visibility = [ "//gpu/*" ] | 25 visibility = [ "//gpu/*" ] |
| 21 sources = [ | 26 sources = [ |
| 22 "gpu_in_process_thread_service.cc", | 27 "gpu_in_process_thread_service.cc", |
| 23 "gpu_in_process_thread_service.h", | 28 "gpu_in_process_thread_service.h", |
| 24 "in_process_command_buffer.cc", | 29 "in_process_command_buffer.cc", |
| 25 "in_process_command_buffer.h", | 30 "in_process_command_buffer.h", |
| 26 ] | 31 ] |
| 27 | 32 |
| 28 configs += [ "//gpu:gpu_implementation" ] | 33 configs += [ "//gpu:gpu_implementation" ] |
| 29 | 34 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 55 "//base", | 60 "//base", |
| 56 "//base/third_party/dynamic_annotations", | 61 "//base/third_party/dynamic_annotations", |
| 57 "//gpu", | 62 "//gpu", |
| 58 "//gpu/command_buffer/client:gles2_implementation", | 63 "//gpu/command_buffer/client:gles2_implementation", |
| 59 "//gpu/command_buffer/common:gles2_utils", | 64 "//gpu/command_buffer/common:gles2_utils", |
| 60 "//gpu/ipc:command_buffer", | 65 "//gpu/ipc:command_buffer", |
| 61 "//ui/gfx/geometry", | 66 "//ui/gfx/geometry", |
| 62 "//ui/gl", | 67 "//ui/gl", |
| 63 ] | 68 ] |
| 64 } | 69 } |
| OLD | NEW |