зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1073548: Support Bluetooth daemon in build system, r=mh+mozilla
This commit is contained in:
Родитель
ee0cc438e5
Коммит
bca74a81e7
|
@ -258,6 +258,9 @@ if test -n "$gonkdir" ; then
|
||||||
elif test -d "$gonkdir/external/bluetooth/bluedroid"; then
|
elif test -d "$gonkdir/external/bluetooth/bluedroid"; then
|
||||||
MOZ_B2G_BT=1
|
MOZ_B2G_BT=1
|
||||||
MOZ_B2G_BT_BLUEDROID=1
|
MOZ_B2G_BT_BLUEDROID=1
|
||||||
|
if test -d "$gonkdir/system/bluetoothd"; then
|
||||||
|
MOZ_B2G_BT_DAEMON=1
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
MOZ_RTSP=1
|
MOZ_RTSP=1
|
||||||
|
@ -275,6 +278,9 @@ if test -n "$gonkdir" ; then
|
||||||
MOZ_B2G_CAMERA=1
|
MOZ_B2G_CAMERA=1
|
||||||
MOZ_B2G_BT=1
|
MOZ_B2G_BT=1
|
||||||
MOZ_B2G_BT_BLUEDROID=1
|
MOZ_B2G_BT_BLUEDROID=1
|
||||||
|
if test -d "$gonkdir/system/bluetoothd"; then
|
||||||
|
MOZ_B2G_BT_DAEMON=1
|
||||||
|
fi
|
||||||
MOZ_NFC=1
|
MOZ_NFC=1
|
||||||
MOZ_RTSP=1
|
MOZ_RTSP=1
|
||||||
MOZ_OMX_DECODER=1
|
MOZ_OMX_DECODER=1
|
||||||
|
|
|
@ -78,6 +78,8 @@ if CONFIG['MOZ_B2G_BT']:
|
||||||
]
|
]
|
||||||
|
|
||||||
DEFINES['MOZ_B2G_BT_BLUEDROID'] = True
|
DEFINES['MOZ_B2G_BT_BLUEDROID'] = True
|
||||||
|
if CONFIG['MOZ_B2G_BT_DAEMON']:
|
||||||
|
DEFINES['MOZ_B2G_BT_DAEMON'] = True
|
||||||
elif CONFIG['MOZ_ENABLE_DBUS']:
|
elif CONFIG['MOZ_ENABLE_DBUS']:
|
||||||
CFLAGS += CONFIG['MOZ_DBUS_CFLAGS']
|
CFLAGS += CONFIG['MOZ_DBUS_CFLAGS']
|
||||||
CFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS']
|
CFLAGS += CONFIG['MOZ_DBUS_GLIB_CFLAGS']
|
||||||
|
|
Загрузка…
Ссылка в новой задаче