OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'includes': [ | 6 'includes': [ |
7 '../../runtime/tools/gyp/runtime-configurations.gypi', | 7 '../../runtime/tools/gyp/runtime-configurations.gypi', |
8 'boringssl_configurations.gypi', | 8 'boringssl_configurations.gypi', |
9 ], | 9 ], |
10 'targets': [ | 10 'targets': [ |
(...skipping 23 matching lines...) Expand all Loading... |
34 '<@(boringssl_mac_x86_64_sources)' | 34 '<@(boringssl_mac_x86_64_sources)' |
35 ], | 35 ], |
36 }], | 36 }], |
37 ['OS == "linux" or OS == "android"', { | 37 ['OS == "linux" or OS == "android"', { |
38 'sources': [ | 38 'sources': [ |
39 '<@(boringssl_linux_x86_64_sources)', | 39 '<@(boringssl_linux_x86_64_sources)', |
40 '<@(boringssl_linux_x86_sources)', | 40 '<@(boringssl_linux_x86_sources)', |
41 '<@(boringssl_linux_arm_sources)', | 41 '<@(boringssl_linux_arm_sources)', |
42 '<@(boringssl_linux_aarch64_sources)', | 42 '<@(boringssl_linux_aarch64_sources)', |
43 ], | 43 ], |
| 44 'defines': [ |
| 45 '_BSD_SOURCE', |
| 46 '_XOPEN_SOURCE=700', |
| 47 ], |
44 }], | 48 }], |
45 ['OS == "win"', { | 49 ['OS == "win"', { |
46 'defines': [ 'OPENSSL_NO_ASM', 'WIN32_LEAN_AND_MEAN' ], | 50 'defines': [ 'OPENSSL_NO_ASM', 'WIN32_LEAN_AND_MEAN' ], |
47 }], | 51 }], |
48 ], | 52 ], |
49 'include_dirs': [ | 53 'include_dirs': [ |
50 'src/include', | 54 'src/include', |
51 ], | 55 ], |
52 'direct_dependent_settings': { | 56 'direct_dependent_settings': { |
53 'include_dirs': [ | 57 'include_dirs': [ |
54 'src/include', | 58 'src/include', |
55 ], | 59 ], |
56 }, | 60 }, |
57 }, | 61 }, |
58 ], | 62 ], |
59 } | 63 } |
OLD | NEW |