File tree 1 file changed +11
-8
lines changed
1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 274
274
'-Wl,--whole-archive <(v8_base)' ,
275
275
'-Wl,--no-whole-archive' ]
276
276
}],
277
- [ 'OS in "mac freebsd linux " and node_shared=="false"'
278
- ' and coverage=="true"' , {
277
+ [ 'coverage=="true " and node_shared=="false" and OS in "mac freebsd linux"' , {
278
+ 'cflags!' : [ '-O3' ],
279
279
'ldflags' : [ '--coverage' ,
280
280
'-g' ,
281
281
'-O0' ],
282
282
'cflags' : [ '--coverage' ,
283
283
'-g' ,
284
284
'-O0' ],
285
- 'cflags!' : [ '-O3' ],
286
285
'xcode_settings' : {
287
- 'OTHER_LDFLAGS' : [
288
- '--coverage' ,
289
- ],
290
- 'OTHER_CFLAGS+' : [
286
+ 'OTHER_CFLAGS' : [
291
287
'--coverage' ,
292
288
'-g' ,
293
289
'-O0'
294
290
],
295
- }
291
+ },
292
+ 'conditions' : [
293
+ [ '_type=="executable"' , {
294
+ 'xcode_settings' : {
295
+ 'OTHER_LDFLAGS' : [ '--coverage' , ],
296
+ },
297
+ }],
298
+ ],
296
299
}],
297
300
[ 'OS=="sunos"' , {
298
301
'ldflags' : [ '-Wl,-M,/usr/lib/ld/map.noexstk' ],
You can’t perform that action at this time.
0 commit comments