Skip to content

Commit

Permalink
Switch to a more stable branch (4515)
Browse files Browse the repository at this point in the history
  • Loading branch information
devopvoid committed Aug 18, 2021
1 parent 1d0f7c5 commit bb3bbfe
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion webrtc-jni/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<packaging>pom</packaging>

<properties>
<webrtc.branch>branch-heads/4606</webrtc.branch>
<webrtc.branch>branch-heads/4515</webrtc.branch>
<webrtc.src.dir>${user.home}/webrtc</webrtc.src.dir>
<webrtc.install.dir>${user.home}/webrtc/build</webrtc.install.dir>
<cmake.build.type>Release</cmake.build.type>
Expand Down
16 changes: 8 additions & 8 deletions webrtc-jni/src/main/cpp/dependencies/webrtc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ if(NOT EXISTS "${WEBRTC_SRC_DIR}/depot_tools")
message(STATUS "WebRTC: fetch depot tools")
file(MAKE_DIRECTORY ${WEBRTC_SRC_DIR})
execute_command(
COMMAND git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools.git
COMMAND git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
WORKING_DIRECTORY "${WEBRTC_SRC_DIR}"
)
endif()
Expand All @@ -136,7 +136,7 @@ file(MAKE_DIRECTORY ${WEBRTC_DIR})

message(STATUS "WebRTC: fetch")
execute_command(
COMMAND fetch --no-history --nohooks webrtc
COMMAND fetch --nohooks webrtc
WORKING_DIRECTORY "${WEBRTC_DIR}"
)

Expand All @@ -149,12 +149,6 @@ string(REPLACE
"${DEPS_CONTENT}")
file(WRITE "${WEBRTC_SRC}/DEPS" "${DEPS_CONTENT}")

message(STATUS "WebRTC: sync")
execute_command(
COMMAND gclient sync
WORKING_DIRECTORY "${WEBRTC_DIR}"
)

message(STATUS "WebRTC: checkout \"${WEBRTC_BRANCH}\"")
execute_command(
COMMAND git checkout .
Expand Down Expand Up @@ -186,6 +180,12 @@ if (PATCHES)
endforeach(PATCH)
endif()

message(STATUS "WebRTC: sync")
execute_command(
COMMAND gclient sync
WORKING_DIRECTORY "${WEBRTC_DIR}"
)

message(STATUS "WebRTC: generate")
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")
execute_command(
Expand Down

0 comments on commit bb3bbfe

Please sign in to comment.