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

Unified Diff: build/common.gypi

Issue 288273002: ozone: Add ozone_auto_platforms setting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase better Created 6 years, 7 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 | no next file » | 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 23350c1e742f7f4b54e1a2161473eb174f910b05..48f5244741cdb08e1478814fbdf1dd8845ac9417 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -561,6 +561,10 @@
# Enable hole punching for the protected video.
'video_hole%': 0,
+ # Automatically select platforms under ozone. Turn this off to
+ # build only explicitly selected platforms.
+ 'ozone_auto_platforms%': 1,
+
'conditions': [
# A flag for POSIX platforms
['OS=="win"', {
@@ -1381,6 +1385,16 @@
# Support ChromeOS touchpad gestures with ozone.
'use_evdev_gestures%': 0,
+ # Default ozone platform (if no --ozone-platform flag).
+ 'ozone_platform%': "",
+
+ # Ozone platforms to include in the build.
+ 'ozone_platform_caca%': 0,
+ 'ozone_platform_dri%': 0,
+ 'ozone_platform_egltest%': 0,
+ 'ozone_platform_ozonex%': 0,
+ 'ozone_platform_test%': 0,
+
'conditions': [
# Enable the Syzygy optimization step for the official builds.
['OS=="win" and buildtype=="Official" and syzyasan!=1', {
@@ -2109,22 +2123,20 @@
'use_brlapi%': 1,
}],
- ['use_ozone==1', {
- # This is the default platform
- 'ozone_platform%': "test",
+ ['use_ozone==1 and ozone_auto_platforms==1', {
+ # Use test as the default platform.
+ 'ozone_platform%': 'test',
- # Enable built-in ozone platforms if ozone is enabled.
- 'ozone_platform_caca%': 0,
+ # Build all platforms whose deps are in install-build-deps.sh.
+ # Only these platforms will be compile tested by buildbots.
'ozone_platform_dri%': 1,
- 'ozone_platform_egltest%': 1,
- 'ozone_platform_ozonex%': 0,
'ozone_platform_test%': 1,
- }, { # use_ozone==0
- 'ozone_platform_caca%': 0,
- 'ozone_platform_dri%': 0,
- 'ozone_platform_egltest%': 0,
- 'ozone_platform_ozonex%': 0,
- 'ozone_platform_test%': 0,
+ 'ozone_platform_egltest%': 1,
+ }],
+
+ ['use_ozone==1 and ozone_auto_platforms==1 and chromeos==1', {
+ # Use dri as the default platform.
+ 'ozone_platform%': 'dri',
}],
['desktop_linux==1 and use_aura==1 and use_x11==1', {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698