Rename DEPOTTOOLS_GCLIENT_EXECUTABLE to GCLIENT_EXECUTABLE

This commit is contained in:
Axel Isouard 2017-02-21 19:51:03 +01:00
parent f25382438d
commit 83814ef6f3
No known key found for this signature in database
GPG key ID: 4E64BB3EAAF31C29
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
find_program(DEPOTTOOLS_GCLIENT_EXECUTABLE find_program(GCLIENT_EXECUTABLE
NAMES gclient gclient.bat NAMES gclient gclient.bat
PATHS ${CMAKE_CURRENT_SOURCE_DIR}/depot_tools) PATHS ${CMAKE_CURRENT_SOURCE_DIR}/depot_tools)
@ -12,5 +12,5 @@ find_path(DEPOTTOOLS_PATH
include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake) include(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
find_package_handle_standard_args(DepotTools find_package_handle_standard_args(DepotTools
REQUIRED_VARS DEPOTTOOLS_GCLIENT_EXECUTABLE REQUIRED_VARS GCLIENT_EXECUTABLE
FAIL_MESSAGE "Could not find the gclient executable.") FAIL_MESSAGE "Could not find the gclient executable.")

View file

@ -2,7 +2,7 @@ include(ExternalProject)
include(LibWebRTCCommand) include(LibWebRTCCommand)
include(GClientConfig) include(GClientConfig)
set(_DOWNLOAD_COMMAND ${DEPOTTOOLS_GCLIENT_EXECUTABLE} sync --revision set(_DOWNLOAD_COMMAND ${GCLIENT_EXECUTABLE} sync --revision
${LIBWEBRTC_WEBRTC_REVISION} -D -n) ${LIBWEBRTC_WEBRTC_REVISION} -D -n)
set(_BUILD_COMMAND ${PYTHON_EXECUTABLE} src/tools/clang/scripts/update.py) set(_BUILD_COMMAND ${PYTHON_EXECUTABLE} src/tools/clang/scripts/update.py)