- 介紹
- 環境配置
- 使用
介紹
python實現的用於代碼遷出管理的工具。先疑問:和repo有何區別
環境配置
1.源碼獲取
國外:git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
國內:git clone https://source.codeaurora.org/quic/lc/chromium/tools/depot_tools
其他:https://storage.googleapis.com/chrome-infra/depot_tools.zip
2.配置環境變量
將depot_tools路徑加到PATH, export PATH=~/depot_tools:"$PATH"
3.測試
gclient是該工具包中的一個工具,執行:gclient config --name src https://source.codeaurora.org/quic/lc/chromium/tools/depot_tools,在當前路徑下會生成.gclient文件夾生成
使用
https://www.chromium.org/developers/how-tos/depottools