| 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 import("//ui/ozone/ozone.gni") | 7 import("//ui/ozone/ozone.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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 if (is_chromeos && current_cpu != "arm") { | 94 if (is_chromeos && current_cpu != "arm") { |
| 95 configs += [ "//third_party/libva:libva_config" ] | 95 configs += [ "//third_party/libva:libva_config" ] |
| 96 } | 96 } |
| 97 | 97 |
| 98 if (use_x11) { | 98 if (use_x11) { |
| 99 deps += [ "//ui/events/platform/x11" ] | 99 deps += [ "//ui/events/platform/x11" ] |
| 100 } | 100 } |
| 101 | 101 |
| 102 if (use_ozone) { | 102 if (use_ozone) { |
| 103 deps += [ "//ui/ozone" ] | 103 deps += [ "//ui/ozone" ] |
| 104 | |
| 105 if (ozone_platform_x11) { | |
| 106 defines = [ "OZONE_X11" ] | |
| 107 } | |
| 108 } | 104 } |
| 109 | 105 |
| 110 if (enable_vulkan) { | 106 if (enable_vulkan) { |
| 111 deps += [ "//gpu/vulkan" ] | 107 deps += [ "//gpu/vulkan" ] |
| 112 } | 108 } |
| 113 } | 109 } |
| OLD | NEW |