summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/ScreenSharing/SConscript')
-rw-r--r--Swiften/ScreenSharing/SConscript17
1 files changed, 12 insertions, 5 deletions
diff --git a/Swiften/ScreenSharing/SConscript b/Swiften/ScreenSharing/SConscript
index 6504541..a593296 100644
--- a/Swiften/ScreenSharing/SConscript
+++ b/Swiften/ScreenSharing/SConscript
@@ -2,14 +2,10 @@ Import("swiften_env", "env")
sources = [
"Image.cpp",
- "VP8Encoder.cpp",
- "VP8RTPPacketizer.cpp",
- "VP8Decoder.cpp",
- "VP8RTPParser.cpp",
"ScreenSharing.cpp",
"OutgoingScreenSharing.cpp",
- "OutgoingScreenSharingManager.cpp",
"IncomingScreenSharing.cpp",
+ "OutgoingScreenSharingManager.cpp",
"IncomingScreenSharingManager.cpp",
"ScreenSharingManagerImpl.cpp",
]
@@ -24,6 +20,17 @@ if swiften_env["experimental"] :
"RTPSessionImpl.cpp",
])
+ # libvpx classes
+ libvpx_env = swiften_env.Clone()
+ #libvpx_env.Append(CPPDEFINES = libvpx_env["LIBVPX_FLAGS"].get("INTERNAL_CPPDEFINES", []))
+ libvpx_env.MergeFlags(libvpx_env.get("LIBVPX_FLAGS", {}))
+ objects += libvpx_env.SwiftenObject([
+ "VP8Encoder.cpp",
+ "VP8Decoder.cpp",
+ "VP8RTPPacketizer.cpp",
+ "VP8RTPParser.cpp",
+ ])
+
swiften_env.Append(SWIFTEN_OBJECTS = [objects])
#env.Append(UNITTEST_SOURCES = [])