Commit 0ded7b1
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#961 parent f4d27e7 commit 0ded7b1
1 file changed
Lines changed: 13 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 39 | | |
49 | 40 | | |
50 | 41 | | |
| |||
74 | 65 | | |
75 | 66 | | |
76 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
77 | 81 | | |
78 | 82 | | |
79 | 83 | | |
| |||
0 commit comments