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