| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 }, | 107 }, |
| 108 { | 108 { |
| 109 'target_name': 'v8_snapshot', | 109 'target_name': 'v8_snapshot', |
| 110 'type': 'static_library', | 110 'type': 'static_library', |
| 111 'conditions': [ | 111 'conditions': [ |
| 112 ['want_separate_host_toolset==1', { | 112 ['want_separate_host_toolset==1', { |
| 113 'toolsets': ['host', 'target'], | 113 'toolsets': ['host', 'target'], |
| 114 'dependencies': [ | 114 'dependencies': [ |
| 115 'mksnapshot#host', | 115 'mksnapshot#host', |
| 116 'js2c#host', | 116 'js2c#host', |
| 117 'generate_trig_table#host', | |
| 118 ], | 117 ], |
| 119 }, { | 118 }, { |
| 120 'toolsets': ['target'], | 119 'toolsets': ['target'], |
| 121 'dependencies': [ | 120 'dependencies': [ |
| 122 'mksnapshot', | 121 'mksnapshot', |
| 123 'js2c', | 122 'js2c', |
| 124 'generate_trig_table', | |
| 125 ], | 123 ], |
| 126 }], | 124 }], |
| 127 ['component=="shared_library"', { | 125 ['component=="shared_library"', { |
| 128 'defines': [ | 126 'defines': [ |
| 129 'V8_SHARED', | 127 'V8_SHARED', |
| 130 'BUILDING_V8_SHARED', | 128 'BUILDING_V8_SHARED', |
| 131 ], | 129 ], |
| 132 'direct_dependent_settings': { | 130 'direct_dependent_settings': { |
| 133 'defines': [ | 131 'defines': [ |
| 134 'V8_SHARED', | 132 'V8_SHARED', |
| 135 'USING_V8_SHARED', | 133 'USING_V8_SHARED', |
| 136 ], | 134 ], |
| 137 }, | 135 }, |
| 138 }], | 136 }], |
| 139 ], | 137 ], |
| 140 'dependencies': [ | 138 'dependencies': [ |
| 141 'v8_base', | 139 'v8_base', |
| 142 ], | 140 ], |
| 143 'include_dirs+': [ | 141 'include_dirs+': [ |
| 144 '../..', | 142 '../..', |
| 145 ], | 143 ], |
| 146 'sources': [ | 144 'sources': [ |
| 147 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 145 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 148 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 146 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 149 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
| 150 '<(INTERMEDIATE_DIR)/snapshot.cc', | 147 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 151 ], | 148 ], |
| 152 'actions': [ | 149 'actions': [ |
| 153 { | 150 { |
| 154 'action_name': 'run_mksnapshot', | 151 'action_name': 'run_mksnapshot', |
| 155 'inputs': [ | 152 'inputs': [ |
| 156 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', | 153 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', |
| 157 ], | 154 ], |
| 158 'outputs': [ | 155 'outputs': [ |
| 159 '<(INTERMEDIATE_DIR)/snapshot.cc', | 156 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| (...skipping 22 matching lines...) Expand all Loading... |
| 182 'type': 'static_library', | 179 'type': 'static_library', |
| 183 'dependencies': [ | 180 'dependencies': [ |
| 184 'v8_base', | 181 'v8_base', |
| 185 ], | 182 ], |
| 186 'include_dirs+': [ | 183 'include_dirs+': [ |
| 187 '../..', | 184 '../..', |
| 188 ], | 185 ], |
| 189 'sources': [ | 186 'sources': [ |
| 190 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 187 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 191 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', | 188 '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries.cc', |
| 192 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
| 193 '../../src/snapshot-empty.cc', | 189 '../../src/snapshot-empty.cc', |
| 194 ], | 190 ], |
| 195 'conditions': [ | 191 'conditions': [ |
| 196 ['want_separate_host_toolset==1', { | 192 ['want_separate_host_toolset==1', { |
| 197 'toolsets': ['host', 'target'], | 193 'toolsets': ['host', 'target'], |
| 198 'dependencies': ['js2c#host', 'generate_trig_table#host'], | 194 'dependencies': ['js2c#host'], |
| 199 }, { | 195 }, { |
| 200 'toolsets': ['target'], | 196 'toolsets': ['target'], |
| 201 'dependencies': ['js2c', 'generate_trig_table'], | 197 'dependencies': ['js2c'], |
| 202 }], | 198 }], |
| 203 ['component=="shared_library"', { | 199 ['component=="shared_library"', { |
| 204 'defines': [ | 200 'defines': [ |
| 205 'BUILDING_V8_SHARED', | 201 'BUILDING_V8_SHARED', |
| 206 'V8_SHARED', | 202 'V8_SHARED', |
| 207 ], | 203 ], |
| 208 }], | 204 }], |
| 209 ] | 205 ] |
| 210 }, | 206 }, |
| 211 { 'target_name': 'generate_trig_table', | |
| 212 'type': 'none', | |
| 213 'conditions': [ | |
| 214 ['want_separate_host_toolset==1', { | |
| 215 'toolsets': ['host'], | |
| 216 }, { | |
| 217 'toolsets': ['target'], | |
| 218 }], | |
| 219 ], | |
| 220 'actions': [ | |
| 221 { | |
| 222 'action_name': 'generate', | |
| 223 'inputs': [ | |
| 224 '../../tools/generate-trig-table.py', | |
| 225 ], | |
| 226 'outputs': [ | |
| 227 '<(SHARED_INTERMEDIATE_DIR)/trig-table.cc', | |
| 228 ], | |
| 229 'action': [ | |
| 230 'python', | |
| 231 '../../tools/generate-trig-table.py', | |
| 232 '<@(_outputs)', | |
| 233 ], | |
| 234 }, | |
| 235 ] | |
| 236 }, | |
| 237 { | 207 { |
| 238 'target_name': 'v8_base', | 208 'target_name': 'v8_base', |
| 239 'type': 'static_library', | 209 'type': 'static_library', |
| 240 'dependencies': [ | 210 'dependencies': [ |
| 241 'v8_libbase.<(v8_target_arch)', | 211 'v8_libbase.<(v8_target_arch)', |
| 242 ], | 212 ], |
| 243 'variables': { | 213 'variables': { |
| 244 'optimize': 'max', | 214 'optimize': 'max', |
| 245 }, | 215 }, |
| 246 'include_dirs+': [ | 216 'include_dirs+': [ |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 517 '../../src/property.h', | 487 '../../src/property.h', |
| 518 '../../src/regexp-macro-assembler-irregexp-inl.h', | 488 '../../src/regexp-macro-assembler-irregexp-inl.h', |
| 519 '../../src/regexp-macro-assembler-irregexp.cc', | 489 '../../src/regexp-macro-assembler-irregexp.cc', |
| 520 '../../src/regexp-macro-assembler-irregexp.h', | 490 '../../src/regexp-macro-assembler-irregexp.h', |
| 521 '../../src/regexp-macro-assembler-tracer.cc', | 491 '../../src/regexp-macro-assembler-tracer.cc', |
| 522 '../../src/regexp-macro-assembler-tracer.h', | 492 '../../src/regexp-macro-assembler-tracer.h', |
| 523 '../../src/regexp-macro-assembler.cc', | 493 '../../src/regexp-macro-assembler.cc', |
| 524 '../../src/regexp-macro-assembler.h', | 494 '../../src/regexp-macro-assembler.h', |
| 525 '../../src/regexp-stack.cc', | 495 '../../src/regexp-stack.cc', |
| 526 '../../src/regexp-stack.h', | 496 '../../src/regexp-stack.h', |
| 497 '../../src/rempio2.cc', |
| 498 '../../src/rempio2.h', |
| 527 '../../src/rewriter.cc', | 499 '../../src/rewriter.cc', |
| 528 '../../src/rewriter.h', | 500 '../../src/rewriter.h', |
| 529 '../../src/runtime-profiler.cc', | 501 '../../src/runtime-profiler.cc', |
| 530 '../../src/runtime-profiler.h', | 502 '../../src/runtime-profiler.h', |
| 531 '../../src/runtime.cc', | 503 '../../src/runtime.cc', |
| 532 '../../src/runtime.h', | 504 '../../src/runtime.h', |
| 533 '../../src/safepoint-table.cc', | 505 '../../src/safepoint-table.cc', |
| 534 '../../src/safepoint-table.h', | 506 '../../src/safepoint-table.h', |
| 535 '../../src/sampler.cc', | 507 '../../src/sampler.cc', |
| 536 '../../src/sampler.h', | 508 '../../src/sampler.h', |
| (...skipping 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1240 }], | 1212 }], |
| 1241 ['v8_compress_startup_data=="bz2"', { | 1213 ['v8_compress_startup_data=="bz2"', { |
| 1242 'libraries': [ | 1214 'libraries': [ |
| 1243 '-lbz2', | 1215 '-lbz2', |
| 1244 ] | 1216 ] |
| 1245 }], | 1217 }], |
| 1246 ], | 1218 ], |
| 1247 }, | 1219 }, |
| 1248 ], | 1220 ], |
| 1249 } | 1221 } |
| OLD | NEW |