Chromium Code Reviews| 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 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { | |
|
bkonyi
2017/01/05 23:29:04
There was already a rule for 'OS == "linux' so I a
| |
| 65 'dependencies': [ | |
| 66 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc', | |
|
zra
2017/01/06 16:13:17
I think it's not necessary to add the dependence o
bkonyi
2017/01/06 20:23:34
Done.
| |
| 67 ], | |
| 68 'defines': [ | |
| 69 'DART_USE_TCMALLOC' | |
| 70 ], | |
| 71 }], | |
| 64 ['OS=="android" and _toolset=="host"', { | 72 ['OS=="android" and _toolset=="host"', { |
| 65 'link_settings': { | 73 'link_settings': { |
| 66 'libraries': [ | 74 'libraries': [ |
| 67 '-lpthread', | 75 '-lpthread', |
| 68 '-lrt', | 76 '-lrt', |
| 69 '-ldl', | 77 '-ldl', |
| 70 ], | 78 ], |
| 71 }, | 79 }, |
| 72 }], | 80 }], |
| 73 ['OS=="win"', { | 81 ['OS=="win"', { |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 98 'conditions': [ | 106 'conditions': [ |
| 99 ['OS=="linux"', { | 107 ['OS=="linux"', { |
| 100 'link_settings': { | 108 'link_settings': { |
| 101 'libraries': [ | 109 'libraries': [ |
| 102 '-lpthread', | 110 '-lpthread', |
| 103 '-lrt', | 111 '-lrt', |
| 104 '-ldl', | 112 '-ldl', |
| 105 ], | 113 ], |
| 106 }, | 114 }, |
| 107 }], | 115 }], |
| 116 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { | |
| 117 'dependencies': [ | |
|
zra
2017/01/06 16:13:17
ditto
bkonyi
2017/01/06 20:23:34
Done.
| |
| 118 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc', | |
| 119 ], | |
| 120 'defines': [ | |
| 121 'DART_USE_TCMALLOC' | |
| 122 ], | |
| 123 }], | |
| 108 ['OS=="android" and _toolset=="host"', { | 124 ['OS=="android" and _toolset=="host"', { |
| 109 'link_settings': { | 125 'link_settings': { |
| 110 'libraries': [ | 126 'libraries': [ |
| 111 '-lpthread', | 127 '-lpthread', |
| 112 '-lrt', | 128 '-lrt', |
| 113 '-ldl', | 129 '-ldl', |
| 114 ], | 130 ], |
| 115 }, | 131 }, |
| 116 }], | 132 }], |
| 117 ['OS=="win"', { | 133 ['OS=="win"', { |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 142 'conditions': [ | 158 'conditions': [ |
| 143 ['OS=="linux"', { | 159 ['OS=="linux"', { |
| 144 'link_settings': { | 160 'link_settings': { |
| 145 'libraries': [ | 161 'libraries': [ |
| 146 '-lpthread', | 162 '-lpthread', |
| 147 '-lrt', | 163 '-lrt', |
| 148 '-ldl', | 164 '-ldl', |
| 149 ], | 165 ], |
| 150 }, | 166 }, |
| 151 }], | 167 }], |
| 168 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { | |
| 169 'dependencies': [ | |
|
zra
2017/01/06 16:13:17
ditto
bkonyi
2017/01/06 20:23:34
Done.
| |
| 170 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc', | |
| 171 ], | |
| 172 'defines': [ | |
| 173 'DART_USE_TCMALLOC' | |
| 174 ], | |
| 175 }], | |
| 152 ['OS=="android" and _toolset=="host"', { | 176 ['OS=="android" and _toolset=="host"', { |
| 153 'link_settings': { | 177 'link_settings': { |
| 154 'libraries': [ | 178 'libraries': [ |
| 155 '-lpthread', | 179 '-lpthread', |
| 156 '-lrt', | 180 '-lrt', |
| 157 '-ldl', | 181 '-ldl', |
| 158 ], | 182 ], |
| 159 }, | 183 }, |
| 160 }], | 184 }], |
| 161 ['OS=="win"', { | 185 ['OS=="win"', { |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 187 'conditions': [ | 211 'conditions': [ |
| 188 ['OS=="linux"', { | 212 ['OS=="linux"', { |
| 189 'link_settings': { | 213 'link_settings': { |
| 190 'libraries': [ | 214 'libraries': [ |
| 191 '-lpthread', | 215 '-lpthread', |
| 192 '-lrt', | 216 '-lrt', |
| 193 '-ldl', | 217 '-ldl', |
| 194 ], | 218 ], |
| 195 }, | 219 }, |
| 196 }], | 220 }], |
| 221 ['OS == "linux" and asan == 0 and msan == 0 and tsan == 0', { | |
| 222 'dependencies': [ | |
|
zra
2017/01/06 16:13:17
ditto
bkonyi
2017/01/06 20:23:34
Done.
| |
| 223 '../third_party/tcmalloc/tcmalloc.gypi:tcmalloc', | |
| 224 ], | |
| 225 'defines': [ | |
| 226 'DART_USE_TCMALLOC' | |
| 227 ], | |
| 228 }], | |
| 197 ['OS=="android" and _toolset=="host"', { | 229 ['OS=="android" and _toolset=="host"', { |
| 198 'link_settings': { | 230 'link_settings': { |
| 199 'libraries': [ | 231 'libraries': [ |
| 200 '-lpthread', | 232 '-lpthread', |
| 201 '-lrt', | 233 '-lrt', |
| 202 '-ldl', | 234 '-ldl', |
| 203 ], | 235 ], |
| 204 }, | 236 }, |
| 205 }], | 237 }], |
| 206 ['OS=="win"', { | 238 ['OS=="win"', { |
| (...skipping 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1753 '--output', | 1785 '--output', |
| 1754 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | 1786 '<(gen_source_dir)/patches/<(library_name)_patch.dart', |
| 1755 '<@(_sources)', | 1787 '<@(_sources)', |
| 1756 ], | 1788 ], |
| 1757 'message': 'Generating <(library_uri) patch.', | 1789 'message': 'Generating <(library_uri) patch.', |
| 1758 }, | 1790 }, |
| 1759 ], | 1791 ], |
| 1760 }, | 1792 }, |
| 1761 ] | 1793 ] |
| 1762 } | 1794 } |
| OLD | NEW |