Make dbus code optional

The dbus code is pretty self-contained and the already allows
you to skip the dbus library if you don't want it.  Also make it
optional in the gyp file based on a USE flag.  The USE flag is set / not
set with a corresponding change in the ebuild.

TEST=emerge-$BOARD libbrillo with and without the USE flag set and see
that the dbus library is present / not present.

Change-Id: Ibfb46ebe400973dad9b3f2e3ac072b27cc86edcb
Signed-off-by: Chirantan Ekbote <>
Commit-Ready: Stephen Barber <>
Reviewed-by: Mike Frysinger <>
1 file changed