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

Side by Side Diff: build/gyp_v8

Issue 10268010: Clean up Makefile, enable MIPS cross-compilation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: better mips compiler detection Created 8 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 | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # 2 #
3 # Copyright 2012 the V8 project authors. All rights reserved. 3 # Copyright 2012 the V8 project authors. All rights reserved.
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions are 5 # modification, are permitted provided that the following conditions are
6 # met: 6 # met:
7 # 7 #
8 # * Redistributions of source code must retain the above copyright 8 # * Redistributions of source code must retain the above copyright
9 # notice, this list of conditions and the following disclaimer. 9 # notice, this list of conditions and the following disclaimer.
10 # * Redistributions in binary form must reproduce the above 10 # * Redistributions in binary form must reproduce the above
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 target_arch = p 162 target_arch = p
163 if target_arch is None: 163 if target_arch is None:
164 gyp_args.append('-Dtarget_arch=ia32') 164 gyp_args.append('-Dtarget_arch=ia32')
165 if utils.GuessOS() == 'linux': 165 if utils.GuessOS() == 'linux':
166 gyp_args.append('-S-ia32') 166 gyp_args.append('-S-ia32')
167 run_gyp(gyp_args) 167 run_gyp(gyp_args)
168 168
169 if utils.GuessOS() == 'linux': 169 if utils.GuessOS() == 'linux':
170 gyp_args = list(args) 170 gyp_args = list(args)
171 gyp_args.append('-Dtarget_arch=x64') 171 gyp_args.append('-Dtarget_arch=x64')
172 gyp_args.append('-S-x64') 172 gyp_args.append('-S-x64')
Sven Panne 2012/05/03 07:46:41 -x64 => .x64, same below
Jakob Kummerow 2012/05/03 08:11:02 Done.
173 run_gyp(gyp_args) 173 run_gyp(gyp_args)
174 174
175 gyp_args = list(args) 175 gyp_args = list(args)
176 gyp_args.append('-I' + v8_root + '/build/armu.gypi') 176 gyp_args.append('-Dv8_target_arch=arm')
177 gyp_args.append('-S-armu') 177 gyp_args.append('-S-armu')
178 run_gyp(gyp_args) 178 run_gyp(gyp_args)
179 179
180 gyp_args = list(args) 180 gyp_args = list(args)
181 gyp_args.append('-I' + v8_root + '/build/mipsu.gypi') 181 gyp_args.append('-Dv8_target_arch=mips')
182 gyp_args.append('-S-mipsu') 182 gyp_args.append('-S-mipsu')
183 run_gyp(gyp_args) 183 run_gyp(gyp_args)
OLDNEW
« build/common.gypi ('K') | « build/common.gypi ('k') | build/mipsu.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698