Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
290 views
in Technique[技术] by (71.8m points)

git - Can gclient use transitive dependencies?

.gclient

solutions = [
  { "name"        : 'src',
    "url"         : 'project1_url',
    "deps_file"   : 'DEPS',
    "managed": False,
  } 
]

project1:DEPs

deps = {
  "dir" : "project2_url", 
}
use_relative_paths = True

project2:DEPS

deps = {
  "sub1" : "project3_url", 
}
use_relative_paths = True

The contents of .gclient and DEPS are as above. project1 -> project2 -> project3. When I use gclient sync, only checkout project1 and project2.
Is gclient not supporting such transitive dependencies?
I just want to use gclient to manage git/svn instead of building Chrome.

question from:https://stackoverflow.com/questions/65930722/can-gclient-use-transitive-dependencies

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...