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("//media/media_options.gni") | 6 import("//media/media_options.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/*" ] # This is an internal content API. | 10 visibility = [ "//content/*" ] # This is an internal content API. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 "//media/mojo/services:application_factory", | 57 "//media/mojo/services:application_factory", |
58 "//services/shell/public/interfaces", | 58 "//services/shell/public/interfaces", |
59 "//skia", | 59 "//skia", |
60 "//ui/events/ipc", | 60 "//ui/events/ipc", |
61 "//ui/gfx/ipc", | 61 "//ui/gfx/ipc", |
62 "//ui/gl", | 62 "//ui/gl", |
63 ] | 63 ] |
64 | 64 |
65 if (mojo_media_host == "gpu") { | 65 if (mojo_media_host == "gpu") { |
66 deps += [ "//media/mojo/services:application_factory" ] | 66 deps += [ "//media/mojo/services:application_factory" ] |
| 67 if (is_android) { |
| 68 deps += [ "//media/base/android" ] |
| 69 } |
67 } | 70 } |
68 | 71 |
69 if (is_win) { | 72 if (is_win) { |
70 configs += [ | 73 configs += [ |
71 "//third_party/khronos:khronos_headers", | 74 "//third_party/khronos:khronos_headers", |
72 "//third_party/wtl:wtl_includes", | 75 "//third_party/wtl:wtl_includes", |
73 ] | 76 ] |
74 libs = [ "setupapi.lib" ] | 77 libs = [ "setupapi.lib" ] |
75 deps += [ | 78 deps += [ |
76 "//sandbox", | 79 "//sandbox", |
(...skipping 11 matching lines...) Expand all Loading... |
88 } | 91 } |
89 | 92 |
90 if (use_ozone) { | 93 if (use_ozone) { |
91 deps += [ "//ui/ozone" ] | 94 deps += [ "//ui/ozone" ] |
92 } | 95 } |
93 | 96 |
94 if (enable_vulkan) { | 97 if (enable_vulkan) { |
95 deps += [ "//gpu/vulkan" ] | 98 deps += [ "//gpu/vulkan" ] |
96 } | 99 } |
97 } | 100 } |
OLD | NEW |