mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
deps: refactor openssl.gyp
Updated gyp has "else if" syntax in condition. Use this for target_arch and OS switches. Several sources, defines, rules and libraries variables moved to gypi files. PR-URL: https://github.com/iojs/io.js/pull/1325 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
1 parent
eb459c8151
commit
f782824d48
4 files changed
+1166
-1099
No files matched your search
Vendored
+44
@@ -0,0 +1,44 @@
|
||||
{
|
||||
'conditions': [
|
||||
['target_arch=="ia32"', {
|
||||
'rules': [
|
||||
{
|
||||
'rule_name': 'Assemble',
|
||||
'extension': 'asm',
|
||||
'inputs': [],
|
||||
'outputs': [
|
||||
'<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
|
||||
],
|
||||
'action': [
|
||||
'ml.exe',
|
||||
'/Zi',
|
||||
'/safeseh',
|
||||
'/Fo', '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
|
||||
'/c', '<(RULE_INPUT_PATH)',
|
||||
],
|
||||
'process_outputs_as_sources': 0,
|
||||
'message': 'Assembling <(RULE_INPUT_PATH) to <(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj.',
|
||||
}
|
||||
],
|
||||
}, 'target_arch=="x64"', {
|
||||
'rules': [
|
||||
{
|
||||
'rule_name': 'Assemble',
|
||||
'extension': 'asm',
|
||||
'inputs': [],
|
||||
'outputs': [
|
||||
'<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
|
||||
],
|
||||
'action': [
|
||||
'ml64.exe',
|
||||
'/Zi',
|
||||
'/Fo', '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
|
||||
'/c', '<(RULE_INPUT_PATH)',
|
||||
],
|
||||
'process_outputs_as_sources': 0,
|
||||
'message': 'Assembling <(RULE_INPUT_PATH) to <(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj.',
|
||||
}
|
||||
],
|
||||
}],
|
||||
],
|
||||
}
|
||||
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
{
|
||||
'target_name': 'openssl-cli',
|
||||
'type': 'executable',
|
||||
'dependencies': ['openssl'],
|
||||
'defines': [
|
||||
'MONOLITH'
|
||||
],
|
||||
'sources': ['<@(openssl_cli_sources)'],
|
||||
'conditions': [
|
||||
['OS=="solaris"', {
|
||||
'libraries': ['<@(openssl_cli_libraries_solaris)']
|
||||
}, 'OS=="win"', {
|
||||
'link_settings': {
|
||||
'libraries': ['<@(openssl_cli_libraries_win)'],
|
||||
},
|
||||
}, 'OS in "linux android"', {
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'-ldl',
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
}
|
||||
Vendored
+70
-1099
File diff suppressed because it is too large.
Load diff
Vendored
+1028
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user