| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # pylint: disable=W0201 | 6 # pylint: disable=W0201 |
| 7 | 7 |
| 8 | 8 |
| 9 import json | 9 import json |
| 10 import os | 10 import os |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 'nanobench.exe', | 45 'nanobench.exe', |
| 46 '*.so', | 46 '*.so', |
| 47 '*.dll', | 47 '*.dll', |
| 48 '*.dylib', | 48 '*.dylib', |
| 49 'skia_launcher', | 49 'skia_launcher', |
| 50 'lib/*.so', | 50 'lib/*.so', |
| 51 'iOSShell.app', | 51 'iOSShell.app', |
| 52 'iOSShell.ipa', | 52 'iOSShell.ipa', |
| 53 'visualbench', | 53 'visualbench', |
| 54 'visualbench.exe', | 54 'visualbench.exe', |
| 55 'vulkan-1.dll', |
| 55 ] | 56 ] |
| 56 | 57 |
| 57 | 58 |
| 58 def is_android(builder_cfg): | 59 def is_android(builder_cfg): |
| 59 """Determine whether the given builder is an Android builder.""" | 60 """Determine whether the given builder is an Android builder.""" |
| 60 return ('Android' in builder_cfg.get('extra_config', '') or | 61 return ('Android' in builder_cfg.get('extra_config', '') or |
| 61 builder_cfg.get('os') == 'Android') | 62 builder_cfg.get('os') == 'Android') |
| 62 | 63 |
| 63 | 64 |
| 64 def is_cmake(builder_cfg): | 65 def is_cmake(builder_cfg): |
| (...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 822 # Don't bother to include role, which is always Test. | 823 # Don't bother to include role, which is always Test. |
| 823 # TryBots are uploaded elsewhere so they can use the same key. | 824 # TryBots are uploaded elsewhere so they can use the same key. |
| 824 blacklist = ['role', 'is_trybot'] | 825 blacklist = ['role', 'is_trybot'] |
| 825 | 826 |
| 826 flat = [] | 827 flat = [] |
| 827 for k in sorted(self.builder_cfg.keys()): | 828 for k in sorted(self.builder_cfg.keys()): |
| 828 if k not in blacklist: | 829 if k not in blacklist: |
| 829 flat.append(k) | 830 flat.append(k) |
| 830 flat.append(self.builder_cfg[k]) | 831 flat.append(self.builder_cfg[k]) |
| 831 return flat | 832 return flat |
| OLD | NEW |