diff options
author | k.czech <k.czech@samsung.com> | 2015-05-06 16:21:48 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-06 23:22:20 +0000 |
commit | 16e2d5a386e3ddd5be818a0d27610b1e9ee9c08e (patch) | |
tree | 87f429d168a3122677326d5a8b5a284a0770917d /build/linux | |
parent | f324f5095f912fba25ed1d79faaec98424f4c8fd (diff) | |
download | chromium_src-16e2d5a386e3ddd5be818a0d27610b1e9ee9c08e.zip chromium_src-16e2d5a386e3ddd5be818a0d27610b1e9ee9c08e.tar.gz chromium_src-16e2d5a386e3ddd5be818a0d27610b1e9ee9c08e.tar.bz2 |
Linux Aura accessibility is enabled only on GNOME desktops
Linux Aura accessibility is not enabled on desktops different than GNOME2.
GNOME3 has deprecated gconf in favor of gsettings and dconf.
AT-SPI (cross-platform framework that provides communication between AT
and application) bus launcher has a property called org.a11y.Bus.IsEnabled
that could be easily read by dbus call.
In generall this patch adds an additional check to enable accessibility.
When gconf is available use gnome's accessibility key otherwise
org.a11y.Bus.IsEnabled property.
BUG=472183,468989,468112
TBR=stevenjb@chromium.org,jochen@chromium.org
Review URL: https://codereview.chromium.org/1028553003
Cr-Commit-Position: refs/heads/master@{#328651}
Diffstat (limited to 'build/linux')
-rw-r--r-- | build/linux/system.gyp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp index 476476e..e7cc9dc 100644 --- a/build/linux/system.gyp +++ b/build/linux/system.gyp @@ -692,6 +692,9 @@ 'cflags': [ '<!@(<(pkg-config) --cflags dbus-1)', ], + 'defines': [ + 'USE_DBUS', + ], }, 'link_settings': { 'ldflags': [ |