| OLD | NEW |
| (Empty) |
| 1 # Copyright 2013 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 'includes': [ | |
| 6 '../../native_client/build/untrusted.gypi', | |
| 7 ], | |
| 8 'targets': [ | |
| 9 { | |
| 10 'target_name': 'openssl_nacl', | |
| 11 'type': 'none', | |
| 12 'variables': { | |
| 13 'nlib_target': 'libopenssl_nacl.a', | |
| 14 'build_glibc': 0, | |
| 15 'build_newlib': 0, | |
| 16 'build_pnacl_newlib': 1, | |
| 17 'defines!': [ | |
| 18 '_XOPEN_SOURCE=600', | |
| 19 ], | |
| 20 }, | |
| 21 'dependencies': [ | |
| 22 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | |
| 23 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untr
usted', | |
| 24 ], | |
| 25 'includes': [ | |
| 26 # Include the auto-generated gypi file. | |
| 27 'openssl.gypi' | |
| 28 ], | |
| 29 'sources': [ | |
| 30 '<@(openssl_common_sources)', | |
| 31 ], | |
| 32 'defines': [ | |
| 33 '<@(openssl_common_defines)', | |
| 34 'MONOLITH', | |
| 35 'NO_SYS_UN_H', | |
| 36 'NO_SYSLOG', | |
| 37 'OPENSSL_NO_ASM', | |
| 38 'PURIFY', | |
| 39 'TERMIOS', | |
| 40 'SSIZE_MAX=INT_MAX', | |
| 41 ], | |
| 42 'defines!': [ | |
| 43 'TERMIO', | |
| 44 ], | |
| 45 'include_dirs': [ | |
| 46 '.', | |
| 47 'openssl', | |
| 48 'openssl/crypto', | |
| 49 'openssl/crypto/asn1', | |
| 50 'openssl/crypto/evp', | |
| 51 'openssl/crypto/modes', | |
| 52 'openssl/include', | |
| 53 ], | |
| 54 'direct_dependent_settings': { | |
| 55 'include_dirs': [ | |
| 56 'openssl/include', | |
| 57 ], | |
| 58 }, | |
| 59 'pnacl_compile_flags': [ | |
| 60 '-Wno-sometimes-uninitialized', | |
| 61 '-Wno-unused-variable', | |
| 62 ], | |
| 63 }, # target openssl_nacl | |
| 64 ], | |
| 65 } | |
| OLD | NEW |