Index: net/net_nacl.gyp |
diff --git a/net/net_nacl.gyp b/net/net_nacl.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2ed7b89b10f8071c2754b7dccebec44f60a6ddac |
--- /dev/null |
+++ b/net/net_nacl.gyp |
@@ -0,0 +1,58 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
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
|
+{ |
+ 'variables': { |
+ 'chromium_code': 1, |
+ }, |
+ 'includes': [ |
+ '../native_client/build/untrusted.gypi', |
+ 'net.gypi', |
+ ], |
+ 'targets': [ |
+ { |
+ 'target_name': 'net_nacl', |
+ 'type': 'none', |
+ 'variables': { |
+ 'nacl_untrusted_build': 1, |
+ 'nlib_target': 'libnet_nacl.a', |
+ 'build_glibc': 0, |
+ 'build_newlib': 0, |
+ 'build_pnacl_newlib': 1, |
+ }, |
+ 'dependencies': [ |
+ '../crypto/crypto_nacl.gyp:crypto_nacl', |
+ '../native_client/tools.gyp:prep_toolchain', |
+ '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted', |
+ '../third_party/openssl/openssl_nacl.gyp:openssl_nacl', |
+ '../url/url_nacl.gyp:url_nacl', |
+ ], |
+ 'defines': [ |
+ 'NET_IMPLEMENTATION', |
+ ], |
+ 'pnacl_compile_flags': [ |
+ '-Wno-bind-to-temporary-copy', |
+ ], |
+ 'sources': [ |
+ '<@(net_sources_common)', |
+ ], |
+ 'sources/': [ |
+ ['exclude', '/nss_.+\.(h|cc|c)$'], |
+ ['exclude', '/winsock_.*\.(h|cc)$'], |
+ ['exclude', '_libevent\.(h|cc)$'], |
+ ['exclude', '_nss\.(h|cc)$'], |
+ ], |
+ 'sources!': [ |
+ 'http/http_auth_handler_negotiate.cc', |
+ 'http/http_auth_handler_negotiate.h', |
+ 'http/http_auth_gssapi_posix.cc', |
+ 'http/http_auth_gssapi_posix.h', |
+ 'socket/unix_domain_socket_posix.cc', |
+ 'socket/unix_domain_socket_posix.h', |
+ 'ssl/ssl_config_service.cc', |
+ 'ssl/ssl_config_service.h', |
+ ], |
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
|
+ }, |
+ ], |
+} |