Loading cmd/release_config/release_config_lib/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ bootstrap_go_package { "golang-protobuf-reflect-protoreflect", "golang-protobuf-runtime-protoimpl", "soong-cmd-release_config-proto", "blueprint-pathtools", ], srcs: [ "flag_artifact.go", Loading cmd/release_config/release_config_lib/util.go +2 −1 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ import ( "slices" "strings" "github.com/google/blueprint/pathtools" "google.golang.org/protobuf/encoding/prototext" "google.golang.org/protobuf/proto" ) Loading Loading @@ -101,7 +102,7 @@ func WriteFormattedMessage(path, format string, message proto.Message) (err erro if err != nil { return err } return os.WriteFile(path, data, 0644) return pathtools.WriteFileIfChanged(path, data, 0644) } // Read a message from a file. Loading Loading
cmd/release_config/release_config_lib/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ bootstrap_go_package { "golang-protobuf-reflect-protoreflect", "golang-protobuf-runtime-protoimpl", "soong-cmd-release_config-proto", "blueprint-pathtools", ], srcs: [ "flag_artifact.go", Loading
cmd/release_config/release_config_lib/util.go +2 −1 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ import ( "slices" "strings" "github.com/google/blueprint/pathtools" "google.golang.org/protobuf/encoding/prototext" "google.golang.org/protobuf/proto" ) Loading Loading @@ -101,7 +102,7 @@ func WriteFormattedMessage(path, format string, message proto.Message) (err erro if err != nil { return err } return os.WriteFile(path, data, 0644) return pathtools.WriteFileIfChanged(path, data, 0644) } // Read a message from a file. Loading