| 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 'includes': [ | |
| 6 '../../native_client/build/untrusted.gypi', | |
| 7 ], | |
| 8 'targets': [ | |
| 9 { | |
| 10 'target_name': 'usrsctplib_nacl', | |
| 11 'type': 'none', | |
| 12 'variables': { | |
| 13 'nlib_target': 'libusrsctplib_nacl.a', | |
| 14 'build_glibc': 0, | |
| 15 'build_newlib': 0, | |
| 16 'build_pnacl_newlib': 1, | |
| 17 }, | |
| 18 'dependencies': [ | |
| 19 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untr
usted', | |
| 20 '<(DEPTH)/third_party/boringssl/boringssl_nacl.gyp:boringssl_nacl', | |
| 21 ], | |
| 22 'sources': [ | |
| 23 # Note: sources list duplicated in GN build. | |
| 24 'usrsctplib/netinet/sctp.h', | |
| 25 'usrsctplib/netinet/sctp_asconf.c', | |
| 26 'usrsctplib/netinet/sctp_asconf.h', | |
| 27 'usrsctplib/netinet/sctp_auth.c', | |
| 28 'usrsctplib/netinet/sctp_auth.h', | |
| 29 'usrsctplib/netinet/sctp_bsd_addr.c', | |
| 30 'usrsctplib/netinet/sctp_bsd_addr.h', | |
| 31 'usrsctplib/netinet/sctp_callout.c', | |
| 32 'usrsctplib/netinet/sctp_callout.h', | |
| 33 'usrsctplib/netinet/sctp_cc_functions.c', | |
| 34 'usrsctplib/netinet/sctp_constants.h', | |
| 35 'usrsctplib/netinet/sctp_crc32.c', | |
| 36 'usrsctplib/netinet/sctp_crc32.h', | |
| 37 'usrsctplib/netinet/sctp_header.h', | |
| 38 'usrsctplib/netinet/sctp_indata.c', | |
| 39 'usrsctplib/netinet/sctp_indata.h', | |
| 40 'usrsctplib/netinet/sctp_input.c', | |
| 41 'usrsctplib/netinet/sctp_input.h', | |
| 42 'usrsctplib/netinet/sctp_lock_userspace.h', | |
| 43 'usrsctplib/netinet/sctp_os.h', | |
| 44 'usrsctplib/netinet/sctp_os_userspace.h', | |
| 45 'usrsctplib/netinet/sctp_output.c', | |
| 46 'usrsctplib/netinet/sctp_output.h', | |
| 47 'usrsctplib/netinet/sctp_pcb.c', | |
| 48 'usrsctplib/netinet/sctp_pcb.h', | |
| 49 'usrsctplib/netinet/sctp_peeloff.c', | |
| 50 'usrsctplib/netinet/sctp_peeloff.h', | |
| 51 'usrsctplib/netinet/sctp_process_lock.h', | |
| 52 'usrsctplib/netinet/sctp_sha1.c', | |
| 53 'usrsctplib/netinet/sctp_sha1.h', | |
| 54 'usrsctplib/netinet/sctp_ss_functions.c', | |
| 55 'usrsctplib/netinet/sctp_structs.h', | |
| 56 'usrsctplib/netinet/sctp_sysctl.c', | |
| 57 'usrsctplib/netinet/sctp_sysctl.h', | |
| 58 'usrsctplib/netinet/sctp_timer.c', | |
| 59 'usrsctplib/netinet/sctp_timer.h', | |
| 60 'usrsctplib/netinet/sctp_uio.h', | |
| 61 'usrsctplib/netinet/sctp_userspace.c', | |
| 62 'usrsctplib/netinet/sctp_usrreq.c', | |
| 63 'usrsctplib/netinet/sctp_var.h', | |
| 64 'usrsctplib/netinet/sctputil.c', | |
| 65 'usrsctplib/netinet/sctputil.h', | |
| 66 'usrsctplib/netinet6/sctp6_usrreq.c', | |
| 67 'usrsctplib/netinet6/sctp6_var.h', | |
| 68 'usrsctplib/user_atomic.h', | |
| 69 'usrsctplib/user_environment.c', | |
| 70 'usrsctplib/user_environment.h', | |
| 71 'usrsctplib/user_inpcb.h', | |
| 72 'usrsctplib/user_ip6_var.h', | |
| 73 'usrsctplib/user_ip_icmp.h', | |
| 74 'usrsctplib/user_malloc.h', | |
| 75 'usrsctplib/user_mbuf.c', | |
| 76 'usrsctplib/user_mbuf.h', | |
| 77 'usrsctplib/user_queue.h', | |
| 78 'usrsctplib/user_recv_thread.c', | |
| 79 'usrsctplib/user_recv_thread.h', | |
| 80 'usrsctplib/user_route.h', | |
| 81 'usrsctplib/user_socket.c', | |
| 82 'usrsctplib/user_socketvar.h', | |
| 83 'usrsctplib/user_uma.h', | |
| 84 'usrsctplib/usrsctp.h' | |
| 85 ], # sources | |
| 86 'defines': [ | |
| 87 'SCTP_USE_OPENSSL_SHA1', | |
| 88 'SCTP_PROCESS_LEVEL_LOCKS', | |
| 89 'SCTP_SIMPLE_ALLOCATOR', | |
| 90 '__Userspace__', | |
| 91 '__Userspace_os_NaCl', | |
| 92 'NON_WINDOWS_DEFINE', | |
| 93 # 'SCTP_DEBUG', # Uncomment for SCTP debugging. | |
| 94 ], | |
| 95 'include_dirs': [ | |
| 96 'usrsctplib/', | |
| 97 'usrsctplib/netinet', | |
| 98 ], | |
| 99 'direct_dependent_settings': { | |
| 100 'include_dirs': [ | |
| 101 'usrsctplib/', | |
| 102 'usrsctplib/netinet', | |
| 103 ], | |
| 104 }, | |
| 105 'pnacl_cflags!': [ '-Werror', '-Wall' ], | |
| 106 'pnacl_cflags': [ '-w' ], | |
| 107 }, # target usrsctp | |
| 108 ], # targets | |
| 109 } | |
| OLD | NEW |