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