diff options
author | Alex Humesky <ahumesky@google.com> | 2016-06-20 21:01:54 +0000 |
---|---|---|
committer | Philipp Wollermann <philwo@google.com> | 2016-06-21 09:58:33 +0000 |
commit | aedfc8aec2d086a3400bb9773f59f5d5e3cbfc67 (patch) | |
tree | 8be5219e0d841c537df8f4d6328f95e4f25e97b0 /src/main/java/com/google | |
parent | 65ca4a25089b7bf03515a2e1340d955b1225fca7 (diff) |
Adds the label of the rule that produced the artifact to the apk manifest.
--
MOS_MIGRATED_REVID=125376859
Diffstat (limited to 'src/main/java/com/google')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/android/ApkManifestAction.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/ApkManifestAction.java b/src/main/java/com/google/devtools/build/lib/rules/android/ApkManifestAction.java index 3a8294e624..eacd339387 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/android/ApkManifestAction.java +++ b/src/main/java/com/google/devtools/build/lib/rules/android/ApkManifestAction.java @@ -217,6 +217,7 @@ public final class ApkManifestAction extends AbstractFileWriteAction { return ApkManifestOuterClass.Artifact.newBuilder() .setExecRootPath(artifact.getExecPathString()) .setHash(ByteString.copyFrom(digest)) + .setLabel(artifact.getOwnerLabel().toString()) .build(); } |