Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Side by Side Diff: content/gpu/BUILD.gn

Issue 1723303002: Implement GLX for Ozone X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to use #define Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/gpu/gpu_main.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 8
8 # See //content/BUILD.gn for how this works. 9 # See //content/BUILD.gn for how this works.
9 group("gpu") { 10 group("gpu") {
10 visibility = [ "//content/*" ] # This is an internal content API. 11 visibility = [ "//content/*" ] # This is an internal content API.
11 12
12 if (is_component_build) { 13 if (is_component_build) {
13 public_deps = [ 14 public_deps = [
14 "//content", 15 "//content",
15 ] 16 ]
16 } else { 17 } else {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 if (is_chromeos && current_cpu != "arm") { 94 if (is_chromeos && current_cpu != "arm") {
94 configs += [ "//third_party/libva:libva_config" ] 95 configs += [ "//third_party/libva:libva_config" ]
95 } 96 }
96 97
97 if (use_x11) { 98 if (use_x11) {
98 deps += [ "//ui/events/platform/x11" ] 99 deps += [ "//ui/events/platform/x11" ]
99 } 100 }
100 101
101 if (use_ozone) { 102 if (use_ozone) {
102 deps += [ "//ui/ozone" ] 103 deps += [ "//ui/ozone" ]
104
105 if (ozone_platform_x11) {
106 defines = [ "OZONE_X11" ]
107 }
103 } 108 }
104 109
105 if (enable_vulkan) { 110 if (enable_vulkan) {
106 deps += [ "//gpu/vulkan" ] 111 deps += [ "//gpu/vulkan" ]
107 } 112 }
108 } 113 }
OLDNEW
« no previous file with comments | « no previous file | content/gpu/gpu_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698