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

Unified Diff: build/common.gypi

Issue 59133008: ozone: Support building without cairo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase & fix whitespace Created 7 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 | « no previous file | skia/ext/bitmap_platform_device.h » ('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 e932d31aa810d51dbd401b2294cf40fa2621b742..9514b7b48873e46d85250c3a7a5f921385e8dea0 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -528,11 +528,13 @@
'use_glib%': 1,
}],
- # Flags to use pango.
+ # Flags to use pango and cairo.
['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or embedded==1', {
'use_pango%': 0,
+ 'use_cairo%': 0,
}, {
'use_pango%': 1,
+ 'use_cairo%': 1,
}],
# DBus usage.
@@ -861,6 +863,7 @@
'use_dbus%': '<(use_dbus)',
'use_glib%': '<(use_glib)',
'use_pango%': '<(use_pango)',
+ 'use_cairo%': '<(use_cairo)',
'use_ozone%': '<(use_ozone)',
'use_ozone_evdev%': '<(use_ozone_evdev)',
'toolkit_uses_gtk%': '<(toolkit_uses_gtk)',
@@ -2061,6 +2064,9 @@
['use_ash==1', {
'defines': ['USE_ASH=1'],
}],
+ ['use_cairo==1', {
+ 'defines': ['USE_CAIRO=1'],
+ }],
['use_cras==1', {
'defines': ['USE_CRAS=1'],
}],
« no previous file with comments | « no previous file | skia/ext/bitmap_platform_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698