{ 'targets' : [ { 'target_name': 'scrypt_lib', 'type': 'static_library', 'include_dirs' : [ 'scrypt/scrypt-1.1.6', 'scrypt/scrypt-1.1.6/lib/util', 'scrypt/scrypt-1.1.6/lib/crypto', 'scrypt/scrypt-1.1.6/lib/scryptenc', ], 'sources': [ 'scrypt/scrypt-1.1.6/lib/scryptenc/scryptenc.c', 'scrypt/scrypt-1.1.6/lib/util/memlimit.c', 'scrypt/scrypt-1.1.6/lib/scryptenc/scryptenc_cpuperf.c', 'scrypt/scrypt-1.1.6/lib/crypto/sha256.c', 'scrypt/scrypt-1.1.6/lib/crypto/crypto_aesctr.c', 'scrypt/scrypt-1.1.6/lib/crypto/crypto_scrypt-ref.c' ], 'defines': [ #This config file is custom generated for each POSIX OS 'CONFIG_H_FILE="../config.h"', ], 'conditions': [ [ 'OS != "win"', { #Build config file for posix OS (i.e. not windows) 'variables' : { #Configuration file is also built with this command 'libs' : '