OLD | NEW |
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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 '../../src/contexts.cc', | 380 '../../src/contexts.cc', |
381 '../../src/contexts.h', | 381 '../../src/contexts.h', |
382 '../../src/conversions-inl.h', | 382 '../../src/conversions-inl.h', |
383 '../../src/conversions.cc', | 383 '../../src/conversions.cc', |
384 '../../src/conversions.h', | 384 '../../src/conversions.h', |
385 '../../src/counters.cc', | 385 '../../src/counters.cc', |
386 '../../src/counters.h', | 386 '../../src/counters.h', |
387 '../../src/cpu-profiler-inl.h', | 387 '../../src/cpu-profiler-inl.h', |
388 '../../src/cpu-profiler.cc', | 388 '../../src/cpu-profiler.cc', |
389 '../../src/cpu-profiler.h', | 389 '../../src/cpu-profiler.h', |
390 '../../src/cpu.cc', | |
391 '../../src/cpu.h', | |
392 '../../src/data-flow.cc', | 390 '../../src/data-flow.cc', |
393 '../../src/data-flow.h', | 391 '../../src/data-flow.h', |
394 '../../src/date.cc', | 392 '../../src/date.cc', |
395 '../../src/date.h', | 393 '../../src/date.h', |
396 '../../src/dateparser-inl.h', | 394 '../../src/dateparser-inl.h', |
397 '../../src/dateparser.cc', | 395 '../../src/dateparser.cc', |
398 '../../src/dateparser.h', | 396 '../../src/dateparser.h', |
399 '../../src/debug.cc', | 397 '../../src/debug.cc', |
400 '../../src/debug.h', | 398 '../../src/debug.h', |
401 '../../src/deoptimizer.cc', | 399 '../../src/deoptimizer.cc', |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
572 '../../src/objects-visiting.cc', | 570 '../../src/objects-visiting.cc', |
573 '../../src/objects-visiting.h', | 571 '../../src/objects-visiting.h', |
574 '../../src/objects.cc', | 572 '../../src/objects.cc', |
575 '../../src/objects.h', | 573 '../../src/objects.h', |
576 '../../src/optimizing-compiler-thread.cc', | 574 '../../src/optimizing-compiler-thread.cc', |
577 '../../src/optimizing-compiler-thread.h', | 575 '../../src/optimizing-compiler-thread.h', |
578 '../../src/ostreams.cc', | 576 '../../src/ostreams.cc', |
579 '../../src/ostreams.h', | 577 '../../src/ostreams.h', |
580 '../../src/parser.cc', | 578 '../../src/parser.cc', |
581 '../../src/parser.h', | 579 '../../src/parser.h', |
582 '../../src/platform/elapsed-timer.h', | |
583 '../../src/platform/time.cc', | |
584 '../../src/platform/time.h', | |
585 '../../src/platform.h', | |
586 '../../src/platform/condition-variable.cc', | |
587 '../../src/platform/condition-variable.h', | |
588 '../../src/platform/mutex.cc', | |
589 '../../src/platform/mutex.h', | |
590 '../../src/platform/semaphore.cc', | |
591 '../../src/platform/semaphore.h', | |
592 '../../src/preparse-data-format.h', | 580 '../../src/preparse-data-format.h', |
593 '../../src/preparse-data.cc', | 581 '../../src/preparse-data.cc', |
594 '../../src/preparse-data.h', | 582 '../../src/preparse-data.h', |
595 '../../src/preparser.cc', | 583 '../../src/preparser.cc', |
596 '../../src/preparser.h', | 584 '../../src/preparser.h', |
597 '../../src/prettyprinter.cc', | 585 '../../src/prettyprinter.cc', |
598 '../../src/prettyprinter.h', | 586 '../../src/prettyprinter.h', |
599 '../../src/profile-generator-inl.h', | 587 '../../src/profile-generator-inl.h', |
600 '../../src/profile-generator.cc', | 588 '../../src/profile-generator.cc', |
601 '../../src/profile-generator.h', | 589 '../../src/profile-generator.h', |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
667 '../../src/unbound-queue-inl.h', | 655 '../../src/unbound-queue-inl.h', |
668 '../../src/unbound-queue.h', | 656 '../../src/unbound-queue.h', |
669 '../../src/unicode-inl.h', | 657 '../../src/unicode-inl.h', |
670 '../../src/unicode.cc', | 658 '../../src/unicode.cc', |
671 '../../src/unicode.h', | 659 '../../src/unicode.h', |
672 '../../src/unique.h', | 660 '../../src/unique.h', |
673 '../../src/uri.h', | 661 '../../src/uri.h', |
674 '../../src/utils-inl.h', | 662 '../../src/utils-inl.h', |
675 '../../src/utils.cc', | 663 '../../src/utils.cc', |
676 '../../src/utils.h', | 664 '../../src/utils.h', |
677 '../../src/utils/random-number-generator.cc', | |
678 '../../src/utils/random-number-generator.h', | |
679 '../../src/v8.cc', | 665 '../../src/v8.cc', |
680 '../../src/v8.h', | 666 '../../src/v8.h', |
681 '../../src/v8checks.h', | |
682 '../../src/v8memory.h', | 667 '../../src/v8memory.h', |
683 '../../src/v8threads.cc', | 668 '../../src/v8threads.cc', |
684 '../../src/v8threads.h', | 669 '../../src/v8threads.h', |
685 '../../src/variables.cc', | 670 '../../src/variables.cc', |
686 '../../src/variables.h', | 671 '../../src/variables.h', |
687 '../../src/vector.h', | 672 '../../src/vector.h', |
688 '../../src/version.cc', | 673 '../../src/version.cc', |
689 '../../src/version.h', | 674 '../../src/version.h', |
690 '../../src/vm-state-inl.h', | 675 '../../src/vm-state-inl.h', |
691 '../../src/vm-state.h', | 676 '../../src/vm-state.h', |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 }], | 895 }], |
911 ['OS=="linux"', { | 896 ['OS=="linux"', { |
912 'link_settings': { | 897 'link_settings': { |
913 'conditions': [ | 898 'conditions': [ |
914 ['v8_compress_startup_data=="bz2"', { | 899 ['v8_compress_startup_data=="bz2"', { |
915 'libraries': [ | 900 'libraries': [ |
916 '-lbz2', | 901 '-lbz2', |
917 ] | 902 ] |
918 }], | 903 }], |
919 ], | 904 ], |
| 905 }, |
| 906 } |
| 907 ], |
| 908 ['OS=="win"', { |
| 909 'variables': { |
| 910 'gyp_generators': '<!(echo $GYP_GENERATORS)', |
| 911 }, |
| 912 'msvs_disabled_warnings': [4351, 4355, 4800], |
| 913 }], |
| 914 ['component=="shared_library"', { |
| 915 'defines': [ |
| 916 'BUILDING_V8_SHARED', |
| 917 'V8_SHARED', |
| 918 ], |
| 919 }], |
| 920 ['v8_postmortem_support=="true"', { |
| 921 'sources': [ |
| 922 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', |
| 923 ] |
| 924 }], |
| 925 ['v8_enable_i18n_support==1', { |
| 926 'dependencies': [ |
| 927 '<(icu_gyp_path):icui18n', |
| 928 '<(icu_gyp_path):icuuc', |
| 929 ] |
| 930 }, { # v8_enable_i18n_support==0 |
| 931 'sources!': [ |
| 932 '../../src/i18n.cc', |
| 933 '../../src/i18n.h', |
| 934 ], |
| 935 }], |
| 936 ['OS=="win" and v8_enable_i18n_support==1', { |
| 937 'dependencies': [ |
| 938 '<(icu_gyp_path):icudata', |
| 939 ], |
| 940 }], |
| 941 ['icu_use_data_file_flag==1', { |
| 942 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], |
| 943 }, { # else icu_use_data_file_flag !=1 |
| 944 'conditions': [ |
| 945 ['OS=="win"', { |
| 946 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], |
| 947 }, { |
| 948 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], |
| 949 }], |
| 950 ], |
| 951 }], |
| 952 ], |
| 953 }, |
| 954 { |
| 955 'target_name': 'v8_libbase', |
| 956 'type': 'static_library', |
| 957 'variables': { |
| 958 'optimize': 'max', |
| 959 }, |
| 960 'include_dirs+': [ |
| 961 '../..', |
| 962 ], |
| 963 'sources': [ |
| 964 '../../src/base/atomicops.h', |
| 965 '../../src/base/atomicops_internals_arm64_gcc.h', |
| 966 '../../src/base/atomicops_internals_arm_gcc.h', |
| 967 '../../src/base/atomicops_internals_atomicword_compat.h', |
| 968 '../../src/base/atomicops_internals_mac.h', |
| 969 '../../src/base/atomicops_internals_mips_gcc.h', |
| 970 '../../src/base/atomicops_internals_tsan.h', |
| 971 '../../src/base/atomicops_internals_x86_gcc.cc', |
| 972 '../../src/base/atomicops_internals_x86_gcc.h', |
| 973 '../../src/base/atomicops_internals_x86_msvc.h', |
| 974 '../../src/base/build_config.h', |
| 975 '../../src/base/cpu.cc', |
| 976 '../../src/base/cpu.h', |
| 977 '../../src/base/lazy-instance.h', |
| 978 '../../src/base/logging.cc', |
| 979 '../../src/base/logging.h', |
| 980 '../../src/base/macros.h', |
| 981 '../../src/base/once.cc', |
| 982 '../../src/base/once.h', |
| 983 '../../src/base/platform/elapsed-timer.h', |
| 984 '../../src/base/platform/time.cc', |
| 985 '../../src/base/platform/time.h', |
| 986 '../../src/base/platform/condition-variable.cc', |
| 987 '../../src/base/platform/condition-variable.h', |
| 988 '../../src/base/platform/mutex.cc', |
| 989 '../../src/base/platform/mutex.h', |
| 990 '../../src/base/platform/platform.h', |
| 991 '../../src/base/platform/semaphore.cc', |
| 992 '../../src/base/platform/semaphore.h', |
| 993 '../../src/base/safe_conversions.h', |
| 994 '../../src/base/safe_conversions_impl.h', |
| 995 '../../src/base/safe_math.h', |
| 996 '../../src/base/safe_math_impl.h', |
| 997 '../../src/base/utils/random-number-generator.cc', |
| 998 '../../src/base/utils/random-number-generator.h', |
| 999 ], |
| 1000 'conditions': [ |
| 1001 ['want_separate_host_toolset==1', { |
| 1002 'toolsets': ['host', 'target'], |
| 1003 }, { |
| 1004 'toolsets': ['target'], |
| 1005 }], |
| 1006 ['component=="shared_library"', { |
| 1007 'defines': [ |
| 1008 'BUILDING_V8_SHARED', |
| 1009 'V8_SHARED', |
| 1010 ], |
| 1011 }], |
| 1012 ['OS=="linux"', { |
| 1013 'link_settings': { |
920 'libraries': [ | 1014 'libraries': [ |
921 '-lrt' | 1015 '-lrt' |
922 ] | 1016 ] |
923 }, | 1017 }, |
924 'sources': [ ### gcmole(os:linux) ### | 1018 'sources': [ |
925 '../../src/platform-linux.cc', | 1019 '../../src/base/platform/platform-linux.cc', |
926 '../../src/platform-posix.cc' | 1020 '../../src/base/platform/platform-posix.cc' |
927 ], | 1021 ], |
928 } | 1022 } |
929 ], | 1023 ], |
930 ['OS=="android"', { | 1024 ['OS=="android"', { |
931 'sources': [ | 1025 'sources': [ |
932 '../../src/platform-posix.cc' | 1026 '../../src/base/platform/platform-posix.cc' |
933 ], | 1027 ], |
934 'conditions': [ | 1028 'conditions': [ |
935 ['host_os=="mac"', { | 1029 ['host_os=="mac"', { |
936 'target_conditions': [ | 1030 'target_conditions': [ |
937 ['_toolset=="host"', { | 1031 ['_toolset=="host"', { |
938 'sources': [ | 1032 'sources': [ |
939 '../../src/platform-macos.cc' | 1033 '../../src/base/platform/platform-macos.cc' |
940 ] | 1034 ] |
941 }, { | 1035 }, { |
942 'sources': [ | 1036 'sources': [ |
943 '../../src/platform-linux.cc' | 1037 '../../src/base/platform/platform-linux.cc' |
944 ] | 1038 ] |
945 }], | 1039 }], |
946 ], | 1040 ], |
947 }, { | 1041 }, { |
948 # TODO(bmeurer): What we really want here, is this: | 1042 # TODO(bmeurer): What we really want here, is this: |
949 # | 1043 # |
950 # 'link_settings': { | 1044 # 'link_settings': { |
951 # 'target_conditions': [ | 1045 # 'target_conditions': [ |
952 # ['_toolset=="host"', { | 1046 # ['_toolset=="host"', { |
953 # 'libraries': [ | 1047 # 'libraries': [ |
954 # '-lrt' | 1048 # '-lrt' |
955 # ] | 1049 # ] |
956 # }] | 1050 # }] |
957 # ] | 1051 # ] |
958 # }, | 1052 # }, |
959 # | 1053 # |
960 # but we can't do this right now, as the AOSP does not support | 1054 # but we can't do this right now, as the AOSP does not support |
961 # linking against the host librt, so we need to work around this | 1055 # linking against the host librt, so we need to work around this |
962 # for now, using the following hack (see platform/time.cc): | 1056 # for now, using the following hack (see platform/time.cc): |
963 'target_conditions': [ | 1057 'target_conditions': [ |
964 ['_toolset=="host"', { | 1058 ['_toolset=="host"', { |
965 'defines': [ | 1059 'defines': [ |
966 'V8_LIBRT_NOT_AVAILABLE=1', | 1060 'V8_LIBRT_NOT_AVAILABLE=1', |
967 ], | 1061 ], |
968 }], | 1062 }], |
969 ], | 1063 ], |
970 'sources': [ | 1064 'sources': [ |
971 '../../src/platform-linux.cc' | 1065 '../../src/base/platform/platform-linux.cc' |
972 ] | 1066 ] |
973 }], | 1067 }], |
974 ], | 1068 ], |
975 }, | 1069 }, |
976 ], | 1070 ], |
977 ['OS=="qnx"', { | 1071 ['OS=="qnx"', { |
978 'link_settings': { | 1072 'link_settings': { |
979 'target_conditions': [ | 1073 'target_conditions': [ |
980 ['_toolset=="host" and host_os=="linux"', { | 1074 ['_toolset=="host" and host_os=="linux"', { |
981 'libraries': [ | 1075 'libraries': [ |
982 '-lrt' | 1076 '-lrt' |
983 ], | 1077 ], |
984 }], | 1078 }], |
985 ['_toolset=="target"', { | 1079 ['_toolset=="target"', { |
986 'libraries': [ | 1080 'libraries': [ |
987 '-lbacktrace' | 1081 '-lbacktrace' |
988 ], | 1082 ], |
989 }], | 1083 }], |
990 ], | 1084 ], |
991 }, | 1085 }, |
992 'sources': [ | 1086 'sources': [ |
993 '../../src/platform-posix.cc', | 1087 '../../src/base/platform/platform-posix.cc', |
| 1088 '../../src/base/qnx-math.h', |
994 ], | 1089 ], |
995 'target_conditions': [ | 1090 'target_conditions': [ |
996 ['_toolset=="host" and host_os=="linux"', { | 1091 ['_toolset=="host" and host_os=="linux"', { |
997 'sources': [ | 1092 'sources': [ |
998 '../../src/platform-linux.cc' | 1093 '../../src/base/platform/platform-linux.cc' |
999 ], | 1094 ], |
1000 }], | 1095 }], |
1001 ['_toolset=="host" and host_os=="mac"', { | 1096 ['_toolset=="host" and host_os=="mac"', { |
1002 'sources': [ | 1097 'sources': [ |
1003 '../../src/platform-macos.cc' | 1098 '../../src/base/platform/platform-macos.cc' |
1004 ], | 1099 ], |
1005 }], | 1100 }], |
1006 ['_toolset=="target"', { | 1101 ['_toolset=="target"', { |
1007 'sources': [ | 1102 'sources': [ |
1008 '../../src/platform-qnx.cc' | 1103 '../../src/base/platform/platform-qnx.cc' |
1009 ], | 1104 ], |
1010 }], | 1105 }], |
1011 ], | 1106 ], |
1012 }, | 1107 }, |
1013 ], | 1108 ], |
1014 ['OS=="freebsd"', { | 1109 ['OS=="freebsd"', { |
1015 'link_settings': { | 1110 'link_settings': { |
1016 'libraries': [ | 1111 'libraries': [ |
1017 '-L/usr/local/lib -lexecinfo', | 1112 '-L/usr/local/lib -lexecinfo', |
1018 ]}, | 1113 ]}, |
1019 'sources': [ | 1114 'sources': [ |
1020 '../../src/platform-freebsd.cc', | 1115 '../../src/base/platform/platform-freebsd.cc', |
1021 '../../src/platform-posix.cc' | 1116 '../../src/base/platform/platform-posix.cc' |
1022 ], | 1117 ], |
1023 } | 1118 } |
1024 ], | 1119 ], |
1025 ['OS=="openbsd"', { | 1120 ['OS=="openbsd"', { |
1026 'link_settings': { | 1121 'link_settings': { |
1027 'libraries': [ | 1122 'libraries': [ |
1028 '-L/usr/local/lib -lexecinfo', | 1123 '-L/usr/local/lib -lexecinfo', |
1029 ]}, | 1124 ]}, |
1030 'sources': [ | 1125 'sources': [ |
1031 '../../src/platform-openbsd.cc', | 1126 '../../src/base/platform/platform-openbsd.cc', |
1032 '../../src/platform-posix.cc' | 1127 '../../src/base/platform/platform-posix.cc' |
1033 ], | 1128 ], |
1034 } | 1129 } |
1035 ], | 1130 ], |
1036 ['OS=="netbsd"', { | 1131 ['OS=="netbsd"', { |
1037 'link_settings': { | 1132 'link_settings': { |
1038 'libraries': [ | 1133 'libraries': [ |
1039 '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo', | 1134 '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo', |
1040 ]}, | 1135 ]}, |
1041 'sources': [ | 1136 'sources': [ |
1042 '../../src/platform-openbsd.cc', | 1137 '../../src/base/platform/platform-openbsd.cc', |
1043 '../../src/platform-posix.cc' | 1138 '../../src/base/platform/platform-posix.cc' |
1044 ], | 1139 ], |
1045 } | 1140 } |
1046 ], | 1141 ], |
1047 ['OS=="solaris"', { | 1142 ['OS=="solaris"', { |
1048 'link_settings': { | 1143 'link_settings': { |
1049 'libraries': [ | 1144 'libraries': [ |
1050 '-lnsl', | 1145 '-lnsl', |
1051 ]}, | 1146 ]}, |
1052 'sources': [ | 1147 'sources': [ |
1053 '../../src/platform-solaris.cc', | 1148 '../../src/base/platform/platform-solaris.cc', |
1054 '../../src/platform-posix.cc' | 1149 '../../src/base/platform/platform-posix.cc' |
1055 ], | 1150 ], |
1056 } | 1151 } |
1057 ], | 1152 ], |
1058 ['OS=="mac"', { | 1153 ['OS=="mac"', { |
1059 'sources': [ | 1154 'sources': [ |
1060 '../../src/platform-macos.cc', | 1155 '../../src/base/platform/platform-macos.cc', |
1061 '../../src/platform-posix.cc' | 1156 '../../src/base/platform/platform-posix.cc' |
1062 ]}, | 1157 ]}, |
1063 ], | 1158 ], |
1064 ['OS=="win"', { | 1159 ['OS=="win"', { |
1065 'defines': [ | 1160 'defines': [ |
1066 '_CRT_RAND_S' # for rand_s() | 1161 '_CRT_RAND_S' # for rand_s() |
1067 ], | 1162 ], |
1068 'variables': { | 1163 'variables': { |
1069 'gyp_generators': '<!(echo $GYP_GENERATORS)', | 1164 'gyp_generators': '<!(echo $GYP_GENERATORS)', |
1070 }, | 1165 }, |
1071 'conditions': [ | 1166 'conditions': [ |
1072 ['gyp_generators=="make"', { | 1167 ['gyp_generators=="make"', { |
1073 'variables': { | 1168 'variables': { |
1074 'build_env': '<!(uname -o)', | 1169 'build_env': '<!(uname -o)', |
1075 }, | 1170 }, |
1076 'conditions': [ | 1171 'conditions': [ |
1077 ['build_env=="Cygwin"', { | 1172 ['build_env=="Cygwin"', { |
1078 'sources': [ | 1173 'sources': [ |
1079 '../../src/platform-cygwin.cc', | 1174 '../../src/base/platform/platform-cygwin.cc', |
1080 '../../src/platform-posix.cc' | 1175 '../../src/base/platform/platform-posix.cc' |
1081 ], | 1176 ], |
1082 }, { | 1177 }, { |
1083 'sources': [ | 1178 'sources': [ |
1084 '../../src/platform-win32.cc', | 1179 '../../src/base/platform/platform-win32.cc', |
1085 '../../src/win32-math.cc', | 1180 '../../src/base/win32-headers.h', |
1086 '../../src/win32-math.h' | 1181 '../../src/base/win32-math.cc', |
| 1182 '../../src/base/win32-math.h' |
1087 ], | 1183 ], |
1088 }], | 1184 }], |
1089 ], | 1185 ], |
1090 'link_settings': { | 1186 'link_settings': { |
1091 'libraries': [ '-lwinmm', '-lws2_32' ], | 1187 'libraries': [ '-lwinmm', '-lws2_32' ], |
1092 }, | 1188 }, |
1093 }, { | 1189 }, { |
1094 'sources': [ | 1190 'sources': [ |
1095 '../../src/platform-win32.cc', | 1191 '../../src/base/platform/platform-win32.cc', |
1096 '../../src/win32-math.cc', | 1192 '../../src/base/win32-headers.h', |
1097 '../../src/win32-math.h' | 1193 '../../src/base/win32-math.cc', |
| 1194 '../../src/base/win32-math.h' |
1098 ], | 1195 ], |
1099 'msvs_disabled_warnings': [4351, 4355, 4800], | 1196 'msvs_disabled_warnings': [4351, 4355, 4800], |
1100 'link_settings': { | 1197 'link_settings': { |
1101 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], | 1198 'libraries': [ '-lwinmm.lib', '-lws2_32.lib' ], |
1102 }, | 1199 }, |
1103 }], | 1200 }], |
1104 ], | 1201 ], |
1105 }], | 1202 }], |
1106 ['component=="shared_library"', { | 1203 ['component=="shared_library"', { |
1107 'defines': [ | 1204 'defines': [ |
1108 'BUILDING_V8_SHARED', | 1205 'BUILDING_V8_SHARED', |
1109 'V8_SHARED', | 1206 'V8_SHARED', |
1110 ], | 1207 ], |
1111 }], | 1208 }], |
1112 ['v8_postmortem_support=="true"', { | |
1113 'sources': [ | |
1114 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', | |
1115 ] | |
1116 }], | |
1117 ['v8_enable_i18n_support==1', { | |
1118 'dependencies': [ | |
1119 '<(icu_gyp_path):icui18n', | |
1120 '<(icu_gyp_path):icuuc', | |
1121 ] | |
1122 }, { # v8_enable_i18n_support==0 | |
1123 'sources!': [ | |
1124 '../../src/i18n.cc', | |
1125 '../../src/i18n.h', | |
1126 ], | |
1127 }], | |
1128 ['OS=="win" and v8_enable_i18n_support==1', { | |
1129 'dependencies': [ | |
1130 '<(icu_gyp_path):icudata', | |
1131 ], | |
1132 }], | |
1133 ['icu_use_data_file_flag==1', { | |
1134 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], | |
1135 }, { # else icu_use_data_file_flag !=1 | |
1136 'conditions': [ | |
1137 ['OS=="win"', { | |
1138 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], | |
1139 }, { | |
1140 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], | |
1141 }], | |
1142 ], | |
1143 }], | |
1144 ], | |
1145 }, | |
1146 { | |
1147 'target_name': 'v8_libbase', | |
1148 'type': 'static_library', | |
1149 'variables': { | |
1150 'optimize': 'max', | |
1151 }, | |
1152 'include_dirs+': [ | |
1153 '../..', | |
1154 ], | |
1155 'sources': [ | |
1156 '../../src/base/atomicops.h', | |
1157 '../../src/base/atomicops_internals_arm64_gcc.h', | |
1158 '../../src/base/atomicops_internals_arm_gcc.h', | |
1159 '../../src/base/atomicops_internals_atomicword_compat.h', | |
1160 '../../src/base/atomicops_internals_mac.h', | |
1161 '../../src/base/atomicops_internals_mips_gcc.h', | |
1162 '../../src/base/atomicops_internals_tsan.h', | |
1163 '../../src/base/atomicops_internals_x86_gcc.cc', | |
1164 '../../src/base/atomicops_internals_x86_gcc.h', | |
1165 '../../src/base/atomicops_internals_x86_msvc.h', | |
1166 '../../src/base/build_config.h', | |
1167 '../../src/base/lazy-instance.h', | |
1168 '../../src/base/macros.h', | |
1169 '../../src/base/once.cc', | |
1170 '../../src/base/once.h', | |
1171 '../../src/base/safe_conversions.h', | |
1172 '../../src/base/safe_conversions_impl.h', | |
1173 '../../src/base/safe_math.h', | |
1174 '../../src/base/safe_math_impl.h', | |
1175 '../../src/base/win32-headers.h', | |
1176 ], | |
1177 'conditions': [ | |
1178 ['want_separate_host_toolset==1', { | |
1179 'toolsets': ['host', 'target'], | |
1180 }, { | |
1181 'toolsets': ['target'], | |
1182 }], | |
1183 ['component=="shared_library"', { | |
1184 'defines': [ | |
1185 'BUILDING_V8_SHARED', | |
1186 'V8_SHARED', | |
1187 ], | |
1188 }], | |
1189 ], | 1209 ], |
1190 }, | 1210 }, |
1191 { | 1211 { |
1192 'target_name': 'natives_blob', | 1212 'target_name': 'natives_blob', |
1193 'type': 'none', | 1213 'type': 'none', |
1194 'conditions': [ | 1214 'conditions': [ |
1195 [ 'v8_use_external_startup_data==1', { | 1215 [ 'v8_use_external_startup_data==1', { |
1196 'dependencies': ['js2c'], | 1216 'dependencies': ['js2c'], |
1197 'actions': [{ | 1217 'actions': [{ |
1198 'action_name': 'concatenate_natives_blob', | 1218 'action_name': 'concatenate_natives_blob', |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1377 }], | 1397 }], |
1378 ['v8_compress_startup_data=="bz2"', { | 1398 ['v8_compress_startup_data=="bz2"', { |
1379 'libraries': [ | 1399 'libraries': [ |
1380 '-lbz2', | 1400 '-lbz2', |
1381 ] | 1401 ] |
1382 }], | 1402 }], |
1383 ], | 1403 ], |
1384 }, | 1404 }, |
1385 ], | 1405 ], |
1386 } | 1406 } |
OLD | NEW |