commit | 2d90b6a807bd123ac149255a63d6180c93734cba | [log] [tgz] |
---|---|---|
author | Googler <noreply@google.com> | Thu Jul 26 12:37:34 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Thu Jul 26 12:38:54 2018 -0700 |
tree | 7e0d8b4fb2ac071f07e9aa4524ee7870d5b02369 | |
parent | ecceb0cbe28e45280458fa01633baf442cf2666d [diff] [blame] |
Keep track of tree artifact inputs in CustomCommandLine.Builder . PiperOrigin-RevId: 206203357
diff --git a/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java b/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java index 8dab651..9e2ca29 100644 --- a/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java +++ b/src/main/java/com/google/devtools/build/lib/analysis/RuleContext.java
@@ -1831,6 +1831,9 @@ if (allowedFileTypes.apply(sourceArtifact.getFilename())) { return; } + if (sourceArtifact.isTreeArtifact()) { + return; + } } attributeError( attribute.getName(),