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

Unified Diff: tools/gyp/v8.gyp

Issue 100160: Fix .gyp file and avoid adding -m32 on 32 bit systems. (Closed)
Patch Set: Created 11 years, 8 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
Index: tools/gyp/v8.gyp
diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
index aa45e0b3912d7ed3f723368165554908628843a6..6d7c805fe8349e083da9fa8dea128bdaa1c68f52 100644
--- a/tools/gyp/v8.gyp
+++ b/tools/gyp/v8.gyp
@@ -400,6 +400,9 @@
{
'target_name': 'v8_base',
'type': '<(library)',
+ 'defines': [
+ 'V8_ARCH_IA32'
+ ],
'include_dirs+': [
'../../src',
'../../src/ia32',
@@ -455,6 +458,9 @@
{
'target_name': 'v8_nosnapshot',
'type': '<(library)',
+ 'defines': [
+ 'V8_ARCH_IA32'
+ ],
'dependencies': [
'js2c',
'v8_base',
@@ -484,6 +490,9 @@
{
'target_name': 'v8',
'type': '<(library)',
+ 'defines': [
+ 'V8_ARCH_IA32'
+ ],
'dependencies': [
'js2c',
'mksnapshot',
@@ -521,6 +530,9 @@
{
'target_name': 'v8_shell',
'type': 'executable',
+ 'defines': [
+ 'V8_ARCH_IA32'
+ ],
'dependencies': [
'v8',
],
@@ -548,6 +560,9 @@
'd8_js2c',
'v8',
],
+ 'defines': [
+ 'V8_ARCH_IA32'
+ ],
'include_dirs': [
'../../src',
],
@@ -585,7 +600,7 @@
'js2c',
],
'defines': [
- 'ARM',
+ 'V8_ARCH_ARM',
],
'include_dirs+': [
'../../src',
@@ -643,7 +658,7 @@
'v8_arm',
],
'defines': [
- 'ARM',
+ 'V8_ARCH_ARM',
],
'sources': [
'../../samples/shell.cc',
@@ -663,7 +678,7 @@
'v8_arm',
],
'defines': [
- 'ARM',
+ 'V8_ARCH_ARM',
],
'include_dirs': [
'../../src',
« SConstruct ('K') | « SConstruct ('k') | tools/visual_studio/ia32.vsprops » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698