OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../native_client/build/untrusted.gypi', | 10 '../native_client/build/untrusted.gypi', |
11 'crypto.gypi', | 11 'crypto.gypi', |
12 ], | 12 ], |
13 'targets': [ | 13 'targets': [ |
14 { | 14 { |
15 'target_name': 'crypto_nacl', | 15 'target_name': 'crypto_nacl', |
16 'type': 'none', | 16 'type': 'none', |
17 'variables': { | 17 'variables': { |
18 'nacl_untrusted_build': 1, | 18 'nacl_untrusted_build': 1, |
19 'nlib_target': 'libcrypto_nacl.a', | 19 'nlib_target': 'libcrypto_nacl.a', |
20 'build_glibc': 0, | 20 'build_glibc': 0, |
21 'build_newlib': 0, | 21 'build_newlib': 0, |
22 'build_pnacl_newlib': 1, | 22 'build_pnacl_newlib': 1, |
| 23 'build_irt': 1, |
23 }, | 24 }, |
24 'dependencies': [ | 25 'dependencies': [ |
25 '../third_party/boringssl/boringssl_nacl.gyp:boringssl_nacl', | 26 '../third_party/boringssl/boringssl_nacl.gyp:boringssl_nacl', |
26 '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted'
, | 27 '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted'
, |
27 ], | 28 ], |
28 'defines': [ | 29 'defines': [ |
29 'CRYPTO_IMPLEMENTATION', | 30 'CRYPTO_IMPLEMENTATION', |
30 ], | 31 ], |
31 'sources': [ | 32 'sources': [ |
32 '<@(crypto_sources)', | 33 '<@(crypto_sources)', |
33 ], | 34 ], |
34 'sources/': [ | 35 'sources/': [ |
35 ['exclude', '_nss\.(cc|h)$'], | 36 ['exclude', '_nss\.(cc|h)$'], |
36 ['exclude', '^(mock_)?apple_'], | 37 ['exclude', '^(mock_)?apple_'], |
37 ['exclude', '^capi_'], | 38 ['exclude', '^capi_'], |
38 ['exclude', '^cssm_'], | 39 ['exclude', '^cssm_'], |
39 ['exclude', '^nss_'], | 40 ['exclude', '^nss_'], |
40 ['exclude', '^mac_'], | 41 ['exclude', '^mac_'], |
41 ['exclude', '^third_party/nss/'], | 42 ['exclude', '^third_party/nss/'], |
42 ['include', '^third_party/nss/sha512.cc'], | 43 ['include', '^third_party/nss/sha512.cc'], |
43 ], | 44 ], |
44 }, | 45 }, |
45 ], | 46 ], |
46 } | 47 } |
OLD | NEW |