Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Unified Diff: net/net_nacl.gyp

Issue 188873004: Compile src/net for PNaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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',
+ ],
+ },
+ ],
+}
« net/cert/crl_set.cc ('K') | « net/net.gypi ('k') | net/socket/tcp_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698