| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 }, | 104 }, |
| 105 { | 105 { |
| 106 'target_name': 'v8_snapshot', | 106 'target_name': 'v8_snapshot', |
| 107 'type': 'static_library', | 107 'type': 'static_library', |
| 108 'conditions': [ | 108 'conditions': [ |
| 109 ['want_separate_host_toolset==1', { | 109 ['want_separate_host_toolset==1', { |
| 110 'toolsets': ['host', 'target'], | 110 'toolsets': ['host', 'target'], |
| 111 'dependencies': [ | 111 'dependencies': [ |
| 112 'mksnapshot#host', | 112 'mksnapshot#host', |
| 113 'js2c#host', | 113 'js2c#host', |
| 114 'generate_trig_table#host', | |
| 115 ], | 114 ], |
| 116 }, { | 115 }, { |
| 117 'toolsets': ['target'], | 116 'toolsets': ['target'], |
| 118 'dependencies': [ | 117 'dependencies': [ |
| 119 'mksnapshot', | 118 'mksnapshot', |
| 120 'js2c', | 119 'js2c', |
| 121 'generate_trig_table', | |
| 122 ], | 120 ], |
| 123 }], | 121 }], |
| 124 ['component=="shared_library"', { | 122 ['component=="shared_library"', { |
| 125 'defines': [ | 123 'defines': [ |
| 126 'V8_SHARED', | 124 'V8_SHARED', |
| 127 'BUILDING_V8_SHARED', | 125 'BUILDING_V8_SHARED', |
| 128 ], | 126 ], |
| 129 'direct_dependent_settings': { | 127 'direct_dependent_settings': { |
| 130 'defines': [ | 128 'defines': [ |
| 131 'V8_SHARED', | 129 'V8_SHARED', |
| 132 'USING_V8_SHARED', | 130 'USING_V8_SHARED', |
| 133 ], | 131 ], |
| 134 }, | 132 }, |
| 135 }], | 133 }], |
| 136 ], | 134 ], |
| 137 'dependencies': [ | 135 'dependencies': [ |
| 138 'v8_base', | 136 'v8_base', |
| 139 ], | 137 ], |
| 140 'include_dirs+': [ | 138 'include_dirs+': [ |
| 141 '../../src', | 139 '../../src', |
| 142 ], | 140 ], |
| 143 'sources': [ | 141 'sources': [ |
| 144 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 142 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 145 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 143 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 146 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
| 147 '<(INTERMEDIATE_DIR)/snapshot.cc', | 144 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 148 ], | 145 ], |
| 149 'actions': [ | 146 'actions': [ |
| 150 { | 147 { |
| 151 'action_name': 'run_mksnapshot', | 148 'action_name': 'run_mksnapshot', |
| 152 'inputs': [ | 149 'inputs': [ |
| 153 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', | 150 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', |
| 154 ], | 151 ], |
| 155 'outputs': [ | 152 'outputs': [ |
| 156 '<(INTERMEDIATE_DIR)/snapshot.cc', | 153 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| (...skipping 22 matching lines...) Expand all Loading... |
| 179 'type': 'static_library', | 176 'type': 'static_library', |
| 180 'dependencies': [ | 177 'dependencies': [ |
| 181 'v8_base', | 178 'v8_base', |
| 182 ], | 179 ], |
| 183 'include_dirs+': [ | 180 'include_dirs+': [ |
| 184 '../../src', | 181 '../../src', |
| 185 ], | 182 ], |
| 186 'sources': [ | 183 'sources': [ |
| 187 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 184 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 188 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 185 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 189 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
| 190 '../../src/snapshot-empty.cc', | 186 '../../src/snapshot-empty.cc', |
| 191 ], | 187 ], |
| 192 'conditions': [ | 188 'conditions': [ |
| 193 ['want_separate_host_toolset==1', { | 189 ['want_separate_host_toolset==1', { |
| 194 'toolsets': ['host', 'target'], | 190 'toolsets': ['host', 'target'], |
| 195 'dependencies': ['js2c#host', 'generate_trig_table#host'], | 191 'dependencies': ['js2c#host'], |
| 196 }, { | 192 }, { |
| 197 'toolsets': ['target'], | 193 'toolsets': ['target'], |
| 198 'dependencies': ['js2c', 'generate_trig_table'], | 194 'dependencies': ['js2c'], |
| 199 }], | 195 }], |
| 200 ['component=="shared_library"', { | 196 ['component=="shared_library"', { |
| 201 'defines': [ | 197 'defines': [ |
| 202 'BUILDING_V8_SHARED', | 198 'BUILDING_V8_SHARED', |
| 203 'V8_SHARED', | 199 'V8_SHARED', |
| 204 ], | 200 ], |
| 205 }], | 201 }], |
| 206 ] | 202 ] |
| 207 }, | 203 }, |
| 208 { 'target_name': 'generate_trig_table', | |
| 209 'type': 'none', | |
| 210 'conditions': [ | |
| 211 ['want_separate_host_toolset==1', { | |
| 212 'toolsets': ['host'], | |
| 213 }, { | |
| 214 'toolsets': ['target'], | |
| 215 }], | |
| 216 ], | |
| 217 'actions': [ | |
| 218 { | |
| 219 'action_name': 'generate', | |
| 220 'inputs': [ | |
| 221 '../../tools/generate-trig-table.py', | |
| 222 ], | |
| 223 'outputs': [ | |
| 224 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
| 225 ], | |
| 226 'action': [ | |
| 227 'python', | |
| 228 '../../tools/generate-trig-table.py', | |
| 229 '<@(_outputs)', | |
| 230 ], | |
| 231 }, | |
| 232 ] | |
| 233 }, | |
| 234 { | 204 { |
| 235 'target_name': 'v8_base', | 205 'target_name': 'v8_base', |
| 236 'type': 'static_library', | 206 'type': 'static_library', |
| 237 'dependencies': [ | 207 'dependencies': [ |
| 238 'v8_libbase.<(v8_target_arch)', | 208 'v8_libbase.<(v8_target_arch)', |
| 239 ], | 209 ], |
| 240 'variables': { | 210 'variables': { |
| 241 'optimize': 'max', | 211 'optimize': 'max', |
| 242 }, | 212 }, |
| 243 'include_dirs+': [ | 213 'include_dirs+': [ |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 '../../src/property.h', | 482 '../../src/property.h', |
| 513 '../../src/regexp-macro-assembler-irregexp-inl.h', | 483 '../../src/regexp-macro-assembler-irregexp-inl.h', |
| 514 '../../src/regexp-macro-assembler-irregexp.cc', | 484 '../../src/regexp-macro-assembler-irregexp.cc', |
| 515 '../../src/regexp-macro-assembler-irregexp.h', | 485 '../../src/regexp-macro-assembler-irregexp.h', |
| 516 '../../src/regexp-macro-assembler-tracer.cc', | 486 '../../src/regexp-macro-assembler-tracer.cc', |
| 517 '../../src/regexp-macro-assembler-tracer.h', | 487 '../../src/regexp-macro-assembler-tracer.h', |
| 518 '../../src/regexp-macro-assembler.cc', | 488 '../../src/regexp-macro-assembler.cc', |
| 519 '../../src/regexp-macro-assembler.h', | 489 '../../src/regexp-macro-assembler.h', |
| 520 '../../src/regexp-stack.cc', | 490 '../../src/regexp-stack.cc', |
| 521 '../../src/regexp-stack.h', | 491 '../../src/regexp-stack.h', |
| 492 '../../src/rempio2.cc', |
| 493 '../../src/rempio2.h', |
| 522 '../../src/rewriter.cc', | 494 '../../src/rewriter.cc', |
| 523 '../../src/rewriter.h', | 495 '../../src/rewriter.h', |
| 524 '../../src/runtime-profiler.cc', | 496 '../../src/runtime-profiler.cc', |
| 525 '../../src/runtime-profiler.h', | 497 '../../src/runtime-profiler.h', |
| 526 '../../src/runtime.cc', | 498 '../../src/runtime.cc', |
| 527 '../../src/runtime.h', | 499 '../../src/runtime.h', |
| 528 '../../src/safepoint-table.cc', | 500 '../../src/safepoint-table.cc', |
| 529 '../../src/safepoint-table.h', | 501 '../../src/safepoint-table.h', |
| 530 '../../src/sampler.cc', | 502 '../../src/sampler.cc', |
| 531 '../../src/sampler.h', | 503 '../../src/sampler.h', |
| (...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1221 }], | 1193 }], |
| 1222 ['v8_compress_startup_data=="bz2"', { | 1194 ['v8_compress_startup_data=="bz2"', { |
| 1223 'libraries': [ | 1195 'libraries': [ |
| 1224 '-lbz2', | 1196 '-lbz2', |
| 1225 ] | 1197 ] |
| 1226 }], | 1198 }], |
| 1227 ], | 1199 ], |
| 1228 }, | 1200 }, |
| 1229 ], | 1201 ], |
| 1230 } | 1202 } |
| OLD | NEW |