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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/gpu/gpu_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/gpu/BUILD.gn
diff --git a/content/gpu/BUILD.gn b/content/gpu/BUILD.gn
index 0de39883ff16727a88d3a0d8fcafe48b11a563d0..bb985245f009a4a8fc85224bf8a4efe1b1ed27d3 100644
--- a/content/gpu/BUILD.gn
+++ b/content/gpu/BUILD.gn
@@ -4,6 +4,7 @@
import("//build/config/ui.gni")
import("//media/media_options.gni")
+import("//ui/ozone/ozone.gni")
# See //content/BUILD.gn for how this works.
group("gpu") {
@@ -100,6 +101,10 @@ target(link_target_type, "gpu_sources") {
if (use_ozone) {
deps += [ "//ui/ozone" ]
+
+ if (ozone_platform_x11) {
+ defines = [ "OZONE_X11" ]
+ }
}
if (enable_vulkan) {
« 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