diff options
author | spang@chromium.org <spang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-13 20:44:52 +0000 |
---|---|---|
committer | spang@chromium.org <spang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-13 20:44:52 +0000 |
commit | 61955d92607f1ade2596f52e114959469f121683 (patch) | |
tree | bdebf82e68031c842457c3b5d63ea42efb348d6c /build | |
parent | 164c5145ddab56c364c25973225f8204339b2fdd (diff) | |
download | chromium_src-61955d92607f1ade2596f52e114959469f121683.zip chromium_src-61955d92607f1ade2596f52e114959469f121683.tar.gz chromium_src-61955d92607f1ade2596f52e114959469f121683.tar.bz2 |
Make dbus-based wifi data provider optional on linux
The linux wifi data provider adds an external dependency on libdbus.
This prevents building content_browser on linux systems that don't
include it (particularly embedded ones such as chromecast).
Introduce use_dbus gyp variable and remove this dependency when
use_dbus==0.
BUG=318315,318413
Review URL: https://codereview.chromium.org/59323007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@234894 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 7ef7c64..d0f9f22 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -503,6 +503,13 @@ 'use_pango%': 1, }], + # DBus usage. + ['OS=="linux"', { + 'use_dbus%': 1, + }, { + 'use_dbus%': 0, + }], + # We always use skia text rendering in Aura on Windows, since GDI # doesn't agree with our BackingStore. # TODO(beng): remove once skia text rendering is on by default. @@ -813,6 +820,7 @@ 'use_nss%': '<(use_nss)', 'os_bsd%': '<(os_bsd)', 'os_posix%': '<(os_posix)', + 'use_dbus%': '<(use_dbus)', 'use_glib%': '<(use_glib)', 'use_pango%': '<(use_pango)', 'use_ozone%': '<(use_ozone)', |