| Index: tools/gyp/v8.gyp
|
| diff --git a/tools/gyp/v8.gyp b/tools/gyp/v8.gyp
|
| index 967497bfb5782b83ce314f84f49305adb2769330..097847ee39c5c4320e677a319b67de68ff976f56 100644
|
| --- a/tools/gyp/v8.gyp
|
| +++ b/tools/gyp/v8.gyp
|
| @@ -121,12 +121,14 @@
|
| 'dependencies': [
|
| 'mksnapshot#host',
|
| 'js2c#host',
|
| + 'generate_trig_table#host',
|
| ],
|
| }, {
|
| 'toolsets': ['target'],
|
| 'dependencies': [
|
| 'mksnapshot',
|
| 'js2c',
|
| + 'generate_trig_table',
|
| ],
|
| }],
|
| ['component=="shared_library"', {
|
| @@ -151,6 +153,7 @@
|
| 'sources': [
|
| '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
| '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
| + '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc',
|
| '<(INTERMEDIATE_DIR)/snapshot.cc',
|
| '../../src/snapshot-common.cc',
|
| ],
|
| @@ -194,16 +197,17 @@
|
| 'sources': [
|
| '<(SHARED_INTERMEDIATE_DIR)/libraries.cc',
|
| '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc',
|
| + '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc',
|
| '../../src/snapshot-common.cc',
|
| '../../src/snapshot-empty.cc',
|
| ],
|
| 'conditions': [
|
| ['want_separate_host_toolset==1', {
|
| 'toolsets': ['host', 'target'],
|
| - 'dependencies': ['js2c#host'],
|
| + 'dependencies': ['js2c#host', 'generate_trig_table#host'],
|
| }, {
|
| 'toolsets': ['target'],
|
| - 'dependencies': ['js2c'],
|
| + 'dependencies': ['js2c', 'generate_trig_table'],
|
| }],
|
| ['component=="shared_library"', {
|
| 'defines': [
|
| @@ -222,12 +226,14 @@
|
| 'dependencies': [
|
| 'mksnapshot#host',
|
| 'js2c#host',
|
| + 'generate_trig_table#host',
|
| 'natives_blob#host',
|
| ]}, {
|
| 'toolsets': ['target'],
|
| 'dependencies': [
|
| 'mksnapshot',
|
| 'js2c',
|
| + 'generate_trig_table',
|
| 'natives_blob',
|
| ],
|
| }],
|
| @@ -251,6 +257,7 @@
|
| '../..',
|
| ],
|
| 'sources': [
|
| + '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc',
|
| '../../src/natives-external.cc',
|
| '../../src/snapshot-external.cc',
|
| ],
|
| @@ -284,6 +291,32 @@
|
| },
|
| ],
|
| },
|
| + { 'target_name': 'generate_trig_table',
|
| + 'type': 'none',
|
| + 'conditions': [
|
| + ['want_separate_host_toolset==1', {
|
| + 'toolsets': ['host'],
|
| + }, {
|
| + 'toolsets': ['target'],
|
| + }],
|
| + ],
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'generate',
|
| + 'inputs': [
|
| + '../../tools/generate-trig-table.py',
|
| + ],
|
| + 'outputs': [
|
| + '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + '../../tools/generate-trig-table.py',
|
| + '<@(_outputs)',
|
| + ],
|
| + },
|
| + ]
|
| + },
|
| {
|
| 'target_name': 'v8_base',
|
| 'type': 'static_library',
|
| @@ -735,8 +768,6 @@
|
| '../../src/zone-inl.h',
|
| '../../src/zone.cc',
|
| '../../src/zone.h',
|
| - '../../third_party/fdlibm/fdlibm.cc',
|
| - '../../third_party/fdlibm/fdlibm.h',
|
| ],
|
| 'conditions': [
|
| ['want_separate_host_toolset==1', {
|
| @@ -1389,7 +1420,6 @@
|
| '../../src/array.js',
|
| '../../src/string.js',
|
| '../../src/uri.js',
|
| - '../../third_party/fdlibm/fdlibm.js',
|
| '../../src/math.js',
|
| '../../src/messages.js',
|
| '../../src/apinatives.js',
|
|
|