diff options
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/android/ApkManifestAction.java | 1 | ||||
-rw-r--r-- | src/main/protobuf/apk_manifest.proto | 2 |
2 files changed, 3 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(); } diff --git a/src/main/protobuf/apk_manifest.proto b/src/main/protobuf/apk_manifest.proto index 4b67a8c01c..1bb0f0026c 100644 --- a/src/main/protobuf/apk_manifest.proto +++ b/src/main/protobuf/apk_manifest.proto @@ -21,6 +21,8 @@ message Artifact { // This path is relative to "bazel info execution_root" string exec_root_path = 1; bytes hash = 2; + // The label of the rule that produced this artifact. + string label = 3; } message NativeLib { |