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

Side by Side Diff: openssl_nacl.gyp

Issue 130373002: Compile OpenSSL for NaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/openssl
Patch Set: Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 2013 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 'variables': {
6 'werror': '',
wtc 2014/01/10 00:31:03 Just curious: what is 'werror'?
Sergey Ulanov 2014/01/10 01:35:29 It's necessary for untrusted.gypi to remove -werro
7 },
8 'includes': [
9 '../../native_client/build/untrusted.gypi',
10 ],
11 'targets': [
12 {
13 'target_name': 'openssl_nacl',
14 'type': 'none',
15 'variables': {
16 'nlib_target': 'libopenssl_nacl.a',
17 'build_glibc': 0,
18 'build_newlib': 0,
19 'build_pnacl_newlib': 1,
20 },
21 'dependencies': [
22 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
23 '<(DEPTH)/native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untr usted',
24 ],
25 'includes': [
26 # Include the auto-generated gypi file.
27 'openssl.gypi'
wtc 2014/01/10 00:31:03 In third_party/openssl/openssl.gyp, this line is a
Sergey Ulanov 2014/01/10 01:35:29 Done.
28 ],
29 'sources': [
30 '<@(openssl_common_sources)',
31 ],
32 'defines': [
33 '<@(openssl_common_defines)',
34 'MONOLITH',
35 'NO_SYS_UN_H',
36 'NO_SYSLOG',
37 'OPENSSL_NO_ASM',
38 'PURIFY',
39 'TERMIOS',
40 'SSIZE_MAX=INT_MAX',
wtc 2014/01/10 00:31:03 Just curious: why do you need the following? '
Sergey Ulanov 2014/01/10 01:35:29 NaCl toolchain doesn't have some headers that are
41 ],
42 'defines!': [
43 'TERMIO',
44 ],
45 'include_dirs': [
46 '.',
47 'openssl',
48 'openssl/crypto',
49 'openssl/crypto/asn1',
50 'openssl/crypto/evp',
51 'openssl/crypto/modes',
52 'openssl/include',
53 ],
54 'direct_dependent_settings': {
55 'include_dirs': [
56 'openssl/include',
57 ],
58 },
59 'pnacl_compile_flags': [
60 '-Wno-sometimes-uninitialized'
61 ],
62 '!pnacl_compile_flags': [
wtc 2014/01/10 00:31:03 I am not familiar with GYP syntax, but I have neve
Sergey Ulanov 2014/01/10 01:35:29 Yes that was a mistake. I actually meant to write
63 '-Wunused-variable',
64 ],
65 }, # target openssl_nacl
66 ],
67 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698