| OLD | NEW |
| 1 # Copyright 2009 the V8 project authors. All rights reserved. | 1 # Copyright 2009 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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 }, | 145 }, |
| 146 }, | 146 }, |
| 147 { | 147 { |
| 148 'target_name': 'v8_snapshot', | 148 'target_name': 'v8_snapshot', |
| 149 'type': '<(library)', | 149 'type': '<(library)', |
| 150 'dependencies': [ | 150 'dependencies': [ |
| 151 'mksnapshot', | 151 'mksnapshot', |
| 152 'js2c', | 152 'js2c', |
| 153 'v8_base', | 153 'v8_base', |
| 154 ], | 154 ], |
| 155 'include_dirs': [ | 155 'include_dirs+': [ |
| 156 '../../src', | 156 '../../src', |
| 157 ], | 157 ], |
| 158 'sources': [ | 158 'sources': [ |
| 159 '<(SHARED_INTERMEDIATE_DIR)/libraries-empty.cc', | 159 '<(SHARED_INTERMEDIATE_DIR)/libraries-empty.cc', |
| 160 '<(INTERMEDIATE_DIR)/snapshot.cc', | 160 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 161 ], | 161 ], |
| 162 'actions': [ | 162 'actions': [ |
| 163 { | 163 { |
| 164 'action_name': 'run_mksnapshot', | 164 'action_name': 'run_mksnapshot', |
| 165 'inputs': [ | 165 'inputs': [ |
| 166 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', | 166 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', |
| 167 ], | 167 ], |
| 168 'outputs': [ | 168 'outputs': [ |
| 169 '<(INTERMEDIATE_DIR)/snapshot.cc', | 169 '<(INTERMEDIATE_DIR)/snapshot.cc', |
| 170 ], | 170 ], |
| 171 'action': ['<@(_inputs)', '<@(_outputs)'], | 171 'action': ['<@(_inputs)', '<@(_outputs)'], |
| 172 }, | 172 }, |
| 173 ], | 173 ], |
| 174 }, | 174 }, |
| 175 { | 175 { |
| 176 'target_name': 'v8_nosnapshot', | 176 'target_name': 'v8_nosnapshot', |
| 177 'type': '<(library)', | 177 'type': '<(library)', |
| 178 'dependencies': [ | 178 'dependencies': [ |
| 179 'js2c', | 179 'js2c', |
| 180 'v8_base', | 180 'v8_base', |
| 181 ], | 181 ], |
| 182 'include_dirs': [ | 182 'include_dirs+': [ |
| 183 '../../src', | 183 '../../src', |
| 184 ], | 184 ], |
| 185 'sources': [ | 185 'sources': [ |
| 186 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 186 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
| 187 '../../src/snapshot-empty.cc', | 187 '../../src/snapshot-empty.cc', |
| 188 ], | 188 ], |
| 189 }, | 189 }, |
| 190 { | 190 { |
| 191 'target_name': 'v8_base', | 191 'target_name': 'v8_base', |
| 192 'type': '<(library)', | 192 'type': '<(library)', |
| 193 'include_dirs': [ | 193 'include_dirs+': [ |
| 194 '../../src', | 194 '../../src', |
| 195 ], | 195 ], |
| 196 'sources': [ | 196 'sources': [ |
| 197 '../../src/accessors.cc', | 197 '../../src/accessors.cc', |
| 198 '../../src/accessors.h', | 198 '../../src/accessors.h', |
| 199 '../../src/allocation.cc', | 199 '../../src/allocation.cc', |
| 200 '../../src/allocation.h', | 200 '../../src/allocation.h', |
| 201 '../../src/api.cc', | 201 '../../src/api.cc', |
| 202 '../../src/api.h', | 202 '../../src/api.h', |
| 203 '../../src/apiutils.h', | 203 '../../src/apiutils.h', |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 ], | 502 ], |
| 503 }, | 503 }, |
| 504 ], | 504 ], |
| 505 }, | 505 }, |
| 506 { | 506 { |
| 507 'target_name': 'mksnapshot', | 507 'target_name': 'mksnapshot', |
| 508 'type': 'executable', | 508 'type': 'executable', |
| 509 'dependencies': [ | 509 'dependencies': [ |
| 510 'v8_nosnapshot', | 510 'v8_nosnapshot', |
| 511 ], | 511 ], |
| 512 'include_dirs': [ | 512 'include_dirs+': [ |
| 513 '../../src', | 513 '../../src', |
| 514 ], | 514 ], |
| 515 'sources': [ | 515 'sources': [ |
| 516 '../../src/mksnapshot.cc', | 516 '../../src/mksnapshot.cc', |
| 517 ], | 517 ], |
| 518 }, | 518 }, |
| 519 { | 519 { |
| 520 'target_name': 'v8_shell', | 520 'target_name': 'v8_shell', |
| 521 'type': 'executable', | 521 'type': 'executable', |
| 522 'dependencies': [ | 522 'dependencies': [ |
| 523 'v8' | 523 'v8' |
| 524 ], | 524 ], |
| 525 'sources': [ | 525 'sources': [ |
| 526 '../../samples/shell.cc', | 526 '../../samples/shell.cc', |
| 527 ], | 527 ], |
| 528 'conditions': [ | 528 'conditions': [ |
| 529 [ 'OS=="win"', { | 529 [ 'OS=="win"', { |
| 530 # This could be gotten by not setting chromium_code, if that's OK. | 530 # This could be gotten by not setting chromium_code, if that's OK. |
| 531 'defines': ['_CRT_SECURE_NO_WARNINGS'], | 531 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
| 532 }], | 532 }], |
| 533 ], | 533 ], |
| 534 }, | 534 }, |
| 535 ], | 535 ], |
| 536 } | 536 } |
| OLD | NEW |