| 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 }], | |
| 71 ['OS=="android" and _toolset=="host"', { | 64 ['OS=="android" and _toolset=="host"', { |
| 72 'link_settings': { | 65 'link_settings': { |
| 73 'libraries': [ | 66 'libraries': [ |
| 74 '-lpthread', | 67 '-lpthread', |
| 75 '-lrt', | 68 '-lrt', |
| 76 '-ldl', | 69 '-ldl', |
| 77 ], | 70 ], |
| 78 }, | 71 }, |
| 79 }], | 72 }], |
| 80 ['OS=="win"', { | 73 ['OS=="win"', { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 105 'conditions': [ | 98 'conditions': [ |
| 106 ['OS=="linux"', { | 99 ['OS=="linux"', { |
| 107 'link_settings': { | 100 'link_settings': { |
| 108 'libraries': [ | 101 'libraries': [ |
| 109 '-lpthread', | 102 '-lpthread', |
| 110 '-lrt', | 103 '-lrt', |
| 111 '-ldl', | 104 '-ldl', |
| 112 ], | 105 ], |
| 113 }, | 106 }, |
| 114 }], | 107 }], |
| 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 }], | |
| 122 ['OS=="android" and _toolset=="host"', { | 108 ['OS=="android" and _toolset=="host"', { |
| 123 'link_settings': { | 109 'link_settings': { |
| 124 'libraries': [ | 110 'libraries': [ |
| 125 '-lpthread', | 111 '-lpthread', |
| 126 '-lrt', | 112 '-lrt', |
| 127 '-ldl', | 113 '-ldl', |
| 128 ], | 114 ], |
| 129 }, | 115 }, |
| 130 }], | 116 }], |
| 131 ['OS=="win"', { | 117 ['OS=="win"', { |
| (...skipping 24 matching lines...) Expand all Loading... |
| 156 'conditions': [ | 142 'conditions': [ |
| 157 ['OS=="linux"', { | 143 ['OS=="linux"', { |
| 158 'link_settings': { | 144 'link_settings': { |
| 159 'libraries': [ | 145 'libraries': [ |
| 160 '-lpthread', | 146 '-lpthread', |
| 161 '-lrt', | 147 '-lrt', |
| 162 '-ldl', | 148 '-ldl', |
| 163 ], | 149 ], |
| 164 }, | 150 }, |
| 165 }], | 151 }], |
| 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 }], | |
| 173 ['OS=="android" and _toolset=="host"', { | 152 ['OS=="android" and _toolset=="host"', { |
| 174 'link_settings': { | 153 'link_settings': { |
| 175 'libraries': [ | 154 'libraries': [ |
| 176 '-lpthread', | 155 '-lpthread', |
| 177 '-lrt', | 156 '-lrt', |
| 178 '-ldl', | 157 '-ldl', |
| 179 ], | 158 ], |
| 180 }, | 159 }, |
| 181 }], | 160 }], |
| 182 ['OS=="win"', { | 161 ['OS=="win"', { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 208 'conditions': [ | 187 'conditions': [ |
| 209 ['OS=="linux"', { | 188 ['OS=="linux"', { |
| 210 'link_settings': { | 189 'link_settings': { |
| 211 'libraries': [ | 190 'libraries': [ |
| 212 '-lpthread', | 191 '-lpthread', |
| 213 '-lrt', | 192 '-lrt', |
| 214 '-ldl', | 193 '-ldl', |
| 215 ], | 194 ], |
| 216 }, | 195 }, |
| 217 }], | 196 }], |
| 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 }], | |
| 225 ['OS=="android" and _toolset=="host"', { | 197 ['OS=="android" and _toolset=="host"', { |
| 226 'link_settings': { | 198 'link_settings': { |
| 227 'libraries': [ | 199 'libraries': [ |
| 228 '-lpthread', | 200 '-lpthread', |
| 229 '-lrt', | 201 '-lrt', |
| 230 '-ldl', | 202 '-ldl', |
| 231 ], | 203 ], |
| 232 }, | 204 }, |
| 233 }], | 205 }], |
| 234 ['OS=="win"', { | 206 ['OS=="win"', { |
| (...skipping 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1781 '--output', | 1753 '--output', |
| 1782 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | 1754 '<(gen_source_dir)/patches/<(library_name)_patch.dart', |
| 1783 '<@(_sources)', | 1755 '<@(_sources)', |
| 1784 ], | 1756 ], |
| 1785 'message': 'Generating <(library_uri) patch.', | 1757 'message': 'Generating <(library_uri) patch.', |
| 1786 }, | 1758 }, |
| 1787 ], | 1759 ], |
| 1788 }, | 1760 }, |
| 1789 ] | 1761 ] |
| 1790 } | 1762 } |
| OLD | NEW |