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

Side by Side Diff: tools/gyp/v8.gyp

Issue 7607032: Fix cross-compilation for ARM (hopefully) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 4 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
« no previous file with comments | « build/v8-features.gypi ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2011 the V8 project authors. All rights reserved. 1 # Copyright 2011 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 'cflags': [ 107 'cflags': [
108 '-mfloat-abi=hard', 108 '-mfloat-abi=hard',
109 ], 109 ],
110 }, { 110 }, {
111 'defines': [ 111 'defines': [
112 'USE_EABI_HARDFLOAT=0', 112 'USE_EABI_HARDFLOAT=0',
113 ], 113 ],
114 }], 114 }],
115 # The ARM assembler assumes the host is 32 bits, 115 # The ARM assembler assumes the host is 32 bits,
116 # so force building 32-bit host tools. 116 # so force building 32-bit host tools.
117 [ 'host_arch=="x64"', { 117 [ 'host_arch=="x64" and _toolset=="host"', {
118 'cflags': ['-m32'], 118 'cflags': ['-m32'],
119 'ldflags': ['-m32'], 119 'ldflags': ['-m32'],
120 }], 120 }],
121 ], 121 ],
122 }], 122 }],
123 ['v8_target_arch=="ia32"', { 123 ['v8_target_arch=="ia32"', {
124 'defines': [ 124 'defines': [
125 'V8_TARGET_ARCH_IA32', 125 'V8_TARGET_ARCH_IA32',
126 ], 126 ],
127 }], 127 }],
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after
1059 }], 1059 }],
1060 ], 1060 ],
1061 'dependencies': [ 1061 'dependencies': [
1062 'v8' 1062 'v8'
1063 ], 1063 ],
1064 }, 1064 },
1065 ], 1065 ],
1066 }], 1066 }],
1067 ], 1067 ],
1068 } 1068 }
OLDNEW
« no previous file with comments | « build/v8-features.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698