Import("swiften_env", "env") sources = [ "Image.cpp", "VP8Encoder.cpp", "VP8RTPPacketizer.cpp", "VP8Decoder.cpp", "VP8RTPParser.cpp", "ScreenSharing.cpp", "OutgoingScreenSharing.cpp", "OutgoingScreenSharingManager.cpp", "IncomingScreenSharing.cpp", "IncomingScreenSharingManager.cpp", "ScreenSharingManagerImpl.cpp", ] objects = swiften_env.SwiftenObject(sources) if swiften_env["experimental"] : # JRTPLIB classes jrtplib_env = swiften_env.Clone() jrtplib_env.Append(CPPDEFINES = jrtplib_env["JRTPLIB_FLAGS"].get("INTERNAL_CPPDEFINES", [])) objects += jrtplib_env.SwiftenObject([ "RTPSessionImpl.cpp", ]) swiften_env.Append(SWIFTEN_OBJECTS = [objects]) #env.Append(UNITTEST_SOURCES = [])