OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 import functools | 6 import functools |
7 import logging | 7 import logging |
8 import os | 8 import os |
9 import shlex | 9 import shlex |
10 import sys | 10 import sys |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 return 'ninja' | 98 return 'ninja' |
99 else: | 99 else: |
100 return generator | 100 return generator |
101 else: | 101 else: |
102 if platform() == 'android': | 102 if platform() == 'android': |
103 # Good enough for now? Do any android bots use make? | 103 # Good enough for now? Do any android bots use make? |
104 return 'ninja' | 104 return 'ninja' |
105 elif platform() == 'ios': | 105 elif platform() == 'ios': |
106 return 'xcode' | 106 return 'xcode' |
107 elif IsWindows(): | 107 elif IsWindows(): |
108 return 'msvs' | 108 return 'ninja' |
109 elif IsLinux(): | 109 elif IsLinux(): |
110 return 'ninja' | 110 return 'ninja' |
111 elif IsMac(): | 111 elif IsMac(): |
112 return 'ninja' | 112 return 'ninja' |
113 else: | 113 else: |
114 assert False, 'Don\'t know what builder we\'re using!' | 114 assert False, 'Don\'t know what builder we\'re using!' |
OLD | NEW |