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 # See //content/BUILD.gn for how this works. | 8 # See //content/BUILD.gn for how this works. |
9 group("gpu") { | 9 group("gpu") { |
10 visibility = [ "//content/*" ] | 10 visibility = [ "//content/*" ] |
(...skipping 23 matching lines...) Expand all Loading... |
34 "in_process_gpu_thread.cc", | 34 "in_process_gpu_thread.cc", |
35 "in_process_gpu_thread.h", | 35 "in_process_gpu_thread.h", |
36 ] | 36 ] |
37 | 37 |
38 configs += [ "//content:content_implementation" ] | 38 configs += [ "//content:content_implementation" ] |
39 | 39 |
40 deps = [ | 40 deps = [ |
41 "//base", | 41 "//base", |
42 "//content:export", | 42 "//content:export", |
43 "//content/public/child:child_sources", | 43 "//content/public/child:child_sources", |
| 44 "//mojo/application/public/interfaces", |
44 "//skia", | 45 "//skia", |
45 "//third_party/mojo/src/mojo/public/interfaces/application", | |
46 "//ui/gl", | 46 "//ui/gl", |
47 ] | 47 ] |
48 | 48 |
49 if (is_win) { | 49 if (is_win) { |
50 configs += [ | 50 configs += [ |
51 "//third_party/khronos:khronos_headers", | 51 "//third_party/khronos:khronos_headers", |
52 "//third_party/wtl:wtl_includes", | 52 "//third_party/wtl:wtl_includes", |
53 ] | 53 ] |
54 libs = [ "setupapi.lib" ] | 54 libs = [ "setupapi.lib" ] |
55 deps += [ | 55 deps += [ |
56 "//third_party/angle:libEGL", | 56 "//third_party/angle:libEGL", |
57 "//third_party/angle:libGLESv2", | 57 "//third_party/angle:libGLESv2", |
58 ] | 58 ] |
59 } | 59 } |
60 | 60 |
61 if (is_chromeos && current_cpu != "arm") { | 61 if (is_chromeos && current_cpu != "arm") { |
62 configs += [ "//third_party/libva:libva_config" ] | 62 configs += [ "//third_party/libva:libva_config" ] |
63 } | 63 } |
64 | 64 |
65 if (use_x11) { | 65 if (use_x11) { |
66 deps += [ "//ui/events/platform/x11" ] | 66 deps += [ "//ui/events/platform/x11" ] |
67 } | 67 } |
68 } | 68 } |
OLD | NEW |