Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(349)

Side by Side Diff: build/mac/should_use_hermetic_xcode.py

Issue 2431523002: Use the hermetic toolchain if FORCE_MAC_TOOLCHAIN is set. (Closed)
Patch Set: Add file. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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)
OLDNEW
« no previous file with comments | « .gn ('k') | build/toolchain/toolchain.gni » ('j') | build/toolchain/toolchain.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698