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