| Index: crypto/crypto_nacl.gyp
|
| diff --git a/net/net_nacl.gyp b/crypto/crypto_nacl.gyp
|
| similarity index 60%
|
| copy from net/net_nacl.gyp
|
| copy to crypto/crypto_nacl.gyp
|
| index 14c345c23a6f6da2d1e03d7a4d52a962611b42fc..255c42c51d31780a256c26e5097a640c2e68ac44 100644
|
| --- a/net/net_nacl.gyp
|
| +++ b/crypto/crypto_nacl.gyp
|
| @@ -8,37 +8,38 @@
|
| },
|
| 'includes': [
|
| '../native_client/build/untrusted.gypi',
|
| - 'net.gypi',
|
| + 'crypto.gypi',
|
| ],
|
| 'targets': [
|
| {
|
| - 'target_name': 'net_nacl',
|
| + 'target_name': 'crypto_nacl',
|
| 'type': 'none',
|
| 'variables': {
|
| 'nacl_untrusted_build': 1,
|
| - 'nlib_target': 'libnet_nacl.a',
|
| + 'nlib_target': 'libcrypto_nacl.a',
|
| 'build_glibc': 0,
|
| 'build_newlib': 0,
|
| 'build_pnacl_newlib': 1,
|
| },
|
| 'dependencies': [
|
| - '../crypto/crypto_nacl.gyp:crypto_nacl',
|
| - '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
|
| '../third_party/boringssl/boringssl_nacl.gyp:boringssl_nacl',
|
| - '../third_party/protobuf/protobuf.gyp:protobuf_lite',
|
| - '../url/url_nacl.gyp:url_nacl',
|
| - 'net.gyp:net_derived_sources',
|
| - 'net.gyp:net_quic_proto',
|
| - 'net.gyp:net_resources',
|
| + '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted',
|
| ],
|
| 'defines': [
|
| - 'NET_IMPLEMENTATION',
|
| - ],
|
| - 'pnacl_compile_flags': [
|
| - '-Wno-bind-to-temporary-copy',
|
| + 'CRYPTO_IMPLEMENTATION',
|
| ],
|
| 'sources': [
|
| - '<@(net_nacl_common_sources)',
|
| + '<@(crypto_sources)',
|
| + ],
|
| + 'sources/': [
|
| + ['exclude', '_nss\.(cc|h)$'],
|
| + ['exclude', '^(mock_)?apple_'],
|
| + ['exclude', '^capi_'],
|
| + ['exclude', '^cssm_'],
|
| + ['exclude', '^nss_'],
|
| + ['exclude', '^mac_'],
|
| + ['exclude', '^third_party/nss/'],
|
| + ['include', '^third_party/nss/sha512.cc'],
|
| ],
|
| },
|
| ],
|
|
|