OLD | NEW |
(Empty) | |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'includes': [ |
| 7 '../../runtime/tools/gyp/runtime-configurations.gypi', |
| 8 'boringssl_configurations.gypi', |
| 9 ], |
| 10 'targets': [ |
| 11 { |
| 12 'target_name': 'boringssl', |
| 13 'type': '<(component)', |
| 14 'toolsets': ['host', 'target'], |
| 15 'includes': [ |
| 16 'boringssl.gypi', |
| 17 ], |
| 18 'sources': [ |
| 19 '<@(boringssl_crypto_sources)', |
| 20 '<@(boringssl_ssl_sources)', |
| 21 ], |
| 22 'defines': [ |
| 23 'BORINGSSL_IMPLEMENTATION', |
| 24 'BORINGSSL_NO_STATIC_INITIALIZER', |
| 25 ], |
| 26 # TODO(davidben): Fix size_t truncations in BoringSSL. |
| 27 # https://crbug.com/429039 |
| 28 'msvs_disabled_warnings': [ 4267, ], |
| 29 'conditions': [ |
| 30 ['OS == "mac"', { |
| 31 'sources': [ |
| 32 '<@(boringssl_mac_x86_sources)', |
| 33 '<@(boringssl_mac_x86_64_sources)' |
| 34 ], |
| 35 }], |
| 36 ['OS == "linux" or OS == "android"', { |
| 37 'sources': [ |
| 38 '<@(boringssl_linux_x86_64_sources)', |
| 39 '<@(boringssl_linux_x86_sources)', |
| 40 '<@(boringssl_linux_arm_sources)', |
| 41 '<@(boringssl_linux_aarch64_sources)', |
| 42 ], |
| 43 }], |
| 44 ['OS == "win"', { |
| 45 'defines': [ 'OPENSSL_NO_ASM', 'WIN32_LEAN_AND_MEAN' ], |
| 46 }], |
| 47 ], |
| 48 'include_dirs': [ |
| 49 'src/include', |
| 50 # This is for arm_arch.h, which is needed by some asm files. Since the |
| 51 # asm files are generated and kept in a different directory, they |
| 52 # cannot use relative paths to find this file. |
| 53 'src/crypto', |
| 54 ], |
| 55 'direct_dependent_settings': { |
| 56 'include_dirs': [ |
| 57 'src/include', |
| 58 ], |
| 59 }, |
| 60 }, |
| 61 ], |
| 62 } |
OLD | NEW |