File tree Expand file tree Collapse file tree 1 file changed +6
-15
lines changed
webrtc-jni/src/main/cpp/dependencies/webrtc Expand file tree Collapse file tree 1 file changed +6
-15
lines changed Original file line number Diff line number Diff line change @@ -140,15 +140,6 @@ execute_command(
140140 WORKING_DIRECTORY "${WEBRTC_DIR} "
141141)
142142
143- # Patch DEPS to reduce time running gclient
144- file (READ "${WEBRTC_SRC} /DEPS" DEPS_CONTENT)
145- string (REPLACE
146- "'src/resources'],"
147- "'src/resources'],'condition': 'rtc_include_tests==true',"
148- DEPS_CONTENT
149- "${DEPS_CONTENT} " )
150- file (WRITE "${WEBRTC_SRC} /DEPS" "${DEPS_CONTENT} " )
151-
152143message (STATUS "WebRTC: checkout \" ${WEBRTC_BRANCH} \" " )
153144execute_command(
154145 COMMAND git checkout .
@@ -159,6 +150,12 @@ execute_command(
159150 WORKING_DIRECTORY "${WEBRTC_SRC} "
160151)
161152
153+ message (STATUS "WebRTC: sync" )
154+ execute_command(
155+ COMMAND gclient sync
156+ WORKING_DIRECTORY "${WEBRTC_DIR} "
157+ )
158+
162159file (GLOB PATCHES "${CMAKE_CURRENT_LIST_DIR} /patches/${SOURCE_TARGET} /*.patch" )
163160
164161if (PATCHES)
@@ -180,12 +177,6 @@ if (PATCHES)
180177 endforeach (PATCH)
181178endif ()
182179
183- message (STATUS "WebRTC: sync" )
184- execute_command(
185- COMMAND gclient sync
186- WORKING_DIRECTORY "${WEBRTC_DIR} "
187- )
188-
189180message (STATUS "WebRTC: generate" )
190181set (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" )
191182execute_command(
You can’t perform that action at this time.
0 commit comments