I'm trying to use v8 as a static library in a C++ application, and am using
d8.gyp as reference.
{
'includes': ['../build/toolchain.gypi', '../build/features.gypi'],
'targets': [{
'target_name': 'd8',
'type': 'executable',
'dependencies': [
They don't. The 'v8' target defines itself to be a library, either static
or shared, depending on build settings. 'dependencies' just encode build
order dependencies; GYP simply assumes that whenever an executable depends
on a library, it also wants to be linked against that library.
On Thu, Nov