OLD | NEW |
(Empty) | |
| 1 # Copyright (c) 2009 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 'conditions': [ |
| 7 ['sysroot!=""', { |
| 8 'variables': { |
| 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', |
| 10 }, |
| 11 }, { |
| 12 'variables': { |
| 13 'pkg-config': 'pkg-config' |
| 14 }, |
| 15 }], |
| 16 ], |
| 17 |
| 18 'targets': [ |
| 19 { |
| 20 'target_name': 'ssl', |
| 21 'product_name': 'ssl', |
| 22 'type': '<(library)', |
| 23 'sources': [ |
| 24 'ssl/authcert.c', |
| 25 'ssl/cmpcert.c', |
| 26 'ssl/derive.c', |
| 27 'ssl/nsskea.c', |
| 28 'ssl/os2_err.c', |
| 29 'ssl/os2_err.h', |
| 30 'ssl/preenc.h', |
| 31 'ssl/prelib.c', |
| 32 'ssl/ssl.h', |
| 33 'ssl/ssl3con.c', |
| 34 'ssl/ssl3ecc.c', |
| 35 'ssl/ssl3ext.c', |
| 36 'ssl/ssl3gthr.c', |
| 37 'ssl/ssl3prot.h', |
| 38 'ssl/sslauth.c', |
| 39 'ssl/sslcon.c', |
| 40 'ssl/ssldef.c', |
| 41 'ssl/sslenum.c', |
| 42 'ssl/sslerr.c', |
| 43 'ssl/sslerr.h', |
| 44 'ssl/sslgathr.c', |
| 45 'ssl/sslimpl.h', |
| 46 'ssl/sslinfo.c', |
| 47 'ssl/sslmutex.c', |
| 48 'ssl/sslmutex.h', |
| 49 'ssl/sslnonce.c', |
| 50 'ssl/sslproto.h', |
| 51 'ssl/sslreveal.c', |
| 52 'ssl/sslsecur.c', |
| 53 'ssl/sslsnce.c', |
| 54 'ssl/sslsock.c', |
| 55 'ssl/sslt.h', |
| 56 'ssl/ssltrace.c', |
| 57 'ssl/sslver.c', |
| 58 'ssl/unix_err.c', |
| 59 'ssl/unix_err.h', |
| 60 'ssl/win32err.c', |
| 61 'ssl/win32err.h', |
| 62 'ssl/bodge/loader.c', |
| 63 'ssl/bodge/loader.h', |
| 64 'ssl/bodge/secure_memcmp.c', |
| 65 ], |
| 66 'defines': [ |
| 67 'NSS_ENABLE_ECC', |
| 68 'NSS_ENABLE_ZLIB', |
| 69 'SHLIB_PREFIX="lib"', |
| 70 'SHLIB_SUFFIX="so"', |
| 71 'SHLIB_VERSION="3"', |
| 72 'SOFTOKEN_SHLIB_VERSION="3"', |
| 73 'USE_UTIL_DIRECTLY', |
| 74 ], |
| 75 'include_dirs': [ |
| 76 './ssl/bodge', |
| 77 ], |
| 78 'cflags': [ |
| 79 '<!@(<(pkg-config) --cflags nss)', |
| 80 ], |
| 81 'conditions': [ |
| 82 [ 'OS == "linux"', { |
| 83 'sources!': [ |
| 84 'ssl/os2_err.c', |
| 85 'ssl/os2_err.h', |
| 86 'ssl/win32err.c', |
| 87 'ssl/win32err.h', |
| 88 ], |
| 89 }], |
| 90 ], |
| 91 }, |
| 92 ], |
| 93 } |
| 94 |
| 95 # Local Variables: |
| 96 # tab-width:2 |
| 97 # indent-tabs-mode:nil |
| 98 # End: |
| 99 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |