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

Side by Side Diff: tools/gyp/v8.gyp

Issue 18014003: Add X32 port into V8 (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 '../../src/x64/lithium-gap-resolver-x64.h', 640 '../../src/x64/lithium-gap-resolver-x64.h',
641 '../../src/x64/lithium-x64.cc', 641 '../../src/x64/lithium-x64.cc',
642 '../../src/x64/lithium-x64.h', 642 '../../src/x64/lithium-x64.h',
643 '../../src/x64/macro-assembler-x64.cc', 643 '../../src/x64/macro-assembler-x64.cc',
644 '../../src/x64/macro-assembler-x64.h', 644 '../../src/x64/macro-assembler-x64.h',
645 '../../src/x64/regexp-macro-assembler-x64.cc', 645 '../../src/x64/regexp-macro-assembler-x64.cc',
646 '../../src/x64/regexp-macro-assembler-x64.h', 646 '../../src/x64/regexp-macro-assembler-x64.h',
647 '../../src/x64/stub-cache-x64.cc', 647 '../../src/x64/stub-cache-x64.cc',
648 ], 648 ],
649 }], 649 }],
650 ['v8_target_arch=="x32"', {
651 'sources': [ ### gcmole(arch:x32) ###
652 '../../src/x32/assembler-x32-inl.h',
653 '../../src/x32/assembler-x32.cc',
654 '../../src/x32/assembler-x32.h',
655 '../../src/x32/builtins-x32.cc',
656 '../../src/x32/code-stubs-x32.cc',
657 '../../src/x32/code-stubs-x32.h',
658 '../../src/x32/codegen-x32.cc',
659 '../../src/x32/codegen-x32.h',
660 '../../src/x32/cpu-x32.cc',
661 '../../src/x32/debug-x32.cc',
662 '../../src/x32/deoptimizer-x32.cc',
663 '../../src/x32/disasm-x32.cc',
664 '../../src/x32/frames-x32.cc',
665 '../../src/x32/frames-x32.h',
666 '../../src/x32/full-codegen-x32.cc',
667 '../../src/x32/ic-x32.cc',
668 '../../src/x32/lithium-codegen-x32.cc',
669 '../../src/x32/lithium-codegen-x32.h',
670 '../../src/x32/lithium-gap-resolver-x32.cc',
671 '../../src/x32/lithium-gap-resolver-x32.h',
672 '../../src/x32/lithium-x32.cc',
673 '../../src/x32/lithium-x32.h',
674 '../../src/x32/macro-assembler-x32.cc',
675 '../../src/x32/macro-assembler-x32.h',
676 '../../src/x32/regexp-macro-assembler-x32.cc',
677 '../../src/x32/regexp-macro-assembler-x32.h',
678 '../../src/x32/stub-cache-x32.cc',
679 ],
680 'dependencies': [
681 'generate_x32_sources',
682 ]
683 }],
650 ['OS=="linux"', { 684 ['OS=="linux"', {
651 'link_settings': { 685 'link_settings': {
652 'conditions': [ 686 'conditions': [
653 ['v8_compress_startup_data=="bz2"', { 687 ['v8_compress_startup_data=="bz2"', {
654 'libraries': [ 688 'libraries': [
655 '-lbz2', 689 '-lbz2',
656 ] 690 ]
657 }], 691 }],
658 ], 692 ],
659 }, 693 },
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 # This could be gotten by not setting chromium_code, if that's OK. 1031 # This could be gotten by not setting chromium_code, if that's OK.
998 'defines': ['_CRT_SECURE_NO_WARNINGS'], 1032 'defines': ['_CRT_SECURE_NO_WARNINGS'],
999 }], 1033 }],
1000 ['v8_compress_startup_data=="bz2"', { 1034 ['v8_compress_startup_data=="bz2"', {
1001 'libraries': [ 1035 'libraries': [
1002 '-lbz2', 1036 '-lbz2',
1003 ] 1037 ]
1004 }], 1038 }],
1005 ], 1039 ],
1006 }, 1040 },
1041 {
1042 'target_name': 'generate_x32_sources',
danno 2013/07/17 13:33:21 As discussed, please remove this step and instead
1043 'type': 'none',
1044 'variables': {
1045 'v8_x32_generator_mode%': 'release',
1046 'x64_headers': [
1047 '../../src/x64/assembler-x64-inl.h',
1048 '../../src/x64/assembler-x64.h',
1049 '../../src/x64/code-stubs-x64.h',
1050 '../../src/x64/codegen-x64.h',
1051 '../../src/x64/frames-x64.h',
1052 '../../src/x64/lithium-codegen-x64.h',
1053 '../../src/x64/lithium-gap-resolver-x64.h',
1054 '../../src/x64/lithium-x64.h',
1055 '../../src/x64/macro-assembler-x64.h',
1056 '../../src/x64/regexp-macro-assembler-x64.h',
1057 '../../src/x64/simulator-x64.h',
1058 ],
1059 'x64_sources': [
1060 '../../src/x64/assembler-x64.cc',
1061 '../../src/x64/builtins-x64.cc',
1062 '../../src/x64/code-stubs-x64.cc',
1063 '../../src/x64/codegen-x64.cc',
1064 '../../src/x64/cpu-x64.cc',
1065 '../../src/x64/debug-x64.cc',
1066 '../../src/x64/deoptimizer-x64.cc',
1067 '../../src/x64/disasm-x64.cc',
1068 '../../src/x64/frames-x64.cc',
1069 '../../src/x64/full-codegen-x64.cc',
1070 '../../src/x64/ic-x64.cc',
1071 '../../src/x64/lithium-codegen-x64.cc',
1072 '../../src/x64/lithium-gap-resolver-x64.cc',
1073 '../../src/x64/lithium-x64.cc',
1074 '../../src/x64/macro-assembler-x64.cc',
1075 '../../src/x64/regexp-macro-assembler-x64.cc',
1076 '../../src/x64/stub-cache-x64.cc',
1077 '../../src/x64/simulator-x64.cc',
1078 ],
1079 'x32_headers': [
1080 '../../../src/x32/assembler-x32-inl.h',
1081 '../../../src/x32/assembler-x32.h',
1082 '../../../src/x32/code-stubs-x32.h',
1083 '../../../src/x32/codegen-x32.h',
1084 '../../../src/x32/frames-x32.h',
1085 '../../../src/x32/lithium-codegen-x32.h',
1086 '../../../src/x32/lithium-gap-resolver-x32.h',
1087 '../../../src/x32/lithium-x32.h',
1088 '../../../src/x32/macro-assembler-x32.h',
1089 '../../../src/x32/regexp-macro-assembler-x32.h',
1090 '../../../src/x32/simulator-x32.h',
1091 ],
1092 'x32_sources': [
1093 '../../../src/x32/assembler-x32.cc',
1094 '../../../src/x32/builtins-x32.cc',
1095 '../../../src/x32/code-stubs-x32.cc',
1096 '../../../src/x32/codegen-x32.cc',
1097 '../../../src/x32/cpu-x32.cc',
1098 '../../../src/x32/debug-x32.cc',
1099 '../../../src/x32/deoptimizer-x32.cc',
1100 '../../../src/x32/disasm-x32.cc',
1101 '../../../src/x32/frames-x32.cc',
1102 '../../../src/x32/full-codegen-x32.cc',
1103 '../../../src/x32/ic-x32.cc',
1104 '../../../src/x32/lithium-codegen-x32.cc',
1105 '../../../src/x32/lithium-gap-resolver-x32.cc',
1106 '../../../src/x32/lithium-x32.cc',
1107 '../../../src/x32/macro-assembler-x32.cc',
1108 '../../../src/x32/regexp-macro-assembler-x32.cc',
1109 '../../../src/x32/stub-cache-x32.cc',
1110 '../../../src/x32/simulator-x32.cc',
1111 ],
1112 },
1113 'actions': [
1114 {
1115 'action_name': 'generate-x32-headers',
1116 'inputs': [
1117 '../../tools/generate-x32-sources.py',
1118 '<@(x64_headers)',
1119 ],
1120 'outputs': [
1121 '<@(x32_headers)',
1122 ],
1123 'action': [
1124 'python',
1125 '../../tools/generate-x32-sources.py',
1126 '<@(v8_x32_generator_mode)',
1127 '<@(_outputs)',
1128 '<@(x64_headers)'
1129 ],
1130 },
1131 {
1132 'action_name': 'generate-x32-sources',
1133 'inputs': [
1134 '../../tools/generate-x32-sources.py',
1135 '<@(x64_sources)',
1136 ],
1137 'outputs': [
1138 '<@(x32_sources)',
1139 ],
1140 'action': [
1141 'python',
1142 '../../tools/generate-x32-sources.py',
1143 '<@(v8_x32_generator_mode)',
1144 '<@(_outputs)',
1145 '<@(x64_sources)'
1146 ],
1147 },
1148 ],
1149 },
1007 ], 1150 ],
1008 } 1151 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698