File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
src/main/cpp/dependencies/webrtc Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1212 <packaging >pom</packaging >
1313
1414 <properties >
15- <webrtc .branch>branch-heads/4606 </webrtc .branch>
15+ <webrtc .branch>branch-heads/4515 </webrtc .branch>
1616 <webrtc .src.dir>${user.home} /webrtc</webrtc .src.dir>
1717 <webrtc .install.dir>${user.home} /webrtc/build</webrtc .install.dir>
1818 <cmake .build.type>Release</cmake .build.type>
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ if(NOT EXISTS "${WEBRTC_SRC_DIR}/depot_tools")
125125 message (STATUS "WebRTC: fetch depot tools" )
126126 file (MAKE_DIRECTORY ${WEBRTC_SRC_DIR} )
127127 execute_command(
128- COMMAND git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git
128+ COMMAND git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
129129 WORKING_DIRECTORY "${WEBRTC_SRC_DIR} "
130130 )
131131endif ()
@@ -136,7 +136,7 @@ file(MAKE_DIRECTORY ${WEBRTC_DIR})
136136
137137message (STATUS "WebRTC: fetch" )
138138execute_command(
139- COMMAND fetch --no -history -- nohooks webrtc
139+ COMMAND fetch --nohooks webrtc
140140 WORKING_DIRECTORY "${WEBRTC_DIR} "
141141)
142142
@@ -149,12 +149,6 @@ string(REPLACE
149149 "${DEPS_CONTENT} " )
150150file (WRITE "${WEBRTC_SRC} /DEPS" "${DEPS_CONTENT} " )
151151
152- message (STATUS "WebRTC: sync" )
153- execute_command(
154- COMMAND gclient sync
155- WORKING_DIRECTORY "${WEBRTC_DIR} "
156- )
157-
158152message (STATUS "WebRTC: checkout \" ${WEBRTC_BRANCH} \" " )
159153execute_command(
160154 COMMAND git checkout .
@@ -186,6 +180,12 @@ if (PATCHES)
186180 endforeach (PATCH)
187181endif ()
188182
183+ message (STATUS "WebRTC: sync" )
184+ execute_command(
185+ COMMAND gclient sync
186+ WORKING_DIRECTORY "${WEBRTC_DIR} "
187+ )
188+
189189message (STATUS "WebRTC: generate" )
190190set (COMPILE_ARGS "is_debug=false target_cpu=\" ${TARGET_CPU} \" rtc_include_tests=false use_rtti=true use_custom_libcxx=false symbol_level=0 rtc_use_h264=true" )
191191execute_command(
You can’t perform that action at this time.
0 commit comments