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("common") { | 5 group("common") { |
6 if (is_component_build) { | 6 public_deps = [ |
Fady Samuel
2016/03/08 05:38:54
Hey Mark! I don't really know what I'm doing here.
Mark Dittmer
2016/03/08 18:28:11
I think you're better off making the source_set be
| |
7 public_deps = [ | 7 ":ipc_common_sources", |
8 "//gpu", | 8 ] |
9 ] | |
10 } else { | |
11 public_deps = [ | |
12 ":ipc_common_sources", | |
13 ] | |
14 } | |
15 } | 9 } |
16 | 10 |
17 source_set("ipc_common_sources") { | 11 source_set("ipc_common_sources") { |
18 visibility = [ "//gpu/*" ] | |
19 | |
20 sources = [ | 12 sources = [ |
21 "gpu_command_buffer_traits.cc", | 13 "gpu_command_buffer_traits.cc", |
22 "gpu_command_buffer_traits.h", | 14 "gpu_command_buffer_traits.h", |
23 "id_type_traits.h", | 15 "id_type_traits.h", |
24 "memory_stats.cc", | 16 "memory_stats.cc", |
25 "memory_stats.h", | 17 "memory_stats.h", |
26 ] | 18 ] |
27 | 19 |
20 if (is_android) { | |
21 sources += [ | |
22 "surface_texture_manager.cc", | |
23 "surface_texture_manager.h", | |
24 "surface_texture_peer.cc", | |
25 "surface_texture_peer.h", | |
26 ] | |
27 } | |
28 | |
28 configs += [ | 29 configs += [ |
29 "//gpu:gpu_implementation", | 30 "//gpu:gpu_implementation", |
30 "//third_party/khronos:khronos_headers", | 31 "//third_party/khronos:khronos_headers", |
31 ] | 32 ] |
32 | 33 |
33 deps = [ | 34 deps = [ |
34 "//base", | 35 "//base", |
35 "//gpu/command_buffer/common:common_sources", | 36 "//gpu/command_buffer/common:common_sources", |
36 "//ipc", | 37 "//ipc", |
37 ] | 38 ] |
38 } | 39 } |
OLD | NEW |