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

Side by Side Diff: crypto/crypto_nacl.gyp

Issue 185233012: Build src/crypto 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « crypto/crypto.gypi ('k') | 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 2014 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 {
6 'variables': {
7 'chromium_code': 1,
8
9 # OpenSSL is used instead of NSS in NaCl, even when Chrome is built with
10 # NSS.
11 'use_nss': 0,
12 'use_openssl': 1,
Ryan Sleevi 2014/03/05 21:43:50 This really should be global in some other .gypi.
Sergey Ulanov 2014/03/06 19:37:28 Updated common.gyp to define USE_OPENSSL when nacl
13 },
14 'includes': [
15 '../native_client/build/untrusted.gypi',
16 'crypto.gypi',
17 ],
18 'targets': [
19 {
20 'target_name': 'crypto_nacl',
Ryan Sleevi 2014/03/05 21:43:50 Is it going to be necessary to spin up separate _n
Sergey Ulanov 2014/03/06 19:37:28 Yes, for each library used in remoting. gyp curren
21 'type': 'none',
22 'variables': {
23 'nacl_untrusted_build': 1,
24 'nlib_target': 'libcrypto_nacl.a',
25 'build_glibc': 0,
26 'build_newlib': 0,
27 'build_pnacl_newlib': 1,
28 },
29 'dependencies': [
30 '../third_party/openssl/openssl_nacl.gyp:openssl_nacl',
31 '../native_client/tools.gyp:prep_toolchain',
32 '../native_client_sdk/native_client_sdk_untrusted.gyp:nacl_io_untrusted' ,
33 ],
34 'defines': [
35 'CRYPTO_IMPLEMENTATION',
36 ],
37 'sources': [
38 '<@(crypto_sources)',
39 ],
40 'sources/': [
41 ['exclude', 'ec_private_key_nss\.cc$'],
42 ['exclude', 'ec_signature_creator_nss\.cc$'],
43 ['exclude', 'encryptor_nss\.cc$'],
44 ['exclude', 'hmac_nss\.cc$'],
45 ['exclude', 'signature_verifier_nss\.cc$'],
46 ['exclude', 'symmetric_key_nss\.cc$'],
Ryan Sleevi 2014/03/05 21:43:50 Why are you sources/ this, but sources! the rest?
Sergey Ulanov 2014/03/06 19:37:28 removed sources!
47 ],
48 'sources!': [
Ryan Sleevi 2014/03/05 21:43:50 This seems like it's going to be fairly brittle.
Sergey Ulanov 2014/03/06 19:37:28 Replaced with regex-based exclusions.
49 'apple_keychain.h',
50 'capi_util.cc',
51 'capi_util.h',
52 'cssm_init.cc',
53 'cssm_init.h',
54 'hmac_win.cc',
55 'mac_security_services_lock.cc',
56 'mac_security_services_lock.h',
57 'mock_apple_keychain.cc',
58 'mock_apple_keychain.h',
59 'openpgp_symmetric_encryption.cc',
60 'openpgp_symmetric_encryption.h',
61 'symmetric_key_win.cc',
62 'ec_private_key_nss.cc',
63 'ec_signature_creator_nss.cc',
64 'encryptor_nss.cc',
65 'hmac_nss.cc',
66 'nss_util.cc',
67 'nss_util.h',
68 'openpgp_symmetric_encryption.cc',
69 'rsa_private_key_nss.cc',
70 'secure_hash_default.cc',
71 'signature_creator_nss.cc',
72 'signature_verifier_nss.cc',
73 'symmetric_key_nss.cc',
74 'third_party/nss/chromium-blapi.h',
75 'third_party/nss/chromium-blapit.h',
76 'third_party/nss/chromium-nss.h',
77 'third_party/nss/chromium-sha256.h',
78 'third_party/nss/pk11akey.cc',
79 'third_party/nss/rsawrapr.c',
80 'third_party/nss/secsign.cc',
81 'third_party/nss/sha512.cc',
82 ],
83 },
84 ],
85 }
OLDNEW
« no previous file with comments | « crypto/crypto.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698