Hi all!
Right now, platform-exclusive files are automagically excludes from source sets through the use of exclusion filters defined in BUILDCONFIG.gn [1] I am working on a change to stop using the posix exclusion filter for the Fuchsia build. While working on it, I figured that with a bit more work, I could remove the posix exclusion filter altogether [2].
My question is, is it the right thing to do? A few things to consider:
-It seems a bit awkward to keep the other platform specific files through the exclusion filter and not the posix ones.
-It doesn't always make it easier to read the gn code. Some of the conditions become a bit more obtuse because _posix files now need to be explicitly included only for Posix - and sometimes Fuchsia - platforms.
-OTOH we want to stop treating Fuchsia as a Posix platform from a build perspective anyway so we'd need to temporarily remove the filter when including posix files for Fuchsia.
I welcome your thoughts on the question.
Thanks!
Fabrice