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

Side by Side Diff: scripts/slave/recipe_modules/chromium/config.py

Issue 1139063004: Add Clang ToT builder for iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years, 7 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 # 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 import pipes 5 import pipes
6 6
7 from slave.recipe_config import config_item_context, ConfigGroup 7 from slave.recipe_config import config_item_context, ConfigGroup
8 from slave.recipe_config import Dict, List, Single, Static, Set, BadConf 8 from slave.recipe_config import Dict, List, Single, Static, Set, BadConf
9 from slave.recipe_config_types import Path 9 from slave.recipe_config_types import Path
10 10
(...skipping 659 matching lines...) Expand 10 before | Expand all | Expand 10 after
670 c.compile_py.xcode_sdk = 'iphoneos7.1' 670 c.compile_py.xcode_sdk = 'iphoneos7.1'
671 671
672 @config_ctx(includes=['ios', 'ninja']) 672 @config_ctx(includes=['ios', 'ninja'])
673 def chromium_ios_ninja(c): 673 def chromium_ios_ninja(c):
674 c.build_config_fs += '-iphoneos' 674 c.build_config_fs += '-iphoneos'
675 c.compile_py.default_targets = ['All'] 675 c.compile_py.default_targets = ['All']
676 676
677 gyp_defs = c.gyp_env.GYP_DEFINES 677 gyp_defs = c.gyp_env.GYP_DEFINES
678 gyp_defs['clang_xcode'] = 0 678 gyp_defs['clang_xcode'] = 0
679 679
680 @config_ctx(includes=['chromium_ios_ninja'])
681 def clang_tot_ios(c):
682 # Use ToT Clang.
683 c.env.LLVM_FORCE_HEAD_REVISION = 'YES'
684
680 @config_ctx(includes=['ios']) 685 @config_ctx(includes=['ios'])
681 def chromium_ios_simulator(c): 686 def chromium_ios_simulator(c):
682 c.compile_py.build_tool = 'xcode' 687 c.compile_py.build_tool = 'xcode'
683 c.compile_py.default_targets = ['All'] 688 c.compile_py.default_targets = ['All']
684 c.compile_py.xcode_sdk = 'iphonesimulator7.1' 689 c.compile_py.xcode_sdk = 'iphonesimulator7.1'
685 690
686 @config_ctx(includes=['chromium', 'official']) 691 @config_ctx(includes=['chromium', 'official'])
687 def chromium_official(c): 692 def chromium_official(c):
688 # TODO(phajdan.jr): Unify compile targets used by official builders. 693 # TODO(phajdan.jr): Unify compile targets used by official builders.
689 if c.TARGET_PLATFORM == 'win': 694 if c.TARGET_PLATFORM == 'win':
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
801 def chromium_deterministic_build(c): 806 def chromium_deterministic_build(c):
802 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1 807 c.gyp_env.GYP_DEFINES['dont_embed_build_metadata'] = 1
803 808
804 @config_ctx() 809 @config_ctx()
805 def chromium_mac_sdk_10_10(c): 810 def chromium_mac_sdk_10_10(c):
806 c.gyp_env.GYP_DEFINES['mac_sdk_min='] = '10.10' 811 c.gyp_env.GYP_DEFINES['mac_sdk_min='] = '10.10'
807 812
808 @config_ctx(includes=['chromium_clang']) 813 @config_ctx(includes=['chromium_clang'])
809 def cast_linux(c): 814 def cast_linux(c):
810 c.gyp_env.GYP_DEFINES['chromecast'] = 1 815 c.gyp_env.GYP_DEFINES['chromecast'] = 1
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698