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 | 7 |
8 source_set("gpu") { | 8 source_set("gpu") { |
9 visibility = [ "//content/*" ] | 9 visibility = [ "//content/*" ] |
10 | 10 |
11 sources = [ | 11 sources = [ |
12 "gpu_main.cc", | 12 "gpu_main.cc", |
13 "gpu_process.cc", | 13 "gpu_process.cc", |
14 "gpu_process.h", | 14 "gpu_process.h", |
15 "gpu_child_thread.cc", | 15 "gpu_child_thread.cc", |
16 "gpu_child_thread.h", | 16 "gpu_child_thread.h", |
17 "gpu_watchdog_thread.cc", | 17 "gpu_watchdog_thread.cc", |
18 "gpu_watchdog_thread.h", | 18 "gpu_watchdog_thread.h", |
19 "in_process_gpu_thread.cc", | 19 "in_process_gpu_thread.cc", |
20 "in_process_gpu_thread.h", | 20 "in_process_gpu_thread.h", |
21 ] | 21 ] |
22 | 22 |
23 configs += [ "//content:content_implementation" ] | 23 configs += [ "//content:content_implementation" ] |
24 | 24 |
25 deps = [ | 25 deps = [ |
26 "//base", | 26 "//base", |
27 "//content:export", | 27 "//content:export", |
| 28 "//content/public/child:child_sources", |
28 "//mojo/public/interfaces/application", | 29 "//mojo/public/interfaces/application", |
29 "//skia", | 30 "//skia", |
30 "//ui/gl", | 31 "//ui/gl", |
31 ] | 32 ] |
32 | 33 |
33 if (is_win) { | 34 if (is_win) { |
34 configs += [ | 35 configs += [ |
35 "//third_party/khronos:khronos_headers", | 36 "//third_party/khronos:khronos_headers", |
36 "//third_party/wtl:wtl_includes", | 37 "//third_party/wtl:wtl_includes", |
37 ] | 38 ] |
38 libs = [ "setupapi.lib" ] | 39 libs = [ "setupapi.lib" ] |
39 deps += [ | 40 deps += [ |
40 "//third_party/angle:libEGL", | 41 "//third_party/angle:libEGL", |
41 "//third_party/angle:libGLESv2", | 42 "//third_party/angle:libGLESv2", |
42 ] | 43 ] |
43 } | 44 } |
44 | 45 |
45 if (is_chromeos && cpu_arch != "arm") { | 46 if (is_chromeos && cpu_arch != "arm") { |
46 configs += [ "//third_party/libva:libva_config" ] | 47 configs += [ "//third_party/libva:libva_config" ] |
47 } | 48 } |
48 | 49 |
49 if (use_x11) { | 50 if (use_x11) { |
50 deps += [ "//ui/events/platform/x11" ] | 51 deps += [ "//ui/events/platform/x11" ] |
51 } | 52 } |
52 } | 53 } |
OLD | NEW |