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

Side by Side Diff: crypto/crypto.gyp

Issue 8429034: Upstream: Build net_unittests for Android. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: split out unreviewed files Created 9 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 | « no previous file | crypto/rsa_private_key.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'crypto', 11 'target_name': 'crypto',
12 'type': '<(component)', 12 'type': '<(component)',
13 'product_name': 'crcrypto', # Avoid colliding with OpenSSL's libcrypto 13 'product_name': 'crcrypto', # Avoid colliding with OpenSSL's libcrypto
14 'dependencies': [ 14 'dependencies': [
15 '../base/base.gyp:base', 15 '../base/base.gyp:base',
16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations', 16 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic _annotations',
17 ], 17 ],
18 'defines': [ 18 'defines': [
19 'CRYPTO_IMPLEMENTATION', 19 'CRYPTO_IMPLEMENTATION',
20 ], 20 ],
21 'msvs_disabled_warnings': [ 21 'msvs_disabled_warnings': [
22 4018, 22 4018,
23 ], 23 ],
24 'conditions': [ 24 'conditions': [
25 [ 'os_posix == 1 and OS != "mac"', { 25 [ 'os_posix == 1 and OS != "mac" and OS != "android"', {
26 'dependencies': [ 26 'dependencies': [
27 '../build/linux/system.gyp:ssl', 27 '../build/linux/system.gyp:ssl',
28 ], 28 ],
29 'export_dependent_settings': [ 29 'export_dependent_settings': [
30 '../build/linux/system.gyp:ssl', 30 '../build/linux/system.gyp:ssl',
31 ], 31 ],
32 'conditions': [ 32 'conditions': [
33 [ 'chromeos==1', { 33 [ 'chromeos==1', {
34 'sources/': [ ['include', '_chromeos\\.cc$'] ] 34 'sources/': [ ['include', '_chromeos\\.cc$'] ]
35 }, 35 },
36 ], 36 ],
37 ], 37 ],
38 }, { # os_posix != 1 or OS == "mac" 38 }, { # os_posix != 1 or OS == "mac" or OS == "android"
39 'sources/': [ 39 'sources/': [
40 ['exclude', '_nss\.cc$'], 40 ['exclude', '_nss\.cc$'],
41 ['include', 'ec_private_key_nss\.cc$'], 41 ['include', 'ec_private_key_nss\.cc$'],
42 ], 42 ],
43 'sources!': [ 43 'sources!': [
44 'openpgp_symmetric_encryption.cc', 44 'openpgp_symmetric_encryption.cc',
45 ], 45 ],
46 }], 46 }],
47 [ 'OS == "android"', {
48 'dependencies': [
49 '../build/android/system.gyp:ssl',
50 ],
51 'sources/': [
52 ['exclude', 'ec_private_key_nss\.cc$'],
53 ],
54 }],
47 [ 'OS == "freebsd" or OS == "openbsd"', { 55 [ 'OS == "freebsd" or OS == "openbsd"', {
48 'link_settings': { 56 'link_settings': {
49 'libraries': [ 57 'libraries': [
50 '-L/usr/local/lib -lexecinfo', 58 '-L/usr/local/lib -lexecinfo',
51 ], 59 ],
52 }, 60 },
53 }, 61 },
54 ], 62 ],
55 [ 'OS == "mac"', { 63 [ 'OS == "mac"', {
56 'link_settings': { 64 'link_settings': {
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 [ 'use_openssl==1', { 249 [ 'use_openssl==1', {
242 'sources!': [ 250 'sources!': [
243 'openpgp_symmetric_encryption_unittest.cc', 251 'openpgp_symmetric_encryption_unittest.cc',
244 'rsa_private_key_nss_unittest.cc', 252 'rsa_private_key_nss_unittest.cc',
245 ], 253 ],
246 }], 254 }],
247 ], 255 ],
248 }, 256 },
249 ], 257 ],
250 } 258 }
OLDNEW
« no previous file with comments | « no previous file | crypto/rsa_private_key.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698