Kaydet (Commit) 1b103776 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Fix remote control server side build problems

The non-Bluetooth (TCP) code should not be inside Bluetooth conditionals.

You can't put a flag like -Wno-error in a list of objects. (And besides, why
would we want to disable -Werror like that, instead we should not introduce
warnings in what is after all freshly written code;)

This should fix the Android tinderbox build.

Change-Id: Ia698031a9815bf938c5c2a29bf68dee68cae07fe
üst f9e981ba
......@@ -530,17 +530,31 @@ $(eval $(call gb_Library_add_exception_objects,sd,\
sd/source/ui/remotecontrol/Transmitter \
))
ifneq ($(OS),MACOSX)
$(eval $(call gb_Library_add_exception_objects,sd,\
sd/source/ui/remotecontrol/DiscoveryService \
))
else
$(eval $(call gb_Library_add_objcxxobjects,sd,\
sd/source/ui/remotecontrol/DiscoveryService \
sd/source/ui/remotecontrol/OSXNetworkService, \
))
endif
$(eval $(call gb_Library_add_defs,sd,\
-DENABLE_SDREMOTE \
))
ifeq ($(ENABLE_SDREMOTE_BLUETOOTH),YES)
ifeq (,$(filter IOS MACOSX,$(OS)))
ifneq ($(OS),MACOSX))
$(eval $(call gb_Library_add_exception_objects,sd,\
sd/source/ui/remotecontrol/BluetoothServer \
sd/source/ui/remotecontrol/DiscoveryService \
))
else
......@@ -548,9 +562,6 @@ else
$(eval $(call gb_Library_add_objcxxobjects,sd,\
sd/source/ui/remotecontrol/BluetoothServer \
sd/source/ui/remotecontrol/OSXBluetooth\
sd/source/ui/remotecontrol/DiscoveryService \
sd/source/ui/remotecontrol/OSXNetworkService, \
-Wno-error \
))
$(eval $(call gb_Library_add_libs,sd,\
......@@ -567,6 +578,7 @@ endif
$(eval $(call gb_Library_add_defs,sd,\
-DENABLE_SDREMOTE_BLUETOOTH \
))
endif
endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment