'BORINGSSL_IMPLEMENTATION',
'BORINGSSL_NO_STATIC_INITIALIZER',
],
+ # TODO(davidben): Fix size_t truncations in BoringSSL.
+ # https://crbug.com/429039
+ 'msvs_disabled_warnings': [ 4267, ],
'conditions': [
['component == "shared_library"', {
'defines': [
['OS == "linux" or OS == "android"', {
'sources': [ '<@(boringssl_linux_x86_sources)' ],
}],
- ['OS != "mac" and OS != "linux" and OS != "android"', {
+ ['OS == "win"', {
+ 'sources': [ '<@(boringssl_win_x86_sources)' ],
+ # Windows' assembly is built with Yasm. The other platforms use
+ # the platform assembler.
+ 'variables': {
+ 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/boringssl',
+ },
+ 'includes': [
+ '../yasm/yasm_compile.gypi',
+ ],
+ }],
+ ['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"', {
'defines': [ 'OPENSSL_NO_ASM' ],
}],
]
}],
['OS == "win"', {
'sources': [ '<@(boringssl_win_x86_64_sources)' ],
+ # Windows' assembly is built with Yasm. The other platforms use
+ # the platform assembler.
+ 'variables': {
+ 'yasm_output_path': '<(SHARED_INTERMEDIATE_DIR)/third_party/boringssl',
+ },
+ 'includes': [
+ '../yasm/yasm_compile.gypi',
+ ],
}],
['OS != "mac" and OS != "linux" and OS != "win" and OS != "android"', {
'defines': [ 'OPENSSL_NO_ASM' ],