1{ 2 'conditions': [ 3 ['target_arch=="ppc64" and OS in ("aix", "os400")', { 4 'includes': ['config/archs/aix64-gcc-as/asm/openssl.gypi'], 5 }, 'target_arch=="ppc64" and OS=="linux" and node_byteorder =="little"', { 6 'includes': ['config/archs/linux-ppc64le/asm/openssl.gypi'], 7 }, 'target_arch=="s390x" and OS=="linux"', { 8 'includes': ['config/archs/linux64-s390x/asm/openssl.gypi'], 9 }, 'target_arch=="arm" and OS=="linux"', { 10 'includes': ['config/archs/linux-armv4/asm/openssl.gypi'], 11 }, 'target_arch=="arm64" and OS=="linux"', { 12 'includes': ['config/archs/linux-aarch64/asm/openssl.gypi'], 13 }, 'target_arch=="arm64" and OS=="mac"', { 14 'includes': ['config/archs/darwin64-arm64-cc/asm/openssl.gypi'], 15 }, 'target_arch=="ia32" and OS=="freebsd"', { 16 'includes': ['config/archs/BSD-x86/asm/openssl.gypi'], 17 }, 'target_arch=="ia32" and OS=="linux"', { 18 'includes': ['config/archs/linux-elf/asm/openssl.gypi'], 19 }, 'target_arch=="ia32" and OS=="mac"', { 20 'includes': ['config/archs/darwin-i386-cc/asm/openssl.gypi'], 21 }, 'target_arch=="ia32" and OS=="solaris"', { 22 'includes': ['config/archs/solaris-x86-gcc/asm/openssl.gypi'], 23 }, 'target_arch=="ia32" and OS=="win"', { 24 'includes': ['config/archs/VC-WIN32/asm/openssl.gypi'], 25 'rules': [ 26 { 27 'rule_name': 'Assemble', 28 'extension': 'asm', 29 'inputs': [], 30 'outputs': [ 31 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj', 32 ], 33 'action': [ 34 'nasm.exe', 35 '-f win32', 36 '-o', '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj', 37 '<(RULE_INPUT_PATH)', 38 ], 39 } 40 ], 41 }, 'target_arch=="ia32"', { 42 'includes': ['config/archs/linux-elf/asm/openssl.gypi'], 43 }, 'target_arch=="x64" and OS=="freebsd"', { 44 'includes': ['config/archs/BSD-x86_64/asm/openssl.gypi'], 45 }, 'target_arch=="x64" and OS=="mac"', { 46 'includes': ['config/archs/darwin64-x86_64-cc/asm/openssl.gypi'], 47 }, 'target_arch=="x64" and OS=="solaris"', { 48 'includes': ['config/archs/solaris64-x86_64-gcc/asm/openssl.gypi'], 49 }, 'target_arch=="x64" and OS=="win"', { 50 'includes': ['config/archs/VC-WIN64A/asm/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/openssl.gypi'], 72 }, 'target_arch=="mips64el" and OS=="linux"', { 73 'includes': ['config/archs/linux64-mips64/asm/openssl.gypi'], 74 }, { 75 # Other architectures don't use assembly 76 'includes': ['config/archs/linux-x86_64/asm/openssl.gypi'], 77 }], 78 ], 79} 80