Loading android/bazel_handler.go +6 −0 Original line number Diff line number Diff line Loading @@ -1270,6 +1270,12 @@ func (c *bazelSingleton) GenerateBuildActions(ctx SingletonContext) { // because this would cause circular dependency. So, until we move aquery processing // to the 'android' package, we need to handle special cases here. switch buildStatement.Mnemonic { case "RepoMappingManifest": // It appears RepoMappingManifest files currently have // non-deterministic content. Just emit empty files for // now because they're unused. out := PathForBazelOut(ctx, buildStatement.OutputPaths[0]) WriteFileRuleVerbatim(ctx, out, "") case "FileWrite", "SourceSymlinkManifest": out := PathForBazelOut(ctx, buildStatement.OutputPaths[0]) WriteFileRuleVerbatim(ctx, out, buildStatement.FileContents) Loading bazel/aquery.go +1 −1 Original line number Diff line number Diff line Loading @@ -677,7 +677,7 @@ func (a *aqueryArtifactHandler) actionToBuildStatement(actionEntry *analysis_v2_ if len(actionEntry.Arguments) < 1 { return a.templateExpandActionBuildStatement(actionEntry) } case "FileWrite", "SourceSymlinkManifest": case "FileWrite", "SourceSymlinkManifest", "RepoMappingManifest": return a.fileWriteActionBuildStatement(actionEntry) case "SymlinkTree": return a.symlinkTreeActionBuildStatement(actionEntry) Loading Loading
android/bazel_handler.go +6 −0 Original line number Diff line number Diff line Loading @@ -1270,6 +1270,12 @@ func (c *bazelSingleton) GenerateBuildActions(ctx SingletonContext) { // because this would cause circular dependency. So, until we move aquery processing // to the 'android' package, we need to handle special cases here. switch buildStatement.Mnemonic { case "RepoMappingManifest": // It appears RepoMappingManifest files currently have // non-deterministic content. Just emit empty files for // now because they're unused. out := PathForBazelOut(ctx, buildStatement.OutputPaths[0]) WriteFileRuleVerbatim(ctx, out, "") case "FileWrite", "SourceSymlinkManifest": out := PathForBazelOut(ctx, buildStatement.OutputPaths[0]) WriteFileRuleVerbatim(ctx, out, buildStatement.FileContents) Loading
bazel/aquery.go +1 −1 Original line number Diff line number Diff line Loading @@ -677,7 +677,7 @@ func (a *aqueryArtifactHandler) actionToBuildStatement(actionEntry *analysis_v2_ if len(actionEntry.Arguments) < 1 { return a.templateExpandActionBuildStatement(actionEntry) } case "FileWrite", "SourceSymlinkManifest": case "FileWrite", "SourceSymlinkManifest", "RepoMappingManifest": return a.fileWriteActionBuildStatement(actionEntry) case "SymlinkTree": return a.symlinkTreeActionBuildStatement(actionEntry) Loading