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

Unified Diff: build/common.gypi

Issue 1412093006: components: Add Exosphere component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove some ifdefs Created 5 years, 1 month 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 | « ash/BUILD.gn ('k') | build/config/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index ca65fc31caa20734aa0cac0868a30544aa2dc8a7..dcdf15531dbab355c763a5f7536bbf68b02fdb71 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -85,6 +85,9 @@
# Enable top chrome material design.
'enable_topchrome_md%' : 0,
+ # Enable Wayland display server support.
+ 'enable_wayland_server%' : 0,
+
# Build against pre-built sysroot image on linux. By default
# the sysroot image is only used for Official builds or when cross
# compiling.
@@ -161,6 +164,7 @@
'enable_viewport%': '<(enable_viewport)',
'enable_hidpi%': '<(enable_hidpi)',
'enable_topchrome_md%': '<(enable_topchrome_md)',
+ 'enable_wayland_server%': '<(enable_wayland_server)',
'buildtype%': '<(buildtype)',
'branding%': '<(branding)',
'branding_path_component%': '<(branding)',
@@ -337,6 +341,7 @@
'enable_viewport%': '<(enable_viewport)',
'enable_hidpi%': '<(enable_hidpi)',
'enable_topchrome_md%': '<(enable_topchrome_md)',
+ 'enable_wayland_server%': '<(enable_wayland_server)',
'android_channel%': '<(android_channel)',
'use_goma%': '<(use_goma)',
'gomadir%': '<(gomadir)',
@@ -751,6 +756,13 @@
'use_glib%': 1,
}],
+ # Flags to use Wayland server support.
+ ['chromeos==1 and use_ozone==1', {
+ 'enable_wayland_server%': 1,
+ }, {
+ 'enable_wayland_server%': 0,
+ }],
+
# Flags to use pango and cairo.
['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or embedded==1', {
'use_pango%': 0,
@@ -1128,6 +1140,7 @@
'enable_viewport%': '<(enable_viewport)',
'enable_hidpi%': '<(enable_hidpi)',
'enable_topchrome_md%': '<(enable_topchrome_md)',
+ 'enable_wayland_server%': '<(enable_wayland_server)',
'image_loader_extension%': '<(image_loader_extension)',
'fastbuild%': '<(fastbuild)',
'dont_embed_build_metadata%': '<(dont_embed_build_metadata)',
@@ -2757,6 +2770,9 @@
['enable_topchrome_md==1', {
'defines': ['ENABLE_TOPCHROME_MD=1'],
}],
+ ['enable_wayland_server==1', {
+ 'defines': ['ENABLE_WAYLAND_SERVER=1'],
+ }],
['use_udev==1', {
'defines': ['USE_UDEV'],
}],
« no previous file with comments | « ash/BUILD.gn ('k') | build/config/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698