Separate .gyp files for libs and tests