Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move conditions using 'component' to 'target_defaults'
'component' was defined within NW.js building procedure. However it wasn't defined until including 'common.gypi' when building addons. Conditions within 'variables' cannot use variable within the same level. Moving conditions to 'target_defaults' will make 'component' defined before evaluating the conditions, to prevent addon building failures. fixed nwjs/nw-gyp#96
- Loading branch information