Only add darwin specific rules/variables when building on mac.
To support skipping ninja file writing during incremental build, we add all the global rules/variable/pools from static sources because when we restore from cache we don't have the build defs available to build the globals. This means all the global rules and variables are added blindly, so we need to exclude these darwin specific ones since they will fail due to they depends on the tool that only exists on MAC. Bug: 335718784 Test: local tests and CI Change-Id: Ife835545f0f76ffaec77e48bdd89ab7384a1b995
Loading
Please register or sign in to comment