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