Skip to content

Commit

Permalink
@AutoCodec JavaHeaderCompileAction.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 187030267
  • Loading branch information
janakdr authored and Copybara-Service committed Feb 26, 2018
1 parent 1c0bc2d commit 0d38ab3
Showing 1 changed file with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
import com.google.devtools.build.lib.collect.nestedset.NestedSet;
import com.google.devtools.build.lib.collect.nestedset.NestedSetBuilder;
import com.google.devtools.build.lib.collect.nestedset.Order;
import com.google.devtools.build.lib.skyframe.serialization.autocodec.AutoCodec;
import com.google.devtools.build.lib.util.Fingerprint;
import com.google.devtools.build.lib.util.LazyString;
import com.google.devtools.build.lib.vfs.PathFragment;
Expand All @@ -70,6 +71,7 @@
* <p>The implementation of the header compiler tool can be found under {@code
* //src/java_tools/buildjar/java/com/google/devtools/build/java/turbine}.
*/
@AutoCodec
public class JavaHeaderCompileAction extends SpawnAction {

private static final String GUID = "952db158-2654-4ced-87e5-4646d50523cf";
Expand All @@ -93,28 +95,28 @@ public CommandLine directCommandLine() {
* @param owner the action owner, typically a java_* RuleConfiguredTarget
* @param tools the set of files comprising the tool that creates the header interface jar
* @param directInputs the set of direct input artifacts of the compile action
* @param transitiveInputs the set of transitive input artifacts of the compile action
* @param inputs the set of transitive input artifacts of the compile action
* @param outputs the outputs of the action
* @param directCommandLine the direct command line arguments for the java header compiler
* @param transitiveCommandLine the transitive command line arguments for the java header compiler
* @param argv the transitive command line arguments for the java header compiler
* @param progressMessage the message printed during the progression of the build
*/
protected JavaHeaderCompileAction(
ActionOwner owner,
Iterable<Artifact> tools,
Iterable<Artifact> directInputs,
Iterable<Artifact> transitiveInputs,
Iterable<Artifact> inputs,
Iterable<Artifact> outputs,
CommandLine directCommandLine,
CommandLine transitiveCommandLine,
CommandLine argv,
CharSequence progressMessage) {
super(
owner,
tools,
transitiveInputs,
inputs,
outputs,
LOCAL_RESOURCES,
transitiveCommandLine,
argv,
false,
// TODO(#3320): This is missing the config's action environment.
JavaCompileAction.UTF8_ACTION_ENVIRONMENT,
Expand Down

0 comments on commit 0d38ab3

Please sign in to comment.