OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'chromium_code': 1, | |
8 }, | |
9 'includes': [ | |
10 '../native_client/build/untrusted.gypi', | |
11 'crypto.gypi', | |
12 ], | |
13 'targets': [ | |
14 { | |
15 'target_name': 'crypto_nacl', | |
16 'type': 'none', | |
17 'variables': { | |
18 'nacl_untrusted_build': 1, | |
19 'nlib_target': 'libcrypto_nacl.a', | |
Ryan Sleevi
2014/03/06 21:48:02
Note: we call this crcrypto to avoid collisions wi
Sergey Ulanov
2014/03/11 01:07:50
For NaCl OpenSSL is compiled as libopenssl_nacl.a,
| |
20 'build_glibc': 0, | |
21 'build_newlib': 0, | |
22 'build_pnacl_newlib': 1, | |
23 }, | |
24 'dependencies': [ | |
25 '../third_party/openssl/openssl_nacl.gyp:openssl_nacl', | |
26 '../native_client/tools.gyp:prep_toolchain', | |
27 '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted' , | |
28 ], | |
29 'defines': [ | |
30 'CRYPTO_IMPLEMENTATION', | |
31 ], | |
32 'sources': [ | |
33 '<@(crypto_sources)', | |
34 ], | |
35 'sources/': [ | |
36 ['exclude', '_nss\.(cc|h)$'], | |
37 ['exclude', '^(mock_)?apple_'], | |
38 ['exclude', '^capi_'], | |
39 ['exclude', '^openpgp_'], | |
40 ['exclude', '^cssm_'], | |
41 ['exclude', '^nss_'], | |
42 ['exclude', '^mac_'], | |
43 ['exclude', '^third_party/nss/'], | |
44 ], | |
45 }, | |
46 ], | |
47 } | |
OLD | NEW |