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

Side by Side Diff: openssl.gyp

Issue 231353003: Adds support for compiling OpenSSL on mac. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/openssl
Patch Set: Created 6 years, 8 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 | « import_from_android.sh ('k') | openssl.gypi » ('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) 2012 The Chromium Authors. All rights reserved. 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 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'openssl', 8 'target_name': 'openssl',
9 'type': '<(component)', 9 'type': '<(component)',
10 'includes': [ 10 'includes': [
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 'sources!': [ '<@(openssl_arm_source_excludes)' ], 52 'sources!': [ '<@(openssl_arm_source_excludes)' ],
53 'defines': [ '<@(openssl_arm_defines)' ], 53 'defines': [ '<@(openssl_arm_defines)' ],
54 'defines!': [ 'OPENSSL_NO_ASM' ], 54 'defines!': [ 'OPENSSL_NO_ASM' ],
55 }], 55 }],
56 ['target_arch == "mipsel"', { 56 ['target_arch == "mipsel"', {
57 'sources': [ '<@(openssl_mips_sources)' ], 57 'sources': [ '<@(openssl_mips_sources)' ],
58 'sources!': [ '<@(openssl_mips_source_excludes)' ], 58 'sources!': [ '<@(openssl_mips_source_excludes)' ],
59 'defines': [ '<@(openssl_mips_defines)' ], 59 'defines': [ '<@(openssl_mips_defines)' ],
60 'defines!': [ 'OPENSSL_NO_ASM' ], 60 'defines!': [ 'OPENSSL_NO_ASM' ],
61 }], 61 }],
62 ['target_arch == "ia32"', { 62 ['target_arch == "ia32" and OS !="mac"', {
63 'sources': [ '<@(openssl_x86_sources)' ], 63 'sources': [ '<@(openssl_x86_sources)' ],
64 'sources!': [ '<@(openssl_x86_source_excludes)' ], 64 'sources!': [ '<@(openssl_x86_source_excludes)' ],
65 'defines': [ '<@(openssl_x86_defines)' ], 65 'defines': [ '<@(openssl_x86_defines)' ],
66 'defines!': [ 'OPENSSL_NO_ASM' ], 66 'defines!': [ 'OPENSSL_NO_ASM' ],
67 }], 67 }],
68 ['target_arch == "ia32" and OS == "mac"', {
69 'sources': [ '<@(openssl_mac_ia32_sources)' ],
70 'sources!': [ '<@(openssl_mac_ia32_source_excludes)' ],
71 'defines': [ '<@(openssl_mac_ia32_defines)' ],
72 'defines!': [ 'OPENSSL_NO_ASM' ],
73 'variables': {
74 # Ensure the 32-bit opensslconf.h header for OS X is used.
75 'openssl_include_dirs+': [ 'config/mac/ia32' ],
76 'openssl_public_include_dirs+': [ 'config/mac/ia32' ],
77 },
78 'xcode_settings': {
79 # Clang needs this to understand the inline assembly keyword 'asm'.
80 'GCC_C_LANGUAGE_STANDARD': 'gnu99',
81 },
82 }],
68 ['target_arch == "x64"', { 83 ['target_arch == "x64"', {
69 'sources': [ '<@(openssl_x86_64_sources)' ], 84 'sources': [ '<@(openssl_x86_64_sources)' ],
70 'sources!': [ '<@(openssl_x86_64_source_excludes)' ], 85 'sources!': [ '<@(openssl_x86_64_source_excludes)' ],
71 'defines': [ '<@(openssl_x86_64_defines)' ], 86 'defines': [ '<@(openssl_x86_64_defines)' ],
72 'defines!': [ 'OPENSSL_NO_ASM' ], 87 'defines!': [ 'OPENSSL_NO_ASM' ],
73 'variables': { 88 'variables': {
74 # Ensure the 64-bit opensslconf.h header is used. 89 # Ensure the 64-bit opensslconf.h header is used.
75 'openssl_include_dirs+': [ 'config/x64' ], 90 'openssl_include_dirs+': [ 'config/x64' ],
76 'openssl_public_include_dirs+': [ 'config/x64' ], 91 'openssl_public_include_dirs+': [ 'config/x64' ],
77 }, 92 },
(...skipping 25 matching lines...) Expand all
103 }, 118 },
104 }, 119 },
105 ], 120 ],
106 } 121 }
107 122
108 # Local Variables: 123 # Local Variables:
109 # tab-width:2 124 # tab-width:2
110 # indent-tabs-mode:nil 125 # indent-tabs-mode:nil
111 # End: 126 # End:
112 # vim: set expandtab tabstop=2 shiftwidth=2: 127 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « import_from_android.sh ('k') | openssl.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698