gn check does not run a C preprocessor, so it cannot understand that a particular include does not apply to a particular build configuration.
gn check does not run a C preprocessor, so it cannot understand that a particular include does not apply to a particular build configuration.