7 Commits

Author SHA1 Message Date
VladimirTechMan
d74517c52a Do not produce dSYM file for the iOS Frameworks with bitcode
Though dSYM files can be generated when building applications or libraries
with bitcode. They cannot be used to symbolicate crash reports from
applications. Instead, developers need to grab the real dSYM files, which
are generated for each specific device type after uploading an iOS / tvOS
application to App Store (or to a device using Xcode). Apple clearly warns
about it in its documentation:

https://developer.apple.com/library/content/technotes/tn2151/_index.html#//apple_ref/doc/uid/DTS40008184-CH1-SYMBOLICATION-BITCODE

With that in mind, I believe that it would be better to not confuse
developers by giving them dSYM files that are not very helpful with
the bitcode-enabled framework. Thus, proposing the following modification
to the building script, to generate dSYM by default only without
the bitcode option. However, if some developers still want to get
the dSYM files as a build-process artifact, when enabling bitcode,
they can explicitly add --extra-gn-args enable_dsyms=true to the script.

Let me know if it lgty.

NOTRY=True
BUG=None

Review-Url: https://codereview.webrtc.org/2705163007
Cr-Commit-Position: refs/heads/master@{#16836}
2017-02-25 10:08:27 +00:00
mbonadei
7b2797e7c7 Including extra_gn_args to log line.
In a recent commit we added --extra-gn-args flag but we forgot to log
the extra_gn_args variable and this can cause useless investigations.

BUG=None
NOTRY=True

Review-Url: https://codereview.webrtc.org/2698613004
Cr-Commit-Position: refs/heads/master@{#16639}
2017-02-16 09:40:59 +00:00
mbonadei
8714b8f1ae Improving parallelism when building with goma
It seems that ninja defaults the number of available CPUs.

BUG=chromium:690916
NOTRY=True

Review-Url: https://codereview.webrtc.org/2691393003
Cr-Commit-Position: refs/heads/master@{#16635}
2017-02-15 21:18:57 +00:00
Henrik Kjellander
368b5ffecc Make iOS API Framework script use the src/ dir as cwd for commands.
The recent infra CL https://chromium-review.googlesource.com/c/439266/
seems to have broken our bot. It's better the script
doesn't have any assumptions on cwd when executing.

BUG=None
R=mbonadei@webrtc.org
TBR=mbonadei@webrtc.org

Review-Url: https://codereview.webrtc.org/2695303002 .
Cr-Commit-Position: refs/heads/master@{#16632}
2017-02-15 19:51:26 +00:00
oprypin
9b0dbd4438 Support selecting architectures in iOS build script
BUG=webrtc:7127

Review-Url: https://codereview.webrtc.org/2682223004
Cr-Commit-Position: refs/heads/master@{#16587}
2017-02-13 16:30:01 +00:00
mbonadei
585209b36e Adding --use-goma and --extra-gn-args flags to build_ios_libs.py
BUG=chromium:690916
NOTRY=True

Review-Url: https://codereview.webrtc.org/2692443003
Cr-Commit-Position: refs/heads/master@{#16579}
2017-02-13 12:59:27 +00:00
oprypin
7a2d8ca9bc Rewrite iOS FAT libraries build script in Python
BUG=webrtc:7049

Review-Url: https://codereview.webrtc.org/2662513004
Cr-Commit-Position: refs/heads/master@{#16453}
2017-02-06 15:53:41 +00:00