Changeset 88132 in webkit
- Timestamp:
- Jun 4, 2011 10:28:39 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r88131 r88132 1 2011-06-04 Kevin Ollivier <kevino@theolliviers.com> 2 3 [wx] Unreviewed build fix. Update git branch build dir handling to match what other 4 WebKit scripts expect, so other scripts work properly with wx. 5 6 * waf/build/build_utils.py: 7 * waf/build/settings.py: 8 1 9 2011-06-04 Kevin Ollivier <kevino@theolliviers.com> 2 10 -
trunk/Tools/waf/build/build_utils.py
r84994 r88132 169 169 match = re.search('^\* (.*)', branches, re.MULTILINE) 170 170 if match: 171 return " .%s" % match.group(1)171 return "%s" % match.group(1) 172 172 except: 173 173 pass … … 175 175 return "" 176 176 177 def get_base_product_dir(wk_root): 178 build_dir = os.path.join(wk_root, 'WebKitBuild') 179 git_branch = git_branch_name() 180 if git_branch != "": 181 build_dir = os.path.join(build_dir, git_branch) 182 183 return build_dir 177 184 178 185 def get_config(wk_root): 179 config_file = os.path.join( wk_root, 'WebKitBuild', 'Configuration')186 config_file = os.path.join(get_base_product_dir(wk_root), 'Configuration') 180 187 config = 'Debug' 181 188 … … 187 194 188 195 def get_arch(wk_root): 189 arch_file = os.path.join( wk_root, 'WebKitBuild', 'Architecture')196 arch_file = os.path.join(get_base_product_dir(wk_root), 'Architecture') 190 197 arch = 'x86_64' 191 198 -
trunk/Tools/waf/build/settings.py
r88131 r88132 161 161 config = get_config(wk_root) 162 162 arch = get_arch(wk_root) 163 config_dir = config + git_branch_name() 163 config_dir = config 164 git_branch = git_branch_name() 165 if git_branch != "": 166 config_dir = os.path.join(git_branch, config_dir) 164 167 165 168 output_dir = os.path.join(wk_root, 'WebKitBuild', config_dir) … … 224 227 opt.add_option('--mac_universal_binary', action='store_true', default=False, help='Build Mac as universal (i386, x86_64, ppc) binary.') 225 228 opt.add_option('--mac_archs', action='store', default='', help='Comma separated list of architectures (i386, x86_64, ppc) to build on Mac.') 226 227 229 228 230 def common_configure(conf):
Note: See TracChangeset
for help on using the changeset viewer.