Commit 7b74301e authored by James Zern's avatar James Zern Committed by Commit Bot

libgav1,generate_libgav1_src_gni: run gn format on .gni

Change-Id: Ic6e92db4c24b7b13804f84824b82c89f26ab5bde
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2128945Reviewed-by: default avatarHirokazu Honda <hiroh@chromium.org>
Commit-Queue: James Zern <jzern@google.com>
Cr-Commit-Position: refs/heads/master@{#754791}
parent 77a34cfd
...@@ -132,6 +132,12 @@ func main() { ...@@ -132,6 +132,12 @@ func main() {
v := m[k] v := m[k]
format(k, v, file) format(k, v, file)
} }
file.Close()
gnCmd := exec.Command("gn", "format", gniFile)
if gnCmd.Run() != nil {
panic(fmt.Sprintf("failed to execute gn format command: %v", err))
}
updateReadme() updateReadme()
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment