[ios] Fix `gn gen ...` for fat builds
When doing a fat builds, some template needs to have different expansion (as some things are only done for the primary architecture like creating the fat binary, ...). This mean that some variables are not used for the second architectures, resulting in warning from gn about unused variables. Fix this by using `not_needed` when appropriate (and convert the old code that used `assert`). Also add some forwarding targets (like +bundle). Bug: none Change-Id: I46474826c8c28778fc9fa27e5992d193ec32f827 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2201758Reviewed-by:Olivier Robin <olivierrobin@chromium.org> Commit-Queue: Olivier Robin <olivierrobin@chromium.org> Auto-Submit: Sylvain Defresne <sdefresne@chromium.org> Cr-Commit-Position: refs/heads/master@{#768813}
Showing
Please register or sign in to comment