Index: net/net_nacl.gyp |
diff --git a/net/net_nacl.gyp b/net/net_nacl.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..719449e4084db9b85336fac8c0a899e053404f04 |
--- /dev/null |
+++ b/net/net_nacl.gyp |
@@ -0,0 +1,64 @@ |
+# 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. |
+ |
+{ |
+ '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', |
+ ], |
+ 'sources': [ |
+ '<@(net_sources)', |
+ ], |
+ 'sources/': [ |
+ ['exclude', '/nss_.+\.(h|cc|c)$'], |
+ ['exclude', '/winsock_.*\.(h|cc)$'], |
+ ['exclude', '^disk_cache/'], |
+ ['exclude', '^dns/'], |
+ ['exclude', '^filter/'], |
+ ['exclude', '^quic/'], |
+ ['exclude', '^proxy/'], |
+ ['exclude', '^spdy/'], |
+ ['exclude', '^third_party/mozilla_security_manager/'], |
+ ['exclude', '_libevent\.(h|cc)$'], |
+ ['exclude', '_nss\.(h|cc|c)$'], |
+ ], |
+ 'sources!': [ |
+ 'base/dns_reloader.cc', |
+ 'base/dns_reloader.h', |
+ 'http/http_auth_handler_factory.cc', |
+ 'http/http_auth_handler_factory.h', |
+ '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', |
+ ], |
+ }, |
+ ], |
+} |