| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 group("ipc") { | 5 source_set("ipc") { |
| 6 if (is_component_build) { | |
| 7 public_deps = [ | |
| 8 "//gpu", | |
| 9 ] | |
| 10 } else { | |
| 11 public_deps = [ | |
| 12 ":ipc_sources", | |
| 13 ] | |
| 14 } | |
| 15 } | |
| 16 | |
| 17 source_set("ipc_sources") { | |
| 18 visibility = [ "//gpu/*" ] | |
| 19 | |
| 20 sources = [ | 6 sources = [ |
| 21 "gpu_command_buffer_traits.cc", | 7 "gpu_command_buffer_traits.cc", |
| 22 "gpu_command_buffer_traits.h", | 8 "gpu_command_buffer_traits.h", |
| 23 ] | 9 ] |
| 24 | 10 |
| 25 configs += [ | 11 configs += [ |
| 26 "//gpu:gpu_implementation", | 12 "//gpu:gpu_implementation", |
| 27 "//third_party/khronos:khronos_headers", | 13 "//third_party/khronos:khronos_headers", |
| 28 ] | 14 ] |
| 29 | 15 |
| 30 deps = [ | 16 deps = [ |
| 31 "//gpu/command_buffer/common:common_sources", | 17 "//gpu/command_buffer/common", |
| 32 "//ipc", | 18 "//ipc", |
| 33 ] | 19 ] |
| 34 } | 20 } |
| OLD | NEW |