Issue metadata
Sign in to add a comment
|
Add a repo called "bootstrap" to gn.googlesource.com |
||||||||||||||||||||||
Issue descriptionChromium recently removed tools/gn. This has broken Chromium packagers who wish to build from the source tarball. We need to add the bootstrap script back, but it doesn't belong in the gn repo. A separate repo called "bootstrap" would be preferred. For now, this repo would just have the old bootstrap script, but it should eventually be made to call gn/build/gen.py
,
Jul 12
Yeah, that would probably be better if we could get it working. How would the publish_tarball bot clone the gn repo to tools/gn if it's nonempty?
,
Jul 12
Does it have to? bootstrap.py could clone it on demand. (Off a fixed rev I suppose.)
,
Jul 12
Once packagers have the tarball, they should be able to complete the build with no network. So the tarball needs to include all resources that are pulled from the network.
,
Jul 12
I suppose the bot could just clone gn to /tmp and then merge the dirs. does this sg?
,
Jul 13
I'm not familiar with how the tarballs work. Do they also not require `gclient sync`? Does the bot run that and tar up all the deps too? How do tarball users acquire ninja? gn is now in a similar spot that ninja used to be in, so medium term doing the same for gn and ninja would make sense to me. Short term, comment 5 sounds fine to me.
,
Jul 13
The bot does not run gclient sync, but whatever libraries in third_party that are part of the main repo (not DEPSed in) will be included in the tarballs. The system ninja is used. I don't think gn is mainstream enough to have a default package for any distros. Ok, for now I'm going with the solution from c#5, so I'm closing this issue out. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by thakis@chromium.org
, Jul 12