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 visibility = [ "//content/*" ] | 19 visibility = [ "//content/*" ] |
20 | 20 |
21 sources = [ | 21 sources = [ |
22 "content_gpu_client.h", | 22 "content_gpu_client.h", |
23 "gpu_video_decode_accelerator_factory.cc", | |
24 "gpu_video_decode_accelerator_factory.h", | |
23 ] | 25 ] |
24 | 26 |
25 deps = [ | 27 deps = [ |
26 "//base", | 28 "//base", |
27 "//content:export", | 29 "//content:export", |
28 "//content/gpu:gpu_sources", | 30 "//content/gpu:gpu_sources", |
29 "//content/public/common:common_sources", | 31 "//content/public/common:common_sources", |
32 "//gpu/command_buffer/service:service_sources", | |
33 "//gpu/config:config_sources", | |
boliu
2016/03/25 17:49:08
The problem was gpu/command_buffer/service and gpu
| |
34 "//media:media", | |
30 ] | 35 ] |
31 | 36 |
32 allow_circular_includes_from = [ "//content/gpu:gpu_sources" ] | 37 allow_circular_includes_from = [ "//content/gpu:gpu_sources" ] |
33 } | 38 } |
OLD | NEW |