Enable LFS (large file support) on Linux

This change adds the LFS flags to linux builds to make syscalls like
fstat, lseek, etc. work for large files.

Bug: 251381532
Change-Id: Ia3e1c373caa63f3e26e3122886d6ff64b63353ab
diff --git a/gn/standalone/BUILD.gn b/gn/standalone/BUILD.gn
index 8874a24..a05f2f2 100644
--- a/gn/standalone/BUILD.gn
+++ b/gn/standalone/BUILD.gn
@@ -264,6 +264,12 @@
   }
 
   if (is_linux) {
+    # Enable LFS (large file support) for stat() and other syscalls.
+    cflags += [
+      "-D_FILE_OFFSET_BITS=64",
+      "-D_LARGEFILE_SOURCE",
+      "-D_LARGEFILE64_SOURCE",
+    ]
     libs += [
       "pthread",
       "rt",