From 51d4ab2d5e55b02d2a66420074d9317c47f1beee Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Tue, 9 May 2017 13:44:49 -0700 Subject: [PATCH] Run gofmt Test: builds Change-Id: I2a873fc65cf414a14d6b58ef4ed6b9f5e57d75f7 --- cc/cmakelists.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cc/cmakelists.go b/cc/cmakelists.go index 4df9ece9b..c353f440a 100644 --- a/cc/cmakelists.go +++ b/cc/cmakelists.go @@ -205,7 +205,7 @@ func writeAllIncludeDirectories(includes []string, f *os.File, isSystem bool) { } system := "" - if isSystem { + if isSystem { system = "SYSTEM" } @@ -217,12 +217,12 @@ func writeAllIncludeDirectories(includes []string, f *os.File, isSystem bool) { f.WriteString(")\n\n") // Also add all headers to source files. - f.WriteString("file (GLOB_RECURSE TMP_HEADERS\n"); + f.WriteString("file (GLOB_RECURSE TMP_HEADERS\n") for _, include := range includes { f.WriteString(fmt.Sprintf(" \"%s/**/*.h\"\n", buildCMakePath(include))) } f.WriteString(")\n") - f.WriteString("list (APPEND SOURCE_FILES ${TMP_HEADERS})\n\n"); + f.WriteString("list (APPEND SOURCE_FILES ${TMP_HEADERS})\n\n") } func writeAllFlags(flags []string, f *os.File, tag string) {