Add x64 to the gyp build.
authordeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 28 Jul 2009 20:32:57 +0000 (20:32 +0000)
committerdeanm@chromium.org <deanm@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Tue, 28 Jul 2009 20:32:57 +0000 (20:32 +0000)
Review URL: http://codereview.chromium.org/159502

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2565 ce2b1a6d-e550-0410-aec6-3dcde31c8c00

tools/gyp/v8.gyp

index fc49620a14ab6441d574c2a9a3fceb881a421b2c..c8a2e85daa40e9fba31361ca2d36cb1272516fe1 100644 (file)
           'V8_NATIVE_REGEXP',
         ],
       }],
+      ['target_arch=="x64"', {
+        'defines': [
+          'V8_TARGET_ARCH_X64',
+        ],
+      }],
     ],
     'configurations': {
       'Debug': {
             '../../src/ia32/virtual-frame-ia32.h',
           ],
         }],
+        ['target_arch=="x64"', {
+          'include_dirs+': [
+            '../../src/x64',
+          ],
+          'sources': [
+            '../../src/x64/assembler-x64-inl.h',
+            '../../src/x64/assembler-x64.cc',
+            '../../src/x64/assembler-x64.h',
+            '../../src/x64/builtins-x64.cc',
+            '../../src/x64/codegen-x64.cc',
+            '../../src/x64/codegen-x64.h',
+            '../../src/x64/cpu-x64.cc',
+            '../../src/x64/debug-x64.cc',
+            '../../src/x64/disasm-x64.cc',
+            '../../src/x64/frames-x64.cc',
+            '../../src/x64/frames-x64.h',
+            '../../src/x64/ic-x64.cc',
+            '../../src/x64/jump-target-x64.cc',
+            '../../src/x64/macro-assembler-x64.cc',
+            '../../src/x64/macro-assembler-x64.h',
+            #'../../src/x64/regexp-macro-assembler-x64.cc',
+            #'../../src/x64/regexp-macro-assembler-x64.h',
+            '../../src/x64/register-allocator-x64.cc',
+            '../../src/x64/stub-cache-x64.cc',
+            '../../src/x64/virtual-frame-x64.cc',
+            '../../src/x64/virtual-frame-x64.h',
+          ],
+        }],
         ['OS=="linux"', {
             'link_settings': {
               'libraries': [