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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 'include_dirs+': [ | 192 'include_dirs+': [ |
193 '../../src', | 193 '../../src', |
194 ], | 194 ], |
195 'sources': [ | 195 'sources': [ |
196 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', | 196 '<(SHARED_INTERMEDIATE_DIR)/libraries.cc', |
197 '../../src/snapshot-empty.cc', | 197 '../../src/snapshot-empty.cc', |
198 ], | 198 ], |
199 'conditions': [ | 199 'conditions': [ |
200 # The ARM assembler assumes the host is 32 bits, so force building | 200 # The ARM assembler assumes the host is 32 bits, so force building |
201 # 32-bit host tools. | 201 # 32-bit host tools. |
202 # TODO(piman): This assumes that the host is ia32 or amd64. Fixing the | 202 ['target_arch=="arm" and host_arch=="x64" and _toolset=="host"', { |
203 # code would be better | |
204 ['target_arch=="arm" and _toolset=="host"', { | |
205 'cflags': ['-m32'], | 203 'cflags': ['-m32'], |
206 'ldflags': ['-m32'], | 204 'ldflags': ['-m32'], |
207 }] | 205 }] |
208 ] | 206 ] |
209 }, | 207 }, |
210 { | 208 { |
211 'target_name': 'v8_base', | 209 'target_name': 'v8_base', |
212 'type': '<(library)', | 210 'type': '<(library)', |
213 'toolsets': ['host', 'target'], | 211 'toolsets': ['host', 'target'], |
214 'include_dirs+': [ | 212 'include_dirs+': [ |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 '../../src/arm/regexp-macro-assembler-arm.h', | 419 '../../src/arm/regexp-macro-assembler-arm.h', |
422 '../../src/arm/register-allocator-arm.cc', | 420 '../../src/arm/register-allocator-arm.cc', |
423 '../../src/arm/simulator-arm.cc', | 421 '../../src/arm/simulator-arm.cc', |
424 '../../src/arm/stub-cache-arm.cc', | 422 '../../src/arm/stub-cache-arm.cc', |
425 '../../src/arm/virtual-frame-arm.cc', | 423 '../../src/arm/virtual-frame-arm.cc', |
426 '../../src/arm/virtual-frame-arm.h', | 424 '../../src/arm/virtual-frame-arm.h', |
427 ], | 425 ], |
428 'conditions': [ | 426 'conditions': [ |
429 # The ARM assembler assumes the host is 32 bits, so force building | 427 # The ARM assembler assumes the host is 32 bits, so force building |
430 # 32-bit host tools. | 428 # 32-bit host tools. |
431 # TODO(piman): This assumes that the host is ia32 or amd64. Fixing | 429 ['host_arch=="x64" and _toolset=="host"', { |
432 # the code would be better | |
433 ['_toolset=="host"', { | |
434 'cflags': ['-m32'], | 430 'cflags': ['-m32'], |
435 'ldflags': ['-m32'], | 431 'ldflags': ['-m32'], |
436 }] | 432 }] |
437 ] | 433 ] |
438 }], | 434 }], |
439 ['target_arch=="ia32"', { | 435 ['target_arch=="ia32"', { |
440 'include_dirs+': [ | 436 'include_dirs+': [ |
441 '../../src/ia32', | 437 '../../src/ia32', |
442 ], | 438 ], |
443 'sources': [ | 439 'sources': [ |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 ], | 587 ], |
592 'include_dirs+': [ | 588 'include_dirs+': [ |
593 '../../src', | 589 '../../src', |
594 ], | 590 ], |
595 'sources': [ | 591 'sources': [ |
596 '../../src/mksnapshot.cc', | 592 '../../src/mksnapshot.cc', |
597 ], | 593 ], |
598 'conditions': [ | 594 'conditions': [ |
599 # The ARM assembler assumes the host is 32 bits, so force building | 595 # The ARM assembler assumes the host is 32 bits, so force building |
600 # 32-bit host tools. | 596 # 32-bit host tools. |
601 # TODO(piman): This assumes that the host is ia32 or amd64. Fixing | 597 ['target_arch=="arm" and host_arch=="x64" and _toolset=="host"', { |
602 # the code would be better | |
603 ['target_arch=="arm" and _toolset=="host"', { | |
604 'cflags': ['-m32'], | 598 'cflags': ['-m32'], |
605 'ldflags': ['-m32'], | 599 'ldflags': ['-m32'], |
606 }] | 600 }] |
607 ] | 601 ] |
608 }, | 602 }, |
609 { | 603 { |
610 'target_name': 'v8_shell', | 604 'target_name': 'v8_shell', |
611 'type': 'executable', | 605 'type': 'executable', |
612 'dependencies': [ | 606 'dependencies': [ |
613 'v8' | 607 'v8' |
614 ], | 608 ], |
615 'sources': [ | 609 'sources': [ |
616 '../../samples/shell.cc', | 610 '../../samples/shell.cc', |
617 ], | 611 ], |
618 'conditions': [ | 612 'conditions': [ |
619 [ 'OS=="win"', { | 613 [ 'OS=="win"', { |
620 # This could be gotten by not setting chromium_code, if that's OK. | 614 # This could be gotten by not setting chromium_code, if that's OK. |
621 'defines': ['_CRT_SECURE_NO_WARNINGS'], | 615 'defines': ['_CRT_SECURE_NO_WARNINGS'], |
622 }], | 616 }], |
623 ], | 617 ], |
624 }, | 618 }, |
625 ], | 619 ], |
626 } | 620 } |
OLD | NEW |