| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 }, | 106 }, |
| 107 { | 107 { |
| 108 'target_name': 'v8_snapshot', | 108 'target_name': 'v8_snapshot', |
| 109 'type': 'static_library', | 109 'type': 'static_library', |
| 110 'conditions': [ | 110 'conditions': [ |
| 111 ['want_separate_host_toolset==1', { | 111 ['want_separate_host_toolset==1', { |
| 112 'toolsets': ['host', 'target'], | 112 'toolsets': ['host', 'target'], |
| 113 'dependencies': [ | 113 'dependencies': [ |
| 114 'mksnapshot.<(v8_target_arch)#host', | 114 'mksnapshot.<(v8_target_arch)#host', |
| 115 'js2c#host', | 115 'js2c#host', |
| 116 'generate_trig_table#host', |
| 116 ], | 117 ], |
| 117 }, { | 118 }, { |
| 118 'toolsets': ['target'], | 119 'toolsets': ['target'], |
| 119 'dependencies': ['mksnapshot.<(v8_target_arch)', 'js2c'], | 120 'dependencies': [ |
| 121 'mksnapshot.<(v8_target_arch)', |
| 122 'js2c', |
| 123 'generate_trig_table', |
| 124 ], |
| 120 }], | 125 }], |
| 121 ['component=="shared_library"', { | 126 ['component=="shared_library"', { |
| 122 'defines': [ | 127 'defines': [ |
| 123 'V8_SHARED', | 128 'V8_SHARED', |
| 124 'BUILDING_V8_SHARED', | 129 'BUILDING_V8_SHARED', |
| 125 ], | 130 ], |
| 126 'direct_dependent_settings': { | 131 'direct_dependent_settings': { |
| 127 'defines': [ | 132 'defines': [ |
| 128 'V8_SHARED', | 133 'V8_SHARED', |
| 129 'USING_V8_SHARED', | 134 'USING_V8_SHARED', |
| 130 ], | 135 ], |
| 131 }, | 136 }, |
| 132 }], | 137 }], |
| 133 ], | 138 ], |
| 134 'dependencies': [ | 139 'dependencies': [ |
| 135 'v8_base.<(v8_target_arch)', | 140 'v8_base.<(v8_target_arch)', |
| 136 ], | 141 ], |
| 137 'include_dirs+': [ | 142 'include_dirs+': [ |
| 138 '../../src', | 143 '../../src', |
| 139 ], | 144 ], |
| 140 'sources': [ | 145 'sources': [ |
| 141 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 146 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 142 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 147 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 148 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', |
| 143 '<(INTERMEDIATE_DIR)/snapshot.cc', | 149 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 144 ], | 150 ], |
| 145 'actions': [ | 151 'actions': [ |
| 146 { | 152 { |
| 147 'action_name': 'run_mksnapshot', | 153 'action_name': 'run_mksnapshot', |
| 148 'inputs': [ | 154 'inputs': [ |
| 149 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot.<(v8_target_arch)<(EX
ECUTABLE_SUFFIX)', | 155 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot.<(v8_target_arch)<(EX
ECUTABLE_SUFFIX)', |
| 150 ], | 156 ], |
| 151 'outputs': [ | 157 'outputs': [ |
| 152 '<(INTERMEDIATE_DIR)/snapshot.cc', | 158 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| (...skipping 22 matching lines...) Expand all Loading... |
| 175 'type': 'static_library', | 181 'type': 'static_library', |
| 176 'dependencies': [ | 182 'dependencies': [ |
| 177 'v8_base.<(v8_target_arch)', | 183 'v8_base.<(v8_target_arch)', |
| 178 ], | 184 ], |
| 179 'include_dirs+': [ | 185 'include_dirs+': [ |
| 180 '../../src', | 186 '../../src', |
| 181 ], | 187 ], |
| 182 'sources': [ | 188 'sources': [ |
| 183 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 189 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 184 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 190 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 191 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', |
| 185 '../../src/snapshot-empty.cc', | 192 '../../src/snapshot-empty.cc', |
| 186 ], | 193 ], |
| 187 'conditions': [ | 194 'conditions': [ |
| 188 ['want_separate_host_toolset==1', { | 195 ['want_separate_host_toolset==1', { |
| 189 'toolsets': ['host', 'target'], | 196 'toolsets': ['host', 'target'], |
| 190 'dependencies': ['js2c#host'], | 197 'dependencies': ['js2c#host', 'generate_trig_table#host'], |
| 191 }, { | 198 }, { |
| 192 'toolsets': ['target'], | 199 'toolsets': ['target'], |
| 193 'dependencies': ['js2c'], | 200 'dependencies': ['js2c', 'generate_trig_table'], |
| 194 }], | 201 }], |
| 195 ['component=="shared_library"', { | 202 ['component=="shared_library"', { |
| 196 'defines': [ | 203 'defines': [ |
| 197 'BUILDING_V8_SHARED', | 204 'BUILDING_V8_SHARED', |
| 198 'V8_SHARED', | 205 'V8_SHARED', |
| 199 ], | 206 ], |
| 200 }], | 207 }], |
| 201 ] | 208 ] |
| 202 }, | 209 }, |
| 210 { 'target_name': 'generate_trig_table', |
| 211 'type': 'none', |
| 212 'conditions': [ |
| 213 ['want_separate_host_toolset==1', { |
| 214 'toolsets': ['host'], |
| 215 }, { |
| 216 'toolsets': ['target'], |
| 217 }], |
| 218 ], |
| 219 'actions': [ |
| 220 { |
| 221 'action_name': 'generate', |
| 222 'inputs': [ |
| 223 '../../tools/generate-trig-table.py', |
| 224 ], |
| 225 'outputs': [ |
| 226 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', |
| 227 ], |
| 228 'action': [ |
| 229 'python', |
| 230 '../../tools/generate-trig-table.py', |
| 231 '<@(_outputs)', |
| 232 ], |
| 233 }, |
| 234 ] |
| 235 }, |
| 203 { | 236 { |
| 204 'target_name': 'v8_base.<(v8_target_arch)', | 237 'target_name': 'v8_base.<(v8_target_arch)', |
| 205 'type': 'static_library', | 238 'type': 'static_library', |
| 206 'variables': { | 239 'variables': { |
| 207 'optimize': 'max', | 240 'optimize': 'max', |
| 208 }, | 241 }, |
| 209 'include_dirs+': [ | 242 'include_dirs+': [ |
| 210 '../../src', | 243 '../../src', |
| 211 ], | 244 ], |
| 212 'sources': [ ### gcmole(all) ### | 245 'sources': [ ### gcmole(all) ### |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 '../../src/data-flow.h', | 306 '../../src/data-flow.h', |
| 274 '../../src/date.cc', | 307 '../../src/date.cc', |
| 275 '../../src/date.h', | 308 '../../src/date.h', |
| 276 '../../src/dateparser-inl.h', | 309 '../../src/dateparser-inl.h', |
| 277 '../../src/dateparser.cc', | 310 '../../src/dateparser.cc', |
| 278 '../../src/dateparser.h', | 311 '../../src/dateparser.h', |
| 279 '../../src/debug-agent.cc', | 312 '../../src/debug-agent.cc', |
| 280 '../../src/debug-agent.h', | 313 '../../src/debug-agent.h', |
| 281 '../../src/debug.cc', | 314 '../../src/debug.cc', |
| 282 '../../src/debug.h', | 315 '../../src/debug.h', |
| 316 '../../src/default-platform.cc', |
| 317 '../../src/default-platform.h', |
| 283 '../../src/deoptimizer.cc', | 318 '../../src/deoptimizer.cc', |
| 284 '../../src/deoptimizer.h', | 319 '../../src/deoptimizer.h', |
| 285 '../../src/disasm.h', | 320 '../../src/disasm.h', |
| 286 '../../src/disassembler.cc', | 321 '../../src/disassembler.cc', |
| 287 '../../src/disassembler.h', | 322 '../../src/disassembler.h', |
| 288 '../../src/diy-fp.cc', | 323 '../../src/diy-fp.cc', |
| 289 '../../src/diy-fp.h', | 324 '../../src/diy-fp.h', |
| 290 '../../src/double.h', | 325 '../../src/double.h', |
| 291 '../../src/dtoa.cc', | 326 '../../src/dtoa.cc', |
| 292 '../../src/dtoa.h', | 327 '../../src/dtoa.h', |
| (...skipping 633 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 926 'sources!': [ | 961 'sources!': [ |
| 927 '../../src/i18n.cc', | 962 '../../src/i18n.cc', |
| 928 '../../src/i18n.h', | 963 '../../src/i18n.h', |
| 929 ], | 964 ], |
| 930 }], | 965 }], |
| 931 ['OS=="win" and v8_enable_i18n_support==1', { | 966 ['OS=="win" and v8_enable_i18n_support==1', { |
| 932 'dependencies': [ | 967 'dependencies': [ |
| 933 '<(icu_gyp_path):icudata', | 968 '<(icu_gyp_path):icudata', |
| 934 ], | 969 ], |
| 935 }], | 970 }], |
| 971 ['v8_use_default_platform==0', { |
| 972 'sources!': [ |
| 973 '../../src/default-platform.cc', |
| 974 '../../src/default-platform.h', |
| 975 ], |
| 976 }], |
| 936 ], | 977 ], |
| 937 }, | 978 }, |
| 938 { | 979 { |
| 939 'target_name': 'js2c', | 980 'target_name': 'js2c', |
| 940 'type': 'none', | 981 'type': 'none', |
| 941 'conditions': [ | 982 'conditions': [ |
| 942 ['want_separate_host_toolset==1', { | 983 ['want_separate_host_toolset==1', { |
| 943 'toolsets': ['host'], | 984 'toolsets': ['host'], |
| 944 }, { | 985 }, { |
| 945 'toolsets': ['target'], | 986 'toolsets': ['target'], |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1105 }], | 1146 }], |
| 1106 ['v8_compress_startup_data=="bz2"', { | 1147 ['v8_compress_startup_data=="bz2"', { |
| 1107 'libraries': [ | 1148 'libraries': [ |
| 1108 '-lbz2', | 1149 '-lbz2', |
| 1109 ] | 1150 ] |
| 1110 }], | 1151 }], |
| 1111 ], | 1152 ], |
| 1112 }, | 1153 }, |
| 1113 ], | 1154 ], |
| 1114 } | 1155 } |
| OLD | NEW |