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