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 30 matching lines...) Expand all Loading... |
41 | 41 |
42 deps = [ | 42 deps = [ |
43 "//base", | 43 "//base", |
44 "//content:export", | 44 "//content:export", |
45 "//content/public/child:child_sources", | 45 "//content/public/child:child_sources", |
46 "//mojo/application/public/interfaces", | 46 "//mojo/application/public/interfaces", |
47 "//skia", | 47 "//skia", |
48 "//ui/gl", | 48 "//ui/gl", |
49 ] | 49 ] |
50 | 50 |
| 51 if (enable_mojo_media == "gpu") { |
| 52 deps += [ "//media/mojo/services:application" ] |
| 53 } |
| 54 |
51 if (is_win) { | 55 if (is_win) { |
52 configs += [ | 56 configs += [ |
53 "//third_party/khronos:khronos_headers", | 57 "//third_party/khronos:khronos_headers", |
54 "//third_party/wtl:wtl_includes", | 58 "//third_party/wtl:wtl_includes", |
55 ] | 59 ] |
56 libs = [ "setupapi.lib" ] | 60 libs = [ "setupapi.lib" ] |
57 deps += [ | 61 deps += [ |
58 "//third_party/angle:libEGL", | 62 "//third_party/angle:libEGL", |
59 "//third_party/angle:libGLESv2", | 63 "//third_party/angle:libGLESv2", |
60 ] | 64 ] |
61 } | 65 } |
62 | 66 |
63 if (is_chromeos && current_cpu != "arm") { | 67 if (is_chromeos && current_cpu != "arm") { |
64 configs += [ "//third_party/libva:libva_config" ] | 68 configs += [ "//third_party/libva:libva_config" ] |
65 } | 69 } |
66 | 70 |
67 if (use_x11) { | 71 if (use_x11) { |
68 deps += [ "//ui/events/platform/x11" ] | 72 deps += [ "//ui/events/platform/x11" ] |
69 } | 73 } |
70 } | 74 } |
OLD | NEW |