Skip to content

Commit bb3bbfe

Browse files
committed
Switch to a more stable branch (4515)
1 parent 1d0f7c5 commit bb3bbfe

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

webrtc-jni/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
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>

webrtc-jni/src/main/cpp/dependencies/webrtc/CMakeLists.txt

+8-8
Original file line numberDiff line numberDiff 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
)
131131
endif()
@@ -136,7 +136,7 @@ file(MAKE_DIRECTORY ${WEBRTC_DIR})
136136

137137
message(STATUS "WebRTC: fetch")
138138
execute_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}")
150150
file(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-
158152
message(STATUS "WebRTC: checkout \"${WEBRTC_BRANCH}\"")
159153
execute_command(
160154
COMMAND git checkout .
@@ -186,6 +180,12 @@ if (PATCHES)
186180
endforeach(PATCH)
187181
endif()
188182

183+
message(STATUS "WebRTC: sync")
184+
execute_command(
185+
COMMAND gclient sync
186+
WORKING_DIRECTORY "${WEBRTC_DIR}"
187+
)
188+
189189
message(STATUS "WebRTC: generate")
190190
set(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")
191191
execute_command(

0 commit comments

Comments
 (0)