commit c34192d5e5ace50321cd3647a93d1e841e7a2816
parent e910caa7621acc383c9ee55ecd04ca5207b20970
Author: Chris Bracken <chris@bracken.jp>
Date: Fri, 13 Feb 2026 14:49:15 +0900
Format GN files
Diffstat:
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/BUILD.gn b/BUILD.gn
@@ -1,5 +1,8 @@
config("gout_config") {
- include_dirs = [ "//", "//src" ] + system_include_dirs
+ include_dirs = [
+ "//",
+ "//src",
+ ] + system_include_dirs
lib_dirs = [] + system_lib_dirs
defines = [
"_XOPEN_SOURCE=700",
@@ -37,6 +40,7 @@ group("default") {
":gout_tests",
]
}
+
executable("gout") {
sources = [ "src/gout_main.c" ]
configs += [ ":gout_config" ]
@@ -67,5 +71,3 @@ executable("gout_tests") {
"//third_party/utest:utest_headers",
]
}
-
-
diff --git a/build/BUILD.gn b/build/BUILD.gn
@@ -50,8 +50,8 @@ config("optimize_size") {
if (current_os == "mac" || current_os == "ios") {
ldflags = [
"-Wl,-dead_strip", # Mac equivalent of --gc-sections
- "-Wl,-S", # Strip debug symbols
- "-Wl,-x", # Strip local symbols
+ "-Wl,-S", # Strip debug symbols
+ "-Wl,-x", # Strip local symbols
]
} else {
# OpenBSD / Linux / etc.