-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathcopy_webrtc_API.bat
More file actions
71 lines (56 loc) · 3.92 KB
/
Copy pathcopy_webrtc_API.bat
File metadata and controls
71 lines (56 loc) · 3.92 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
@ECHO OFF
REM https:\\webrtc.googlesource.com\src\+\master\native-api.md
REM the above documentation is not up-to-date with the version of webrtc we are building,
REM so we have to add more include files :(
set "out=%1"
set "h264=%2"
set "src=%out%\src"
set "batchDir=%~dp0%"
set "lib=%batchDir%lib"
set "include=%batchDir%include"
rd /s /q "%include%"
echo Copying to %include%, H264=%h264%
if %h264%==1 then (
xcopy /y /i /d %out%\windows_clang_debug_x64\obj\webrtc.lib %lib%\windows_debug_x64\
xcopy /y /i /d %out%\windows_clang_release_x64\obj\webrtc.lib %lib%\windows_release_x64\
) else (
xcopy /y /i /d %out%\windows_msvc_debug_x64\obj\webrtc.lib %lib%\windows_debug_x64\
xcopy /y /i /d %out%\windows_msvc_release_x64\obj\webrtc.lib %lib%\windows_release_x64\
)
xcopy /y /s /i /d %src%\api\*.h %include%\webrtc\api\
xcopy /y /s /i /d %src%\third_party\abseil-cpp\absl\*.h %include%\webrtc\absl\
xcopy /y /s /i /d %src%\rtc_base\*.h %include%\webrtc\rtc_base\
xcopy /y /s /i /d %src%\logging\*.h %include%\webrtc\logging\
xcopy /y /s /i /d %src%\p2p\*.h %include%\webrtc\p2p\
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ .
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ pc
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ call
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ media\base
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ media\engine
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ media\sctp
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\video_capture
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\audio_device\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\audio_processing\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\bitrate_controller\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\congestion_controller\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\remote_bitrate_estimator\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\rtp_rtcp\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\rtp_rtcp\source
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\utility\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\video_coding\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\video_coding\utility
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\video_coding\codecs\interface
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\video_coding\codecs\vp8\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\video_coding\codecs\vp9\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ common_audio\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ common_video\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ common_video\libyuv\include
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ system_wrappers\include
call %batchDir%\copy_include_folder %src%\ %include%\ third_party\libyuv\include\libyuv
if %h264%==1 then (
call %batchDir%\copy_include_folder %src%\ %include%\ third_party\openh264\src\codec\api\svc
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ common_video\h264
call %batchDir%\copy_include_folder %src%\ %include%\webrtc\ modules\video_coding\codecs\h264\include
)