| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 "//third_party/wtl:wtl_includes", | 71 "//third_party/wtl:wtl_includes", |
| 72 ] | 72 ] |
| 73 libs = [ "setupapi.lib" ] | 73 libs = [ "setupapi.lib" ] |
| 74 deps += [ | 74 deps += [ |
| 75 "//sandbox", | 75 "//sandbox", |
| 76 "//third_party/angle:libEGL", | 76 "//third_party/angle:libEGL", |
| 77 "//third_party/angle:libGLESv2", | 77 "//third_party/angle:libGLESv2", |
| 78 ] | 78 ] |
| 79 } | 79 } |
| 80 | 80 |
| 81 if (is_chromeos && current_cpu != "arm") { | 81 if ((is_chromeos || is_linux) && current_cpu != "arm") { |
| 82 configs += [ "//third_party/libva:libva_config" ] | 82 configs += [ "//third_party/libva:libva_config" ] |
| 83 } | 83 } |
| 84 | 84 |
| 85 if (use_x11) { | 85 if (use_x11) { |
| 86 deps += [ "//ui/events/platform/x11" ] | 86 deps += [ "//ui/events/platform/x11" ] |
| 87 } | 87 } |
| 88 | 88 |
| 89 if (use_ozone) { | 89 if (use_ozone) { |
| 90 deps += [ "//ui/ozone" ] | 90 deps += [ "//ui/ozone" ] |
| 91 } | 91 } |
| 92 | 92 |
| 93 if (enable_vulkan) { | 93 if (enable_vulkan) { |
| 94 deps += [ "//gpu/vulkan" ] | 94 deps += [ "//gpu/vulkan" ] |
| 95 } | 95 } |
| 96 } | 96 } |
| OLD | NEW |