On 09/12/2016 10:35 AM, Alexander Altshuler wrote:
> Hi
> I'm trying to build Chromium on Linux without dbus.
> I specify use_dbus = false argument, but still have an errors like below:
>
> In file included from
> ../../device/media_transfer_protocol/media_transfer_protocol_daemon_client.cc:12:0:
> ../../dbus/bus.h:8:23: fatal error: dbus/dbus.h: No such file or directory
> #include <dbus/dbus.h>
>
> Is it possible to completely avoid dbus?
You might be able to avoid dbus when building the content layer, but I
doubt it's possible for chromium without a lot of patching.
The //device/media_transfer_protocol target always depends on dbus even
though it has an "if (use_dbus) { ... }" block, if you want to
investigate further you should see where
//device/media_transfer_protocol is pulled into the dependency tree and
try to remove it.
-Mostyn.
> PS: I use 54.0.2825.1.tags.
>
> Regards
> Alexander Altshuler
>
--
Mostyn Bramley-Moore
Opera TV
mos...@opera.com