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

Unified Diff: tools/build.py

Issue 12726011: Enables cross-compilation of the VM for ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/vm.gypi ('k') | tools/gyp/configurations_make.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/build.py
===================================================================
--- tools/build.py (revision 20732)
+++ tools/build.py (working copy)
@@ -14,7 +14,7 @@
HOST_OS = utils.GuessOS()
HOST_CPUS = utils.GuessCpus()
-armcompilerlocation = '/opt/codesourcery/arm-2009q1'
+armcompilerlocation = '/usr/local/google/home/zra/armcc'
SCRIPT_DIR = os.path.dirname(sys.argv[0])
DART_ROOT = os.path.realpath(os.path.join(SCRIPT_DIR, '..'))
THIRD_PARTY_ROOT = os.path.join(DART_ROOT, 'third_party')
@@ -109,11 +109,11 @@
toolchainprefix = armcompilerlocation + "/bin/arm-none-linux-gnueabi"
ricow1 2013/04/09 09:23:06 I suggest changing armcompilerlocation to DEFAULT
zra 2013/04/10 19:04:49 Done. I also updated the "Preparing Your Machine"
ricow1 2013/04/15 11:39:44 Alternatively, and even better, could we show an e
zra 2013/04/15 17:52:58 Done.
if toolchainprefix:
toolsOverride = {
- "CC" : toolchainprefix + "-gcc",
- "CXX" : toolchainprefix + "-g++",
- "AR" : toolchainprefix + "-ar",
- "LINK": toolchainprefix + "-g++",
- "NM" : toolchainprefix + "-nm",
+ "CC.target" : toolchainprefix + "-gcc",
+ "CXX.target" : toolchainprefix + "-g++",
+ "AR.target" : toolchainprefix + "-ar",
+ "LINK.target": toolchainprefix + "-g++",
+ "NM.target" : toolchainprefix + "-nm",
}
return toolsOverride
« no previous file with comments | « runtime/vm/vm.gypi ('k') | tools/gyp/configurations_make.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698