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