| 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 # See //content/BUILD.gn for how this works. | 5 group("ipc") { |
| 6 group("gpu") { | |
| 7 if (is_component_build) { | 6 if (is_component_build) { |
| 8 public_deps = [ | 7 public_deps = [ |
| 9 "//content", | 8 "//gpu", |
| 10 ] | 9 ] |
| 11 } else { | 10 } else { |
| 12 public_deps = [ | 11 public_deps = [ |
| 13 ":gpu_sources", | 12 ":ipc_common_sources", |
| 14 ] | 13 ] |
| 15 } | 14 } |
| 16 } | 15 } |
| 17 | 16 |
| 18 source_set("gpu_sources") { | 17 source_set("ipc_common_sources") { |
| 19 visibility = [ "//content/*" ] | |
| 20 | |
| 21 sources = [ | 18 sources = [ |
| 22 "content_gpu_client.h", | 19 "memory_stats.cc", |
| 20 "memory_stats.h", |
| 23 ] | 21 ] |
| 24 | 22 |
| 23 configs += [ "//gpu:gpu_implementation" ] |
| 24 |
| 25 deps = [ | 25 deps = [ |
| 26 "//base", | 26 "//ipc", |
| 27 "//content:export", | |
| 28 "//content/gpu:gpu_sources", | |
| 29 ] | 27 ] |
| 30 } | 28 } |
| OLD | NEW |