Skip to content

Commit e45e2af

Browse files
committed
<chromium> Get rid of the gtk/pango/cairo dependency
This also removes the aura dependency to chrome resources since we repack the needed resources ourselves. Reviewed-by: Zeno Albisser <[email protected]> Change-Id: I0368bb36948ba9612040ed869ef818d4b8471b9b
1 parent 21f5af6 commit e45e2af

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

chromium/build/linux/system.gyp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
'use_system_ssl%': 1,
3030
},
3131
}],
32-
[ 'chromeos==0', {
32+
[ 'chromeos==0 and use_qt==0', {
3333
# Hide GTK and related dependencies for Chrome OS, so they won't get
3434
# added back to Chrome OS. Don't try to use GTK on Chrome OS.
3535
'targets': [
@@ -659,6 +659,8 @@
659659
'target_name': 'pangocairo',
660660
'type': 'none',
661661
'toolsets': ['host', 'target'],
662+
'conditions': [
663+
['use_pango==1', {
662664
'conditions': [
663665
['_toolset=="target"', {
664666
'direct_dependent_settings': {
@@ -690,6 +692,8 @@
690692
},
691693
}],
692694
],
695+
}],
696+
],
693697
},
694698
{
695699
'target_name': 'ssl',

chromium/content/browser/renderer_host/render_sandbox_host_linux.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ void RenderSandboxHostLinux::Init(const std::string& sandbox_path) {
709709
childs_lifeline_fd_ = pipefds[1];
710710

711711
// We need to be monothreaded before we fork().
712-
#if !defined(TOOLKIT_GTK)
712+
#if !defined(TOOLKIT_GTK) && !defined(TOOLKIT_QT)
713713
// Exclude gtk port as TestSuite in base/tests/test_suite.cc is calling
714714
// gtk_init.
715715
// TODO(oshima): Remove ifdef when above issues are resolved.

chromium/content/renderer/npapi/webplugin_delegate_proxy.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#if defined(TOOLKIT_GTK)
88
#include <gtk/gtk.h>
9-
#elif defined(USE_X11)
9+
#elif defined(USE_CAIRO)
1010
#include <cairo/cairo.h>
1111
#endif
1212

chromium/ui/aura/aura.gyp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@
243243
'type': 'executable',
244244
'dependencies': [
245245
'../../base/base.gyp:test_support_base',
246-
'../../chrome/chrome_resources.gyp:packed_resources',
247246
'../../skia/skia.gyp:skia',
248247
'../../testing/gtest.gyp:gtest',
249248
'../compositor/compositor.gyp:compositor',

0 commit comments

Comments
 (0)