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

Unified Diff: tools/gyp/v8.gyp

Issue 7348008: Merge up to 8597 to experimental/gc from the bleeding edge. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: '' Created 9 years, 5 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 | « tools/grokdump.py ('k') | tools/js2c.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp/v8.gyp
===================================================================
--- tools/gyp/v8.gyp (revision 8618)
+++ tools/gyp/v8.gyp (working copy)
@@ -30,7 +30,7 @@
'use_system_v8%': 0,
'msvs_use_common_release': 0,
'gcc_version%': 'unknown',
- 'v8_compress_startup_data%': 'false',
+ 'v8_compress_startup_data%': 'off',
'v8_target_arch%': '<(target_arch)',
# Setting 'v8_can_use_unaligned_accesses' to 'true' will allow the code
@@ -232,6 +232,7 @@
'targets': [
{
'target_name': 'v8',
+ 'toolsets': ['host', 'target'],
'conditions': [
['v8_use_snapshot=="true"', {
'dependencies': ['v8_snapshot'],
@@ -281,9 +282,16 @@
{
'target_name': 'v8_snapshot',
'type': '<(library)',
+ 'toolsets': ['host', 'target'],
'conditions': [
['component=="shared_library"', {
'conditions': [
+ # The ARM assembler assumes the host is 32 bits, so force building
+ # 32-bit host tools.
+ ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"', {
+ 'cflags': ['-m32'],
+ 'ldflags': ['-m32'],
+ }],
['OS=="win"', {
'defines': [
'BUILDING_V8_SHARED',
@@ -527,7 +535,6 @@
'../../src/inspector.h',
'../../src/interpreter-irregexp.cc',
'../../src/interpreter-irregexp.h',
- '../../src/json-parser.cc',
'../../src/json-parser.h',
'../../src/jsregexp.cc',
'../../src/jsregexp.h',
@@ -644,10 +651,13 @@
'../../src/v8.cc',
'../../src/v8.h',
'../../src/v8checks.h',
+ '../../src/v8conversions.cc',
+ '../../src/v8conversions.h',
'../../src/v8globals.h',
'../../src/v8memory.h',
'../../src/v8threads.cc',
'../../src/v8threads.h',
+ '../../src/v8utils.cc',
'../../src/v8utils.h',
'../../src/variables.cc',
'../../src/variables.h',
@@ -907,6 +917,7 @@
'../../tools/js2c.py',
'<@(_outputs)',
'CORE',
+ '<(v8_compress_startup_data)',
'<@(library_files)'
],
},
@@ -924,6 +935,7 @@
'../../tools/js2c.py',
'<@(_outputs)',
'EXPERIMENTAL',
+ '<(v8_compress_startup_data)',
'<@(experimental_library_files)'
],
},
@@ -958,6 +970,7 @@
{
'target_name': 'v8_shell',
'type': 'executable',
+ 'toolsets': ['host'],
'dependencies': [
'v8'
],
@@ -969,6 +982,12 @@
# This could be gotten by not setting chromium_code, if that's OK.
'defines': ['_CRT_SECURE_NO_WARNINGS'],
}],
+ # The ARM assembler assumes the host is 32 bits, so force building
+ # 32-bit host tools.
+ ['v8_target_arch=="arm" and host_arch=="x64" and _toolset=="host"', {
+ 'cflags': ['-m32'],
+ 'ldflags': ['-m32'],
+ }],
['v8_compress_startup_data=="bz2"', {
'libraries': [
'-lbz2',
@@ -981,6 +1000,7 @@
{
'target_name': 'v8',
'type': 'settings',
+ 'toolsets': ['host', 'target'],
'link_settings': {
'libraries': [
'-lv8',
@@ -990,6 +1010,7 @@
{
'target_name': 'v8_shell',
'type': 'none',
+ 'toolsets': ['host'],
'dependencies': [
'v8'
],
« no previous file with comments | « tools/grokdump.py ('k') | tools/js2c.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698