You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add/Update getLocalFiles method to support both BlazeArtifact and OutputArtifact type artifacts (#7508)
- Add a method getLocalFilesForLegacySync to support processing
BlazeArtifact artifact types.
- Update existing getLocalFiles method to fetch local files for OutputArtifact type artifacts.
- This will help migrate LocalFileArtifact#getLocalFiles to using RuntimeArtifactCache, which
only supports OutputArtifact (as it expects artifacts to contain a
digest).
- Invokers of the method has been updated based on whether the flow is
used in LegacySync or QuerySync (Native debugging).
Bug: 385469770
Test: Existing tests for testing old and new methods as their
implementation will only be updated in next CLs.
Change-Id: I6b7ecfd522f086b712c99e90fe30f1b3b3cb7abe
Change-Id: I523e59d72a3c239b234e0112c76b128e2bc19fb7
AOSP: ed8535e5178e2f3f0459e7c01de1902fb319d4c5
Co-authored-by: Googler <[email protected]>
Copy file name to clipboardExpand all lines: base/tests/unittests/com/google/idea/blaze/base/command/buildresult/BuildEventProtocolOutputReaderLegacyTest.java
+9-9
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ public void parseAllOutputs_singleTargetEvents_returnsAllOutputs() throws Except
Copy file name to clipboardExpand all lines: base/tests/unittests/com/google/idea/blaze/base/command/buildresult/BuildEventProtocolOutputReaderTest.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -585,7 +585,7 @@ public void parseTestResults_multipleEvents_returnsAllResults() throws Exception
0 commit comments