• 介绍
  • 环境配置
  • 使用

介绍

 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

 

相关文章:

  • 2021-11-12
  • 2021-07-31
  • 2021-07-20
  • 2022-03-10
猜你喜欢
  • 2021-09-08
  • 2021-11-05
  • 2022-12-23
  • 2022-12-23
  • 2021-12-03
相关资源
相似解决方案