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 import("//build/config/ui.gni") |
| 6 |
5 group("common") { | 7 group("common") { |
6 if (is_component_build) { | 8 if (is_component_build) { |
7 public_deps = [ | 9 public_deps = [ |
8 "//gpu", | 10 "//gpu", |
9 ] | 11 ] |
10 } else { | 12 } else { |
11 public_deps = [ | 13 public_deps = [ |
12 ":ipc_common_sources", | 14 ":ipc_common_sources", |
13 ] | 15 ] |
14 } | 16 } |
(...skipping 30 matching lines...) Expand all Loading... |
45 "//base", | 47 "//base", |
46 "//gpu/command_buffer/common:common_sources", | 48 "//gpu/command_buffer/common:common_sources", |
47 "//ipc", | 49 "//ipc", |
48 ] | 50 ] |
49 } | 51 } |
50 | 52 |
51 source_set("ipc_common_sources") { | 53 source_set("ipc_common_sources") { |
52 visibility = [ "//gpu/*" ] | 54 visibility = [ "//gpu/*" ] |
53 | 55 |
54 sources = [ | 56 sources = [ |
| 57 "gpu_memory_buffer_support.cc", |
| 58 "gpu_memory_buffer_support.h", |
55 "gpu_memory_uma_stats.h", | 59 "gpu_memory_uma_stats.h", |
56 "gpu_message_generator.cc", | 60 "gpu_message_generator.cc", |
57 "gpu_message_generator.h", | 61 "gpu_message_generator.h", |
58 "gpu_messages.h", | 62 "gpu_messages.h", |
59 "gpu_param_traits.cc", | 63 "gpu_param_traits.cc", |
60 "gpu_param_traits.h", | 64 "gpu_param_traits.h", |
61 "gpu_param_traits_macros.h", | 65 "gpu_param_traits_macros.h", |
62 "gpu_stream_constants.h", | 66 "gpu_stream_constants.h", |
63 "gpu_surface_lookup.cc", | 67 "gpu_surface_lookup.cc", |
64 "gpu_surface_lookup.h", | 68 "gpu_surface_lookup.h", |
(...skipping 19 matching lines...) Expand all Loading... |
84 ] | 88 ] |
85 | 89 |
86 if (is_android) { | 90 if (is_android) { |
87 sources += [ | 91 sources += [ |
88 "android/surface_texture_manager.cc", | 92 "android/surface_texture_manager.cc", |
89 "android/surface_texture_manager.h", | 93 "android/surface_texture_manager.h", |
90 "android/surface_texture_peer.cc", | 94 "android/surface_texture_peer.cc", |
91 "android/surface_texture_peer.h", | 95 "android/surface_texture_peer.h", |
92 ] | 96 ] |
93 } | 97 } |
| 98 |
| 99 if (use_ozone) { |
| 100 deps += [ "//ui/ozone" ] |
| 101 } |
94 } | 102 } |
OLD | NEW |