Chromium Code Reviews| 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 | |
|
Ryan Sleevi
2014/03/27 01:04:41
Curious, why a separate GYP file for this? In othe
Sergey Ulanov
2014/04/01 00:30:14
It's because src/native_client may not always be p
| |
| 5 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 }, | |
| 9 'includes': [ | |
| 10 '../native_client/build/untrusted.gypi', | |
| 11 'net.gypi', | |
| 12 ], | |
| 13 'targets': [ | |
| 14 { | |
| 15 'target_name': 'net_nacl', | |
| 16 'type': 'none', | |
| 17 'variables': { | |
| 18 'nacl_untrusted_build': 1, | |
| 19 'nlib_target': 'libnet_nacl.a', | |
| 20 'build_glibc': 0, | |
| 21 'build_newlib': 0, | |
| 22 'build_pnacl_newlib': 1, | |
| 23 }, | |
| 24 'dependencies': [ | |
| 25 '../crypto/crypto_nacl.gyp:crypto_nacl', | |
| 26 '../native_client/tools.gyp:prep_toolchain', | |
| 27 '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted' , | |
| 28 '../third_party/openssl/openssl_nacl.gyp:openssl_nacl', | |
| 29 '../url/url_nacl.gyp:url_nacl', | |
| 30 ], | |
| 31 'defines': [ | |
| 32 'NET_IMPLEMENTATION', | |
| 33 ], | |
| 34 'pnacl_compile_flags': [ | |
| 35 '-Wno-bind-to-temporary-copy', | |
| 36 ], | |
| 37 'sources': [ | |
| 38 '<@(net_sources_common)', | |
| 39 ], | |
| 40 'sources/': [ | |
| 41 ['exclude', '/nss_.+\.(h|cc|c)$'], | |
| 42 ['exclude', '/winsock_.*\.(h|cc)$'], | |
| 43 ['exclude', '_libevent\.(h|cc)$'], | |
| 44 ['exclude', '_nss\.(h|cc)$'], | |
| 45 ], | |
| 46 'sources!': [ | |
| 47 'http/http_auth_handler_negotiate.cc', | |
| 48 'http/http_auth_handler_negotiate.h', | |
| 49 'http/http_auth_gssapi_posix.cc', | |
| 50 'http/http_auth_gssapi_posix.h', | |
| 51 'socket/unix_domain_socket_posix.cc', | |
| 52 'socket/unix_domain_socket_posix.h', | |
| 53 'ssl/ssl_config_service.cc', | |
| 54 'ssl/ssl_config_service.h', | |
| 55 ], | |
|
Ryan Sleevi
2014/03/27 01:04:41
Why include these in _common if they aren't _commo
Sergey Ulanov
2014/04/01 00:30:14
Moved these and bunch of other files to the non-co
| |
| 56 }, | |
| 57 ], | |
| 58 } | |
| OLD | NEW |