MobileNativeFoundation / rules_xcodeproj

Bazel rules for generating Xcode projects.
MIT License
528 stars 86 forks source link

Filter environment variables when building with Bazel #3075

Closed brentleyjones closed 3 months ago

brentleyjones commented 3 months ago

In order for Xcode builds to work with custom environment variables you need to use xcodeproj.bazel_env. This just takes the extra step of filtering out all other environment variables, ensuring more analysis cache hits. You can already do this in your own tools/bazel, but now people can get the benefit regardless.

This change is needed for shared outputs bases to be performant.