| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 'V8_SHARED', | 122 'V8_SHARED', |
| 123 'BUILDING_V8_SHARED', | 123 'BUILDING_V8_SHARED', |
| 124 ], | 124 ], |
| 125 'direct_dependent_settings': { | 125 'direct_dependent_settings': { |
| 126 'defines': [ | 126 'defines': [ |
| 127 'V8_SHARED', | 127 'V8_SHARED', |
| 128 'USING_V8_SHARED', | 128 'USING_V8_SHARED', |
| 129 ], | 129 ], |
| 130 }, | 130 }, |
| 131 }], | 131 }], |
| 132 ['v8_enable_i18n_support==1', { | |
| 133 'sources': [ | |
| 134 '<(SHARED_INTERMEDIATE_DIR)/i18n-libraries.cc', | |
| 135 ], | |
| 136 }], | |
| 137 ], | 132 ], |
| 138 'dependencies': [ | 133 'dependencies': [ |
| 139 'v8_base.<(v8_target_arch)', | 134 'v8_base.<(v8_target_arch)', |
| 140 ], | 135 ], |
| 141 'include_dirs+': [ | 136 'include_dirs+': [ |
| 142 '../../src', | 137 '../../src', |
| 143 ], | 138 ], |
| 144 'sources': [ | 139 'sources': [ |
| 145 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 140 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 146 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 141 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 }, { | 185 }, { |
| 191 'toolsets': ['target'], | 186 'toolsets': ['target'], |
| 192 'dependencies': ['js2c'], | 187 'dependencies': ['js2c'], |
| 193 }], | 188 }], |
| 194 ['component=="shared_library"', { | 189 ['component=="shared_library"', { |
| 195 'defines': [ | 190 'defines': [ |
| 196 'BUILDING_V8_SHARED', | 191 'BUILDING_V8_SHARED', |
| 197 'V8_SHARED', | 192 'V8_SHARED', |
| 198 ], | 193 ], |
| 199 }], | 194 }], |
| 200 ['v8_enable_i18n_support==1', { | |
| 201 'sources': [ | |
| 202 '<(SHARED_INTERMEDIATE_DIR)/i18n-libraries.cc', | |
| 203 ], | |
| 204 }], | |
| 205 ] | 195 ] |
| 206 }, | 196 }, |
| 207 { | 197 { |
| 208 'target_name': 'v8_base.<(v8_target_arch)', | 198 'target_name': 'v8_base.<(v8_target_arch)', |
| 209 'type': 'static_library', | 199 'type': 'static_library', |
| 210 'variables': { | 200 'variables': { |
| 211 'optimize': 'max', | 201 'optimize': 'max', |
| 212 }, | 202 }, |
| 213 'include_dirs+': [ | 203 'include_dirs+': [ |
| 214 '../../src', | 204 '../../src', |
| (...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 360 '../../src/hydrogen-gvn.cc', | 350 '../../src/hydrogen-gvn.cc', |
| 361 '../../src/hydrogen-gvn.h', | 351 '../../src/hydrogen-gvn.h', |
| 362 '../../src/hydrogen-infer-representation.cc', | 352 '../../src/hydrogen-infer-representation.cc', |
| 363 '../../src/hydrogen-infer-representation.h', | 353 '../../src/hydrogen-infer-representation.h', |
| 364 '../../src/hydrogen-infer-types.cc', | 354 '../../src/hydrogen-infer-types.cc', |
| 365 '../../src/hydrogen-infer-types.h', | 355 '../../src/hydrogen-infer-types.h', |
| 366 '../../src/hydrogen-mark-deoptimize.cc', | 356 '../../src/hydrogen-mark-deoptimize.cc', |
| 367 '../../src/hydrogen-mark-deoptimize.h', | 357 '../../src/hydrogen-mark-deoptimize.h', |
| 368 '../../src/hydrogen-minus-zero.cc', | 358 '../../src/hydrogen-minus-zero.cc', |
| 369 '../../src/hydrogen-minus-zero.h', | 359 '../../src/hydrogen-minus-zero.h', |
| 360 '../../src/hydrogen-osr.cc', |
| 361 '../../src/hydrogen-osr.h', |
| 370 '../../src/hydrogen-range-analysis.cc', | 362 '../../src/hydrogen-range-analysis.cc', |
| 371 '../../src/hydrogen-range-analysis.h', | 363 '../../src/hydrogen-range-analysis.h', |
| 372 '../../src/hydrogen-redundant-phi.cc', | 364 '../../src/hydrogen-redundant-phi.cc', |
| 373 '../../src/hydrogen-redundant-phi.h', | 365 '../../src/hydrogen-redundant-phi.h', |
| 374 '../../src/hydrogen-removable-simulates.cc', | 366 '../../src/hydrogen-removable-simulates.cc', |
| 375 '../../src/hydrogen-removable-simulates.h', | 367 '../../src/hydrogen-removable-simulates.h', |
| 376 '../../src/hydrogen-representation-changes.cc', | 368 '../../src/hydrogen-representation-changes.cc', |
| 377 '../../src/hydrogen-representation-changes.h', | 369 '../../src/hydrogen-representation-changes.h', |
| 378 '../../src/hydrogen-sce.cc', | 370 '../../src/hydrogen-sce.cc', |
| 379 '../../src/hydrogen-sce.h', | 371 '../../src/hydrogen-sce.h', |
| 380 '../../src/hydrogen-uint32-analysis.cc', | 372 '../../src/hydrogen-uint32-analysis.cc', |
| 381 '../../src/hydrogen-uint32-analysis.h', | 373 '../../src/hydrogen-uint32-analysis.h', |
| 382 '../../src/hydrogen-osr.cc', | |
| 383 '../../src/hydrogen-osr.h', | |
| 384 '../../src/i18n.cc', | 374 '../../src/i18n.cc', |
| 385 '../../src/i18n.h', | 375 '../../src/i18n.h', |
| 386 '../../src/icu_util.cc', | 376 '../../src/icu_util.cc', |
| 387 '../../src/icu_util.h', | 377 '../../src/icu_util.h', |
| 388 '../../src/ic-inl.h', | 378 '../../src/ic-inl.h', |
| 389 '../../src/ic.cc', | 379 '../../src/ic.cc', |
| 390 '../../src/ic.h', | 380 '../../src/ic.h', |
| 391 '../../src/incremental-marking.cc', | 381 '../../src/incremental-marking.cc', |
| 392 '../../src/incremental-marking.h', | 382 '../../src/incremental-marking.h', |
| 393 '../../src/interface.cc', | 383 '../../src/interface.cc', |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 521 '../../src/type-info.h', | 511 '../../src/type-info.h', |
| 522 '../../src/types.cc', | 512 '../../src/types.cc', |
| 523 '../../src/types.h', | 513 '../../src/types.h', |
| 524 '../../src/typing.cc', | 514 '../../src/typing.cc', |
| 525 '../../src/typing.h', | 515 '../../src/typing.h', |
| 526 '../../src/unbound-queue-inl.h', | 516 '../../src/unbound-queue-inl.h', |
| 527 '../../src/unbound-queue.h', | 517 '../../src/unbound-queue.h', |
| 528 '../../src/unicode-inl.h', | 518 '../../src/unicode-inl.h', |
| 529 '../../src/unicode.cc', | 519 '../../src/unicode.cc', |
| 530 '../../src/unicode.h', | 520 '../../src/unicode.h', |
| 521 '../../src/unique.h', |
| 531 '../../src/uri.h', | 522 '../../src/uri.h', |
| 532 '../../src/utils-inl.h', | 523 '../../src/utils-inl.h', |
| 533 '../../src/utils.cc', | 524 '../../src/utils.cc', |
| 534 '../../src/utils.h', | 525 '../../src/utils.h', |
| 535 '../../src/utils/random-number-generator.cc', | 526 '../../src/utils/random-number-generator.cc', |
| 536 '../../src/utils/random-number-generator.h', | 527 '../../src/utils/random-number-generator.h', |
| 537 '../../src/v8-counters.cc', | 528 '../../src/v8-counters.cc', |
| 538 '../../src/v8-counters.h', | 529 '../../src/v8-counters.h', |
| 539 '../../src/v8.cc', | 530 '../../src/v8.cc', |
| 540 '../../src/v8.h', | 531 '../../src/v8.h', |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 903 'BUILDING_V8_SHARED', | 894 'BUILDING_V8_SHARED', |
| 904 'V8_SHARED', | 895 'V8_SHARED', |
| 905 ], | 896 ], |
| 906 }], | 897 }], |
| 907 ['v8_postmortem_support=="true"', { | 898 ['v8_postmortem_support=="true"', { |
| 908 'sources': [ | 899 'sources': [ |
| 909 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', | 900 '<(SHARED_INTERMEDIATE_DIR)/debug-support.cc', |
| 910 ] | 901 ] |
| 911 }], | 902 }], |
| 912 ['v8_enable_i18n_support==1', { | 903 ['v8_enable_i18n_support==1', { |
| 913 'sources': [ | |
| 914 '../../src/extensions/i18n/i18n-extension.cc', | |
| 915 '../../src/extensions/i18n/i18n-extension.h', | |
| 916 ], | |
| 917 'dependencies': [ | 904 'dependencies': [ |
| 918 '<(DEPTH)/third_party/icu/icu.gyp:icui18n', | 905 '<(icu_gyp_path):icui18n', |
| 919 '<(DEPTH)/third_party/icu/icu.gyp:icuuc', | 906 '<(icu_gyp_path):icuuc', |
| 920 ] | 907 ] |
| 921 }, { # v8_enable_i18n_support==0 | 908 }, { # v8_enable_i18n_support==0 |
| 922 'sources!': [ | 909 'sources!': [ |
| 923 '../../src/i18n.cc', | 910 '../../src/i18n.cc', |
| 924 '../../src/i18n.h', | 911 '../../src/i18n.h', |
| 925 ], | 912 ], |
| 926 }], | 913 }], |
| 927 ['OS=="win" and v8_enable_i18n_support==1', { | 914 ['OS=="win" and v8_enable_i18n_support==1', { |
| 928 'dependencies': [ | 915 'dependencies': [ |
| 929 '<(DEPTH)/third_party/icu/icu.gyp:icudata', | 916 '<(icu_gyp_path):icudata', |
| 930 ], | 917 ], |
| 931 }], | 918 }], |
| 932 ], | 919 ], |
| 933 }, | 920 }, |
| 934 { | 921 { |
| 935 'target_name': 'js2c', | 922 'target_name': 'js2c', |
| 936 'type': 'none', | 923 'type': 'none', |
| 937 'conditions': [ | 924 'conditions': [ |
| 938 ['want_separate_host_toolset==1', { | 925 ['want_separate_host_toolset==1', { |
| 939 'toolsets': ['host'], | 926 'toolsets': ['host'], |
| 940 }, { | 927 }, { |
| 941 'toolsets': ['target'], | 928 'toolsets': ['target'], |
| 942 }], | 929 }], |
| 943 ['v8_enable_i18n_support==1', { | 930 ['v8_enable_i18n_support==1', { |
| 944 'actions': [{ | 931 'variables': { |
| 945 'action_name': 'js2c_i18n', | 932 'i18n_library_files': [ |
| 946 'inputs': [ | 933 '../../src/i18n.js', |
| 947 '../../tools/js2c.py', | |
| 948 '<@(i18n_library_files)', | |
| 949 ], | 934 ], |
| 950 'outputs': [ | 935 }, |
| 951 '<(SHARED_INTERMEDIATE_DIR)/i18n-libraries.cc', | 936 }, { |
| 952 ], | 937 'variables': { |
| 953 'action': [ | 938 'i18n_library_files': [], |
| 954 'python', | 939 }, |
| 955 '../../tools/js2c.py', | |
| 956 '<@(_outputs)', | |
| 957 'I18N', | |
| 958 '<(v8_compress_startup_data)', | |
| 959 '<@(i18n_library_files)' | |
| 960 ], | |
| 961 }], | |
| 962 }], | 940 }], |
| 963 ], | 941 ], |
| 964 'variables': { | 942 'variables': { |
| 965 'library_files': [ | 943 'library_files': [ |
| 966 '../../src/runtime.js', | 944 '../../src/runtime.js', |
| 967 '../../src/v8natives.js', | 945 '../../src/v8natives.js', |
| 968 '../../src/array.js', | 946 '../../src/array.js', |
| 969 '../../src/string.js', | 947 '../../src/string.js', |
| 970 '../../src/uri.js', | 948 '../../src/uri.js', |
| 971 '../../src/math.js', | 949 '../../src/math.js', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 985 '../../src/macros.py', | 963 '../../src/macros.py', |
| 986 '../../src/symbol.js', | 964 '../../src/symbol.js', |
| 987 '../../src/proxy.js', | 965 '../../src/proxy.js', |
| 988 '../../src/collection.js', | 966 '../../src/collection.js', |
| 989 '../../src/object-observe.js', | 967 '../../src/object-observe.js', |
| 990 '../../src/generator.js', | 968 '../../src/generator.js', |
| 991 '../../src/array-iterator.js', | 969 '../../src/array-iterator.js', |
| 992 '../../src/harmony-string.js', | 970 '../../src/harmony-string.js', |
| 993 '../../src/harmony-array.js', | 971 '../../src/harmony-array.js', |
| 994 ], | 972 ], |
| 995 'i18n_library_files': [ | |
| 996 '../../src/extensions/i18n/header.js', | |
| 997 '../../src/extensions/i18n/globals.js', | |
| 998 '../../src/extensions/i18n/locale.js', | |
| 999 '../../src/extensions/i18n/collator.js', | |
| 1000 '../../src/extensions/i18n/number-format.js', | |
| 1001 '../../src/extensions/i18n/date-format.js', | |
| 1002 '../../src/extensions/i18n/break-iterator.js', | |
| 1003 '../../src/extensions/i18n/i18n-utils.js', | |
| 1004 '../../src/extensions/i18n/overrides.js', | |
| 1005 '../../src/extensions/i18n/footer.js', | |
| 1006 ], | |
| 1007 }, | 973 }, |
| 1008 'actions': [ | 974 'actions': [ |
| 1009 { | 975 { |
| 1010 'action_name': 'js2c', | 976 'action_name': 'js2c', |
| 1011 'inputs': [ | 977 'inputs': [ |
| 1012 '../../tools/js2c.py', | 978 '../../tools/js2c.py', |
| 1013 '<@(library_files)', | 979 '<@(library_files)', |
| 980 '<@(i18n_library_files)', |
| 1014 ], | 981 ], |
| 1015 'outputs': [ | 982 'outputs': [ |
| 1016 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 983 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 1017 ], | 984 ], |
| 1018 'action': [ | 985 'action': [ |
| 1019 'python', | 986 'python', |
| 1020 '../../tools/js2c.py', | 987 '../../tools/js2c.py', |
| 1021 '<@(_outputs)', | 988 '<@(_outputs)', |
| 1022 'CORE', | 989 'CORE', |
| 1023 '<(v8_compress_startup_data)', | 990 '<(v8_compress_startup_data)', |
| 1024 '<@(library_files)' | 991 '<@(library_files)', |
| 992 '<@(i18n_library_files)', |
| 1025 ], | 993 ], |
| 1026 }, | 994 }, |
| 1027 { | 995 { |
| 1028 'action_name': 'js2c_experimental', | 996 'action_name': 'js2c_experimental', |
| 1029 'inputs': [ | 997 'inputs': [ |
| 1030 '../../tools/js2c.py', | 998 '../../tools/js2c.py', |
| 1031 '<@(experimental_library_files)', | 999 '<@(experimental_library_files)', |
| 1032 ], | 1000 ], |
| 1033 'outputs': [ | 1001 'outputs': [ |
| 1034 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 1002 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1119 }], | 1087 }], |
| 1120 ['v8_compress_startup_data=="bz2"', { | 1088 ['v8_compress_startup_data=="bz2"', { |
| 1121 'libraries': [ | 1089 'libraries': [ |
| 1122 '-lbz2', | 1090 '-lbz2', |
| 1123 ] | 1091 ] |
| 1124 }], | 1092 }], |
| 1125 ], | 1093 ], |
| 1126 }, | 1094 }, |
| 1127 ], | 1095 ], |
| 1128 } | 1096 } |
| OLD | NEW |