OLD | NEW |
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
8 'libgen_in_cc_file': '../lib/libgen_in.cc', | 8 'libgen_in_cc_file': '../lib/libgen_in.cc', |
9 'builtin_in_cc_file': '../bin/builtin_in.cc', | 9 'builtin_in_cc_file': '../bin/builtin_in.cc', |
10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', | 10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 'conditions': [ | 54 'conditions': [ |
55 ['OS=="linux"', { | 55 ['OS=="linux"', { |
56 'link_settings': { | 56 'link_settings': { |
57 'libraries': [ | 57 'libraries': [ |
58 '-lpthread', | 58 '-lpthread', |
59 '-lrt', | 59 '-lrt', |
60 '-ldl', | 60 '-ldl', |
61 ], | 61 ], |
62 }, | 62 }, |
63 }], | 63 }], |
| 64 # The following condition should be kept in sync with the corresponding |
| 65 # configurations in runtime/bin/bin.gypi. |
| 66 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { |
| 67 'defines': [ |
| 68 'DART_USE_TCMALLOC' |
| 69 ], |
| 70 }], |
64 ['OS=="android" and _toolset=="host"', { | 71 ['OS=="android" and _toolset=="host"', { |
65 'link_settings': { | 72 'link_settings': { |
66 'libraries': [ | 73 'libraries': [ |
67 '-lpthread', | 74 '-lpthread', |
68 '-lrt', | 75 '-lrt', |
69 '-ldl', | 76 '-ldl', |
70 ], | 77 ], |
71 }, | 78 }, |
72 }], | 79 }], |
73 ['OS=="win"', { | 80 ['OS=="win"', { |
(...skipping 24 matching lines...) Expand all Loading... |
98 'conditions': [ | 105 'conditions': [ |
99 ['OS=="linux"', { | 106 ['OS=="linux"', { |
100 'link_settings': { | 107 'link_settings': { |
101 'libraries': [ | 108 'libraries': [ |
102 '-lpthread', | 109 '-lpthread', |
103 '-lrt', | 110 '-lrt', |
104 '-ldl', | 111 '-ldl', |
105 ], | 112 ], |
106 }, | 113 }, |
107 }], | 114 }], |
| 115 # The following condition should be kept in sync with the corresponding |
| 116 # configurations in runtime/bin/bin.gypi. |
| 117 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { |
| 118 'defines': [ |
| 119 'DART_USE_TCMALLOC' |
| 120 ], |
| 121 }], |
108 ['OS=="android" and _toolset=="host"', { | 122 ['OS=="android" and _toolset=="host"', { |
109 'link_settings': { | 123 'link_settings': { |
110 'libraries': [ | 124 'libraries': [ |
111 '-lpthread', | 125 '-lpthread', |
112 '-lrt', | 126 '-lrt', |
113 '-ldl', | 127 '-ldl', |
114 ], | 128 ], |
115 }, | 129 }, |
116 }], | 130 }], |
117 ['OS=="win"', { | 131 ['OS=="win"', { |
(...skipping 24 matching lines...) Expand all Loading... |
142 'conditions': [ | 156 'conditions': [ |
143 ['OS=="linux"', { | 157 ['OS=="linux"', { |
144 'link_settings': { | 158 'link_settings': { |
145 'libraries': [ | 159 'libraries': [ |
146 '-lpthread', | 160 '-lpthread', |
147 '-lrt', | 161 '-lrt', |
148 '-ldl', | 162 '-ldl', |
149 ], | 163 ], |
150 }, | 164 }, |
151 }], | 165 }], |
| 166 # The following condition should be kept in sync with the corresponding |
| 167 # configurations in runtime/bin/bin.gypi. |
| 168 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { |
| 169 'defines': [ |
| 170 'DART_USE_TCMALLOC' |
| 171 ], |
| 172 }], |
152 ['OS=="android" and _toolset=="host"', { | 173 ['OS=="android" and _toolset=="host"', { |
153 'link_settings': { | 174 'link_settings': { |
154 'libraries': [ | 175 'libraries': [ |
155 '-lpthread', | 176 '-lpthread', |
156 '-lrt', | 177 '-lrt', |
157 '-ldl', | 178 '-ldl', |
158 ], | 179 ], |
159 }, | 180 }, |
160 }], | 181 }], |
161 ['OS=="win"', { | 182 ['OS=="win"', { |
(...skipping 25 matching lines...) Expand all Loading... |
187 'conditions': [ | 208 'conditions': [ |
188 ['OS=="linux"', { | 209 ['OS=="linux"', { |
189 'link_settings': { | 210 'link_settings': { |
190 'libraries': [ | 211 'libraries': [ |
191 '-lpthread', | 212 '-lpthread', |
192 '-lrt', | 213 '-lrt', |
193 '-ldl', | 214 '-ldl', |
194 ], | 215 ], |
195 }, | 216 }, |
196 }], | 217 }], |
| 218 # The following condition should be kept in sync with the corresponding |
| 219 # configurations in runtime/bin/bin.gypi. |
| 220 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { |
| 221 'defines': [ |
| 222 'DART_USE_TCMALLOC' |
| 223 ], |
| 224 }], |
197 ['OS=="android" and _toolset=="host"', { | 225 ['OS=="android" and _toolset=="host"', { |
198 'link_settings': { | 226 'link_settings': { |
199 'libraries': [ | 227 'libraries': [ |
200 '-lpthread', | 228 '-lpthread', |
201 '-lrt', | 229 '-lrt', |
202 '-ldl', | 230 '-ldl', |
203 ], | 231 ], |
204 }, | 232 }, |
205 }], | 233 }], |
206 ['OS=="win"', { | 234 ['OS=="win"', { |
(...skipping 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1753 '--output', | 1781 '--output', |
1754 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | 1782 '<(gen_source_dir)/patches/<(library_name)_patch.dart', |
1755 '<@(_sources)', | 1783 '<@(_sources)', |
1756 ], | 1784 ], |
1757 'message': 'Generating <(library_uri) patch.', | 1785 'message': 'Generating <(library_uri) patch.', |
1758 }, | 1786 }, |
1759 ], | 1787 ], |
1760 }, | 1788 }, |
1761 ] | 1789 ] |
1762 } | 1790 } |
OLD | NEW |