diff options
author | 2015-05-12 16:17:45 +0000 | |
---|---|---|
committer | 2015-05-15 09:35:34 +0000 | |
commit | 5e14a92104c8862849d26badc764b5ea2b8f01bb (patch) | |
tree | 2635e3175e751c34ea4781915ed9d92a78dab02e /src/main/java/com/google/devtools/build/lib/rules/objc/IntermediateArtifacts.java | |
parent | 5da9a0e2db3005f251e9db4dd429af2397d94668 (diff) |
Support --objc_generate_debug_symbols when --ios_multi_cpus is set.
When an ios_application is built, Bazel now collects the .breakpad files for
each architecture and tweaks the first line of each file to reflect the name of
the app, instead of the name of the binary:
MODULE mac arm64 5A70922132B738E194DDBC456F90F43F0 PrenotCalculatorBinary_bin
becomes
MODULE mac arm64 5A70922132B738E194DDBC456F90F43F0 PrenotCalculator
Bazel also correctly renames the files to end with their architecture, so that
the crash server can use them:
armv7/.../PrenotCalculatorBinary.breakpad
becomes
PrenotCalculator_armv7.breakpad
--
MOS_MIGRATED_REVID=93419816
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/IntermediateArtifacts.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/IntermediateArtifacts.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/IntermediateArtifacts.java b/src/main/java/com/google/devtools/build/lib/rules/objc/IntermediateArtifacts.java index ee1a3edf88..9e1372e8d4 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/IntermediateArtifacts.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/IntermediateArtifacts.java @@ -258,6 +258,13 @@ final class IntermediateArtifacts { } /** + * Breakpad debug symbol representation for a specific architecture. + */ + public Artifact breakpadSym(String arch) { + return appendExtension(String.format("_%s.breakpad", arch)); + } + + /** * Shell script that launches the binary. */ public Artifact runnerScript() { |