summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2022-11-05 16:14:30 +0000
committer Paul Duffin <paulduffin@google.com> 2022-11-08 10:42:55 +0000
commitb713ddfcc12f39d50ab3a397e128c9d89be3a0e6 (patch)
tree41176f8b97d2d79becd83315598c37faaed8eab5 /java/java_test.go
parentb4e8d91d7204d6d9025438f86fc959f0ed581864 (diff)
Build mode function should return output file
Each build mode has to provide an output file, which also has a corresponding dependency file (<output file>.d). Previously, some of the build mode functions returned that file, others just returned and relied on the doChosenActivity() method to return the file. That was confusing as the same file name was referenced from two separate places. This change makes all the build mode functions return their output file explicitly and the doChosenActivity()just returns what it receives. It also moves the writeDepsFile call to adjacent to the return. Bug: 257650737 Test: m nothing Change-Id: I35f96ab404d9ffb1da747a3ecb8fc4e1feb9c026
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions