Skip to content

Commit bac0dc9

Browse files
Googlercopybara-github
authored andcommitted
Make InstrumentationOutput framework support relative to TEMP_LOGGING_DIRECTORY
In more details: * A new `PathToReplace#Type` enum value (`TEMP_LOGGING_DIRECTORY`) is added. * `localTempLoggingDirPathStr` can be injected into `InstrumentationOutputFactory`. * For local output, blaze crashes if relative to type is `TEMP_LOGGING_DIRECTORY` but `localTempLoggingDirPathStr` is not provided. * `createInstrumentationOutput()` might optionally take in `createParent` flag, which defaults to `false`. PiperOrigin-RevId: 710150887
1 parent 8f81f94 commit bac0dc9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

third_party/bazel/src/main/protobuf/command_server.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ message PathToReplace {
128128
BUILD_WORKSPACE_DIRECTORY = 3;
129129
TEST_LOG_SUBDIR = 4;
130130
HOME = 5;
131+
TEMP_LOGGING_DIRECTORY = 7;
131132
}
132133
Type type = 1;
133134
bytes value = 2;

0 commit comments

Comments
 (0)