|
| 1 | +{ |
| 2 | + 'conditions': [ |
| 3 | + ['target_arch=="ppc" and OS=="aix"', { |
| 4 | + 'includes': ['config/archs/aix-gcc/asm_avx2/openssl.gypi'], |
| 5 | + }, 'target_arch=="ppc" and OS=="linux"', { |
| 6 | + 'includes': ['config/archs/linux-ppc/asm_avx2/openssl.gypi'], |
| 7 | + }, 'target_arch=="ppc64" and OS=="aix"', { |
| 8 | + 'includes': ['config/archs/aix64-gcc/asm_avx2/openssl.gypi'], |
| 9 | + }, 'target_arch=="ppc64" and OS=="linux" and node_byteorder =="little"', { |
| 10 | + 'includes': ['config/archs/linux-ppc64le/asm_avx2/openssl.gypi'], |
| 11 | + }, 'target_arch=="ppc64" and OS=="linux"', { |
| 12 | + 'includes': ['config/archs/linux-ppc64/asm_avx2/openssl.gypi'], |
| 13 | + }, 'target_arch=="s390" and OS=="linux"', { |
| 14 | + 'includes': ['config/archs/linux32-s390x/asm_avx2/openssl.gypi'], |
| 15 | + }, 'target_arch=="s390x" and OS=="linux"', { |
| 16 | + 'includes': ['config/archs/linux64-s390x/asm_avx2/openssl.gypi'], |
| 17 | + }, 'target_arch=="arm" and OS=="linux"', { |
| 18 | + 'includes': ['config/archs/linux-armv4/asm_avx2/openssl.gypi'], |
| 19 | + }, 'target_arch=="arm64" and OS=="linux"', { |
| 20 | + 'includes': ['config/archs/linux-aarch64/asm_avx2/openssl.gypi'], |
| 21 | + }, 'target_arch=="ia32" and OS=="linux"', { |
| 22 | + 'includes': ['config/archs/linux-elf/asm_avx2/openssl.gypi'], |
| 23 | + }, 'target_arch=="ia32" and OS=="mac"', { |
| 24 | + 'includes': ['config/archs/darwin-i386-cc/asm_avx2/openssl.gypi'], |
| 25 | + }, 'target_arch=="ia32" and OS=="solaris"', { |
| 26 | + 'includes': ['config/archs/solaris-x86-gcc/asm_avx2/openssl.gypi'], |
| 27 | + }, 'target_arch=="ia32" and OS=="win"', { |
| 28 | + 'includes': ['config/archs/VC-WIN32/asm_avx2/openssl.gypi'], |
| 29 | + 'rules': [ |
| 30 | + { |
| 31 | + 'rule_name': 'Assemble', |
| 32 | + 'extension': 'asm', |
| 33 | + 'inputs': [], |
| 34 | + 'outputs': [ |
| 35 | + '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj', |
| 36 | + ], |
| 37 | + 'action': [ |
| 38 | + 'nasm.exe', |
| 39 | + '-f win32', |
| 40 | + '-o', '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj', |
| 41 | + '<(RULE_INPUT_PATH)', |
| 42 | + ], |
| 43 | + } |
| 44 | + ], |
| 45 | + }, 'target_arch=="ia32"', { |
| 46 | + 'includes': ['config/archs/linux-elf/asm_avx2/openssl.gypi'], |
| 47 | + }, 'target_arch=="x64" and OS=="freebsd"', { |
| 48 | + 'includes': ['config/archs/BSD-x86_64/asm_avx2/openssl.gypi'], |
| 49 | + }, 'target_arch=="x64" and OS=="mac"', { |
| 50 | + 'includes': ['config/archs/darwin64-x86_64-cc/asm_avx2/openssl.gypi'], |
| 51 | + }, 'target_arch=="x64" and OS=="solaris"', { |
| 52 | + 'includes': ['config/archs/solaris64-x86_64-gcc/asm_avx2/openssl.gypi'], |
| 53 | + }, 'target_arch=="x64" and OS=="win"', { |
| 54 | + 'includes': ['config/archs/VC-WIN64A/asm_avx2/openssl.gypi'], |
| 55 | + 'rules': [ |
| 56 | + { |
| 57 | + 'rule_name': 'Assemble', |
| 58 | + 'extension': 'asm', |
| 59 | + 'inputs': [], |
| 60 | + 'outputs': [ |
| 61 | + '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj', |
| 62 | + ], |
| 63 | + 'action': [ |
| 64 | + 'nasm.exe', |
| 65 | + '-f win64', |
| 66 | + '-DNEAR', |
| 67 | + '-Ox', |
| 68 | + '-g', |
| 69 | + '-o', '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj', |
| 70 | + '<(RULE_INPUT_PATH)', |
| 71 | + ], |
| 72 | + } |
| 73 | + ], |
| 74 | + }, 'target_arch=="x64" and OS=="linux"', { |
| 75 | + 'includes': ['config/archs/linux-x86_64/asm_avx2/openssl.gypi'], |
| 76 | + }, { |
| 77 | + # Other architectures don't use assembly |
| 78 | + 'includes': ['config/archs/linux-x86_64/asm_avx2/openssl.gypi'], |
| 79 | + }], |
| 80 | + ], |
| 81 | +} |
0 commit comments