Index: content/content_common.gypi |
diff --git a/content/content_common.gypi b/content/content_common.gypi |
index 47af968f5c92a15cd76b9045ccc6b5303e77cdaf..6ccb2bd9d540eb21179fc2dee65db496871c5cb5 100644 |
--- a/content/content_common.gypi |
+++ b/content/content_common.gypi |
@@ -193,8 +193,8 @@ |
'common/font_list.cc', |
'common/font_list.h', |
'common/font_list_android.cc', |
- 'common/font_list_linux.cc', |
'common/font_list_mac.mm', |
+ 'common/font_list_pango.cc', |
'common/font_list_win.cc', |
'common/gamepad_hardware_buffer.h', |
'common/gamepad_messages.h', |
@@ -427,10 +427,14 @@ |
'../build/linux/system.gyp:gtk', |
], |
}], |
- ['OS=="linux"', { |
+ ['use_pango == 1', { |
'dependencies': [ |
'../build/linux/system.gyp:pangocairo', |
], |
+ }, { # use_pango == 0 |
+ 'sources!': [ |
+ 'common/font_list_pango.cc', |
+ ], |
}], |
['use_x11 == 1', { |
'include_dirs': [ |