I have checked out the webrtc sources from the googlesources repo using the chromium depot fetch tool. I'm trying to generate the build scripts on the m84 (chromium 4147) branch using
> gn gen out/ios_64 --args='target_os="ios" target_cpu="arm64"'
But, I get the following error:
ERROR at //BUILD.gn:413:12: Unsupported value in libs.
libs = [ "Foundation.framework" ]
Use frameworks to list framework dependencies.
On the master branch, there is no such error.
Upon, looking through the gn scripts on the master branch, I see that the "libs" syntax has been changed to "frameworks".
So, how do you build an older branch like m84? There are a lot of such "libs" statements in many gn scripts. It would be a lot of effort to edit them all.