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'], |
}], |