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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//content/content.gni") | 6 import("//content/content.gni") |
7 import("//media/media_options.gni") | 7 import("//media/media_options.gni") |
8 | 8 |
9 # See //content/BUILD.gn for how this works. | 9 # See //content/BUILD.gn for how this works. |
10 group("gpu") { | 10 group("gpu") { |
11 visibility = [ "//content/*" ] | 11 visibility = [ "//content/*" ] |
12 | 12 |
13 if (is_component_build) { | 13 if (is_component_build) { |
14 public_deps = [ | 14 public_deps = [ |
15 "//content", | 15 "//content", |
16 ] | 16 ] |
17 } else { | 17 } else { |
18 public_deps = [ | 18 public_deps = [ |
19 ":gpu_sources", | 19 ":gpu_sources", |
20 ] | 20 ] |
21 } | 21 } |
22 } | 22 } |
23 | 23 |
24 source_set("gpu_sources") { | 24 source_set("gpu_sources") { |
25 visibility = [ "//content/*" ] | 25 visibility = [ "//content/*" ] |
26 | 26 |
27 sources = [ | 27 sources = [ |
| 28 "chrome_gpu_memory_buffer_service_ipc_transport.cc", |
| 29 "chrome_gpu_memory_buffer_service_ipc_transport.h", |
28 "gpu_child_thread.cc", | 30 "gpu_child_thread.cc", |
29 "gpu_child_thread.h", | 31 "gpu_child_thread.h", |
30 "gpu_main.cc", | 32 "gpu_main.cc", |
| 33 "gpu_memory_buffer_service.cc", |
| 34 "gpu_memory_buffer_service.h", |
| 35 "gpu_memory_buffer_service_ipc_transport.h", |
31 "gpu_process.cc", | 36 "gpu_process.cc", |
32 "gpu_process.h", | 37 "gpu_process.h", |
33 "gpu_process_control_impl.cc", | 38 "gpu_process_control_impl.cc", |
34 "gpu_process_control_impl.h", | 39 "gpu_process_control_impl.h", |
35 "gpu_watchdog_thread.cc", | 40 "gpu_watchdog_thread.cc", |
36 "gpu_watchdog_thread.h", | 41 "gpu_watchdog_thread.h", |
37 "in_process_gpu_thread.cc", | 42 "in_process_gpu_thread.cc", |
38 "in_process_gpu_thread.h", | 43 "in_process_gpu_thread.h", |
39 ] | 44 ] |
40 | 45 |
(...skipping 29 matching lines...) Expand all Loading... |
70 } | 75 } |
71 | 76 |
72 if (is_chromeos && current_cpu != "arm") { | 77 if (is_chromeos && current_cpu != "arm") { |
73 configs += [ "//third_party/libva:libva_config" ] | 78 configs += [ "//third_party/libva:libva_config" ] |
74 } | 79 } |
75 | 80 |
76 if (use_x11) { | 81 if (use_x11) { |
77 deps += [ "//ui/events/platform/x11" ] | 82 deps += [ "//ui/events/platform/x11" ] |
78 } | 83 } |
79 } | 84 } |
OLD | NEW |