OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'conditions': [ | 6 'conditions': [ |
7 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { | 7 [ 'os_posix == 1 and OS != "mac"', { |
8 'conditions': [ | 8 'conditions': [ |
9 ['sysroot!=""', { | 9 ['sysroot!=""', { |
10 'variables': { | 10 'variables': { |
11 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)"'
, | 11 'pkg-config': '../../../build/linux/pkg-config-wrapper "<(sysroot)"'
, |
12 }, | 12 }, |
13 }, { | 13 }, { |
14 'variables': { | 14 'variables': { |
15 'pkg-config': 'pkg-config' | 15 'pkg-config': 'pkg-config' |
16 }, | 16 }, |
17 }], | 17 }], |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 'ssl/unix_err.h', | 98 'ssl/unix_err.h', |
99 ], | 99 ], |
100 }, | 100 }, |
101 { # else: OS != "win" | 101 { # else: OS != "win" |
102 'sources!': [ | 102 'sources!': [ |
103 'ssl/win32err.c', | 103 'ssl/win32err.c', |
104 'ssl/win32err.h', | 104 'ssl/win32err.h', |
105 ], | 105 ], |
106 }, | 106 }, |
107 ], | 107 ], |
108 [ 'OS == "linux" or OS == "freebsd" or OS == "openbsd"', { | 108 [ 'os_posix == 1 and OS != "mac"', { |
109 'defines': [ | 109 'defines': [ |
110 # These macros are needed only for compiling the files in | 110 # These macros are needed only for compiling the files in |
111 # ssl/bodge. | 111 # ssl/bodge. |
112 'SHLIB_PREFIX="lib"', | 112 'SHLIB_PREFIX="lib"', |
113 'SHLIB_SUFFIX="so"', | 113 'SHLIB_SUFFIX="so"', |
114 'SHLIB_VERSION="3"', | 114 'SHLIB_VERSION="3"', |
115 'SOFTOKEN_SHLIB_VERSION="3"', | 115 'SOFTOKEN_SHLIB_VERSION="3"', |
116 ], | 116 ], |
117 'include_dirs': [ | 117 'include_dirs': [ |
118 'ssl/bodge', | 118 'ssl/bodge', |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 }, | 157 }, |
158 }, | 158 }, |
159 ], | 159 ], |
160 } | 160 } |
161 | 161 |
162 # Local Variables: | 162 # Local Variables: |
163 # tab-width:2 | 163 # tab-width:2 |
164 # indent-tabs-mode:nil | 164 # indent-tabs-mode:nil |
165 # End: | 165 # End: |
166 # vim: set expandtab tabstop=2 shiftwidth=2: | 166 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |