| Index: src/v8.gyp
|
| diff --git a/src/v8.gyp b/src/v8.gyp
|
| index 9f1a2542185e928c3ec13b789ecafd9d9644e176..402ca72b2dba89cd6bf907c7baf3483291f6a98d 100644
|
| --- a/src/v8.gyp
|
| +++ b/src/v8.gyp
|
| @@ -192,8 +192,18 @@
|
| 'action_name': 'run_mksnapshot',
|
| 'inputs': [
|
| '<(mksnapshot_exec)',
|
| - '<(embed_script)',
|
| - '<(warmup_script)',
|
| + ],
|
| + 'conditions': [
|
| + ['embed_script!=""', {
|
| + 'inputs': [
|
| + '<(embed_script)',
|
| + ],
|
| + }],
|
| + ['warmup_script!=""', {
|
| + 'inputs': [
|
| + '<(warmup_script)',
|
| + ],
|
| + }],
|
| ],
|
| 'outputs': [
|
| '<(INTERMEDIATE_DIR)/snapshot.cc',
|
| @@ -299,8 +309,6 @@
|
| 'action_name': 'run_mksnapshot (external)',
|
| 'inputs': [
|
| '<(mksnapshot_exec)',
|
| - '<(embed_script)',
|
| - '<(warmup_script)',
|
| ],
|
| 'variables': {
|
| 'mksnapshot_flags': [],
|
| @@ -314,6 +322,16 @@
|
| ],
|
| },
|
| 'conditions': [
|
| + ['embed_script!=""', {
|
| + 'inputs': [
|
| + '<(embed_script)',
|
| + ],
|
| + }],
|
| + ['warmup_script!=""', {
|
| + 'inputs': [
|
| + '<(warmup_script)',
|
| + ],
|
| + }],
|
| ['want_separate_host_toolset==1', {
|
| 'target_conditions': [
|
| ['_toolset=="host"', {
|
|
|