Ed.
Ed.

Reputation: 966

What's the correct way to download webrtc source code?

I'm trying to follow the instructions outlined here:

http://www.webrtc.org/native-code/development#TOC-Before-you-start;

but "fetch webrtc" fails with a message that implies a file (src/buildtools/linux32/gn.sha1) is not found. See this post for more detail on the error message:

https://groups.google.com/forum/#!topic/discuss-webrtc/Dt-GRIlLVe4

I've walked through installation of all the "prerequisite software" as described on the above page, but consistently hit the same error. I'm doing this from a Ubuntu 14.04 LTS machine, any thoughts on what I might be doing wrong?

Upvotes: 0

Views: 1283

Answers (2)

Ed.
Ed.

Reputation: 966

Answering my own question here...

It appears that the problem is related to the fact that I am behind a proxy and the --no_auth option is used (in depot_tools) when the download_from_google_storage.py script is called. After reading this post: https://github.com/GoogleCloudPlatform/gsutil/issues/241 I modified my copy of "download_from_google_storage.py" so that the --no_auth option would have no affect. I also created a ~/.boto file with three lines:

[Boto]
proxy = my.proxy.goes.here.com
proxy_port = PROXY_PORT_NUMBER

Then I re-ran "fetch webrtc" and it completed successfully in about 75 minutes. Go figure...

Upvotes: 0

jesup
jesup

Reputation: 6984

gn is a replacement for gyp to generate Ninja files. I don't think it's required yet (gn is a work-in-progress), but that's likely what you're missing. You could comment out gn from the DEPS and see if things work.

Upvotes: 1

Related Questions