srcFilter

Optional | Type: String or Array

Specify which source files should be included/excluded from build process. The path in filter should be relative to the srcDir option of a library.

See syntax for build_src_filter.

Please note that you can generate source filter “on-the-fly” using extraScript (see below)