summaryrefslogtreecommitdiffstats
blob: 650454138a9e4410e11e8f2a970bf3b00cd9a90a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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 = [])