OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright 2016 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 The Chromium Authors. All rights reserved. |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
| 6 """Prints "1" if Chrome targets should be built with hermetic xcode. Otherwise |
| 7 prints "0".""" |
| 8 |
6 import os | 9 import os |
7 import sys | 10 import sys |
8 | 11 |
9 import media_router_config | |
10 | 12 |
11 sys.path.insert(1, media_router_config.TELEMETRY_DIR) | 13 def main(): |
| 14 if os.environ.get('FORCE_MAC_TOOLCHAIN'): |
| 15 return "1" |
| 16 else: |
| 17 return "0" |
12 | 18 |
13 from telemetry import benchmark_runner | |
14 | 19 |
15 if __name__ == '__main__': | 20 if __name__ == '__main__': |
16 sys.exit(benchmark_runner.main(media_router_config.Config( | 21 print main() |
17 ['benchmarks']))) | 22 sys.exit(0) |
OLD | NEW |