vfs: check userland buffers before reading them.
[haiku.git] / src / kits / media / Jamfile
blob5c86a124dc0e77d03cb2c63b27c3175b276aa563
1 SubDir HAIKU_TOP src kits media ;
3 SetSubDirSupportedPlatformsBeOSCompatible ;
5 UsePrivateHeaders app media shared ;
6 UsePrivateHeaders [ FDirName media experimental ] ;
8 if $(CHECK_MALLOC) {
9         SubDirC++Flags -D_NO_INLINE_ASM -fcheck-memory-usage ;
12 local architectureObject ;
13 for architectureObject in [ MultiArchSubDirSetup ] {
14         on $(architectureObject) {
16                 SEARCH_SOURCE += [ FDirName $(SUBDIR) experimental ] ;
17                 SEARCH_SOURCE += [ FDirName $(SUBDIR) legacy ] ;
19                 SharedLibrary [ MultiArchDefaultGristFiles libmedia.so ] :
20                         # Public Media Kit
21                         Buffer.cpp
22                         BufferConsumer.cpp
23                         BufferGroup.cpp
24                         BufferProducer.cpp
25                         Controllable.cpp
26                         FileInterface.cpp
27                         MediaAddOn.cpp
28                         MediaDecoder.cpp
29                         MediaDefs.cpp
30                         MediaEncoder.cpp
31                         MediaEventLooper.cpp
32                         MediaFile.cpp
33                         MediaFiles.cpp
34                         MediaFormats.cpp
35                         MediaNode.cpp
36                         MediaRecorder.cpp
37                         MediaRoster.cpp
38                         MediaTheme.cpp
39                         MediaTrack.cpp
40                         ParameterWeb.cpp
41                         PlaySound.cpp
42                         RealtimeAlloc.cpp
43                         Sound.cpp
44                         SoundFile.cpp
45                         SoundPlayer.cpp
46                         TimeCode.cpp
47                         TimedEventQueue.cpp
48                         TimeSource.cpp
50                         # Experimental Media Kit
51                         AdapterIO.cpp
52                         MediaClient.cpp
53                         MediaClientDefs.cpp
54                         MediaClientNode.cpp
55                         MediaConnection.cpp
56                         MediaIO.cpp
57                         SimpleMediaClient.cpp
59                         # Internal Functionality
60                         AddOnManager.cpp
61                         BufferCache.cpp
62                         DataExchange.cpp
63                         DefaultMediaTheme.cpp
64                         DormantNodeManager.cpp
65                         FormatManager.cpp
66                         MediaRecorderNode.cpp
67                         Notifications.cpp
68                         request_data.cpp
69                         SharedBufferList.cpp
70                         TrackReader.cpp
71                         TimedEventQueuePrivate.cpp
72                         TimeSourceObject.cpp
73                         TimeSourceObjectManager.cpp
74                         SoundPlayNode.cpp
76                         # Old (R3) Media Kit (built only for GCC2)
77                         OldAudioModule.cpp
78                         OldAudioStream.cpp
79                         OldBufferStream.cpp
80                         OldBufferStreamManager.cpp
81                         OldMediaModule.cpp
82                         OldSubscriber.cpp
84                         # Codec Plugin API
85                         ChunkCache.cpp
86                         DecoderPlugin.cpp
87                         EncoderPlugin.cpp
88                         MediaExtractor.cpp
89                         MediaPlugin.cpp
90                         MediaStreamer.cpp
91                         MediaWriter.cpp
92                         PluginManager.cpp
93                         ReaderPlugin.cpp
94                         StreamerPlugin.cpp
95                         WriterPlugin.cpp
97                         # Compat Media Kit
98                         !missing_symbols.cpp
99                         Deprecated.cpp
100                         :
101                         be localestub shared
102                         [ TargetLibsupc++ ] [ TargetLibstdc++ ]
103                         ;
104         }