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