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

Side by Side Diff: runtime/bin/net/ssl.gyp

Issue 11364150: "Reverting 14684" - Building NSS libraries. It is causing local compilation failures. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/bin/net/sqlite.gyp ('k') | runtime/bin/net/zlib.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright (c) 2012 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 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6 # for details. All rights reserved. Use of this source code is governed by a
7 # BSD-style license that can be found in the LICENSE file.
8
9 # This file is a modified copy of Chromium's src/net/third_party/nss/ssl.gyp.
10 # Revision 165464 (this should agree with "nss_rev" in DEPS).
11 {
12 # Conditions section for ssl-bodge (Compiling SSL on linux using system
13 # NSS and NSPR libraries) removed:
14 # 'conditions': [
15 # [ 'os_posix == 1 and OS != "mac" and OS != "ios"', {
16 # ...
17 # }]],
18
19 # Added by Dart. All Dart comments refer to the following block or line.
20 'includes': [
21 '../../tools/gyp/runtime-configurations.gypi',
22 '../../tools/gyp/nss_configurations.gypi',
23 ],
24 # Added by Dart.
25 'variables': {
26 'ssl_directory': '../../../third_party/net_nss',
27 'os_posix': 0,
28 },
29 'targets': [
30 {
31 'target_name': 'libssl',
32 'type': 'static_library',
33 # Changed by Dart: '<(ssl_directory)/' added to all paths.
34 'sources': [
35 '<(ssl_directory)/ssl/authcert.c',
36 '<(ssl_directory)/ssl/cmpcert.c',
37 '<(ssl_directory)/ssl/derive.c',
38 '<(ssl_directory)/ssl/dtls1con.c',
39 '<(ssl_directory)/ssl/nsskea.c',
40 '<(ssl_directory)/ssl/os2_err.c',
41 '<(ssl_directory)/ssl/os2_err.h',
42 '<(ssl_directory)/ssl/preenc.h',
43 '<(ssl_directory)/ssl/prelib.c',
44 '<(ssl_directory)/ssl/ssl.h',
45 '<(ssl_directory)/ssl/ssl3con.c',
46 '<(ssl_directory)/ssl/ssl3ecc.c',
47 '<(ssl_directory)/ssl/ssl3ext.c',
48 '<(ssl_directory)/ssl/ssl3gthr.c',
49 '<(ssl_directory)/ssl/ssl3prot.h',
50 '<(ssl_directory)/ssl/sslauth.c',
51 '<(ssl_directory)/ssl/sslcon.c',
52 '<(ssl_directory)/ssl/ssldef.c',
53 '<(ssl_directory)/ssl/sslenum.c',
54 '<(ssl_directory)/ssl/sslerr.c',
55 '<(ssl_directory)/ssl/sslerr.h',
56 '<(ssl_directory)/ssl/SSLerrs.h',
57 '<(ssl_directory)/ssl/sslerrstrs.c',
58 '<(ssl_directory)/ssl/sslgathr.c',
59 '<(ssl_directory)/ssl/sslimpl.h',
60 '<(ssl_directory)/ssl/sslinfo.c',
61 '<(ssl_directory)/ssl/sslinit.c',
62 '<(ssl_directory)/ssl/sslmutex.c',
63 '<(ssl_directory)/ssl/sslmutex.h',
64 '<(ssl_directory)/ssl/sslnonce.c',
65 '<(ssl_directory)/ssl/sslplatf.c',
66 '<(ssl_directory)/ssl/sslproto.h',
67 '<(ssl_directory)/ssl/sslreveal.c',
68 '<(ssl_directory)/ssl/sslsecur.c',
69 '<(ssl_directory)/ssl/sslsnce.c',
70 '<(ssl_directory)/ssl/sslsock.c',
71 '<(ssl_directory)/ssl/sslt.h',
72 '<(ssl_directory)/ssl/ssltrace.c',
73 '<(ssl_directory)/ssl/sslver.c',
74 '<(ssl_directory)/ssl/unix_err.c',
75 '<(ssl_directory)/ssl/unix_err.h',
76 '<(ssl_directory)/ssl/win32err.c',
77 '<(ssl_directory)/ssl/win32err.h',
78 ],
79 'sources!': [
80 '<(ssl_directory)/ssl/os2_err.c',
81 '<(ssl_directory)/ssl/os2_err.h',
82 ],
83 'defines': [
84 'NSS_ENABLE_ECC',
85 'NSS_ENABLE_ZLIB',
86 'USE_UTIL_DIRECTLY',
87 ],
88 'defines!': [
89 # Regrettably, NSS can't be compiled with NO_NSPR_10_SUPPORT yet.
90 'NO_NSPR_10_SUPPORT',
91 ],
92 'dependencies': [
93 'zlib.gyp:zlib',
94 # Dart: Start of copy of code from 'bodge' conditions section below.
95 'nss.gyp:nspr',
96 'nss.gyp:nss',
97 ],
98 'export_dependent_settings': [
99 'nss.gyp:nspr',
100 'nss.gyp:nss',
101 ],
102 'direct_dependent_settings': {
103 'include_dirs': [
104 '<(ssl_directory)/ssl',
105 ],
106 'defines': [
107 'NSS_PLATFORM_CLIENT_AUTH',
108 ],
109 # Dart: End of copy of code from bodge conditions section.
110 },
111 'msvs_disabled_warnings': [4018, 4244],
112 'conditions': [
113 [ 'clang == 1', {
114 'cflags': [
115 # See http://crbug.com/138571#c8. In short, sslsecur.c picks up the
116 # system's cert.h because cert.h isn't in chromium's repo.
117 '-Wno-incompatible-pointer-types',
118 ],
119 }],
120 # Added by Dart.
121 [ 'OS == "linux"', {
122 'defines': [
123 'XP_UNIX',
124 'NSS_PLATFORM_CLIENT_AUTH',
125 'NSS_USE_STATIC_LIBS',
126 ],
127 }],
128 [ 'OS == "mac" or OS == "ios"', {
129 'defines': [
130 'XP_UNIX',
131 'DARWIN',
132 'XP_MACOSX',
133 ],
134 }],
135 [ 'OS == "win"', {
136 'sources!': [
137 '<(ssl_directory)/ssl/unix_err.c',
138 '<(ssl_directory)/ssl/unix_err.h',
139 ],
140 },
141 { # else: OS != "win"
142 'sources!': [
143 '<(ssl_directory)/ssl/win32err.c',
144 '<(ssl_directory)/ssl/win32err.h',
145 ],
146 },
147 ],
148 # Dart: Conditions sections for ssl/bodge removed.
149 # [ 'os_posix == 1 and OS != "mac" and OS != "ios", {
150 # ...
151 # ],
152 # [ 'OS == "mac" or OS == "ios" or OS == "win"', {
153 # ...
154 # ],
155 ],
156 'configurations': {
157 'Debug_Base': {
158 'defines': [
159 'DEBUG',
160 ],
161 },
162 },
163 },
164 ],
165 }
OLDNEW
« no previous file with comments | « runtime/bin/net/sqlite.gyp ('k') | runtime/bin/net/zlib.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698