| 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 # See //content/BUILD.gn for how this works. |
| 6 group("gpu") { | 6 group("gpu") { |
| 7 if (is_component_build) { | 7 if (is_component_build) { |
| 8 public_deps = [ | 8 public_deps = [ |
| 9 "//content", | 9 "//content", |
| 10 ] | 10 ] |
| 11 } else { | 11 } else { |
| 12 public_deps = [ | 12 public_deps = [ |
| 13 ":gpu_sources", | 13 ":gpu_sources", |
| 14 ] | 14 ] |
| 15 } | 15 } |
| 16 } | 16 } |
| 17 | 17 |
| 18 source_set("gpu_sources") { | 18 source_set("gpu_sources") { |
| 19 # You must depend on this via //content/public/gpu above for the component | 19 # You must depend on this via //content/public/gpu above for the component |
| 20 # build to work properly. | 20 # build to work properly. |
| 21 visibility = [ "//content/*" ] | 21 visibility = [ "//content/*" ] |
| 22 | 22 |
| 23 configs += [ "//content:content_implementation" ] | 23 configs += [ "//content:content_implementation" ] |
| 24 | 24 |
| 25 sources = [ | 25 sources = [ |
| 26 "content_gpu_client.cc", |
| 26 "content_gpu_client.h", | 27 "content_gpu_client.h", |
| 27 "gpu_video_decode_accelerator_factory.cc", | 28 "gpu_video_decode_accelerator_factory.cc", |
| 28 "gpu_video_decode_accelerator_factory.h", | 29 "gpu_video_decode_accelerator_factory.h", |
| 29 ] | 30 ] |
| 30 | 31 |
| 31 deps = [ | 32 deps = [ |
| 32 "//base", | 33 "//base", |
| 33 "//content:export", | 34 "//content:export", |
| 34 "//content/gpu:gpu_sources", | 35 "//content/gpu:gpu_sources", |
| 35 "//content/public/common:common_sources", | 36 "//content/public/common:common_sources", |
| 36 "//gpu/command_buffer/service", | 37 "//gpu/command_buffer/service", |
| 37 "//gpu/config", | 38 "//gpu/config", |
| 38 "//media:media", | 39 "//media:media", |
| 39 ] | 40 ] |
| 40 | 41 |
| 41 allow_circular_includes_from = [ "//content/gpu:gpu_sources" ] | 42 allow_circular_includes_from = [ "//content/gpu:gpu_sources" ] |
| 42 } | 43 } |
| OLD | NEW |