Index: src/v8.gyp |
diff --git a/src/v8.gyp b/src/v8.gyp |
index 283e41762030acf32a5b911385e37464e1b735ff..144f48285302d3f5a918488b96c5ad8343f70bef 100644 |
--- a/src/v8.gyp |
+++ b/src/v8.gyp |
@@ -171,6 +171,7 @@ |
], |
'sources': [ |
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
+ '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
'<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', |
'<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', |
'<(INTERMEDIATE_DIR)/snapshot.cc', |
@@ -229,6 +230,7 @@ |
], |
'sources': [ |
'<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
+ '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
'<(SHARED_INTERMEDIATE_DIR)/extras-libraries.cc', |
'<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries.cc', |
'snapshot/snapshot-empty.cc', |
@@ -2204,6 +2206,7 @@ |
'inputs': [ |
'../tools/concatenate-files.py', |
'<(SHARED_INTERMEDIATE_DIR)/libraries.bin', |
+ '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin', |
'<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin', |
'<(SHARED_INTERMEDIATE_DIR)/libraries-experimental-extras.bin', |
], |
@@ -2278,7 +2281,13 @@ |
'debug/debug.js', |
'debug/liveedit.js', |
], |
+ 'experimental_library_files': [ |
+ 'js/macros.py', |
+ 'messages.h', |
+ 'js/harmony-atomics.js', |
+ ], |
'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries.bin', |
+ 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental.bin', |
'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extras.bin', |
'libraries_experimental_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental-extras.bin', |
'conditions': [ |
@@ -2321,6 +2330,38 @@ |
], |
}, |
{ |
+ 'action_name': 'js2c_experimental', |
+ 'inputs': [ |
+ '../tools/js2c.py', |
+ '<@(experimental_library_files)', |
+ ], |
+ 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc'], |
+ 'action': [ |
+ 'python', |
+ '../tools/js2c.py', |
+ '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
+ 'EXPERIMENTAL', |
+ '<@(experimental_library_files)', |
+ ], |
+ }, |
+ { |
+ 'action_name': 'js2c_experimental_bin', |
+ 'inputs': [ |
+ '../tools/js2c.py', |
+ '<@(experimental_library_files)', |
+ ], |
+ 'outputs': ['<@(libraries_experimental_bin_file)'], |
+ 'action': [ |
+ 'python', |
+ '../tools/js2c.py', |
+ '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
+ 'EXPERIMENTAL', |
+ '<@(experimental_library_files)', |
+ '--startup_blob', '<@(libraries_experimental_bin_file)', |
+ '--nojs', |
+ ], |
+ }, |
+ { |
'action_name': 'js2c_extras', |
'inputs': [ |
'../tools/js2c.py', |