OLD | NEW |
1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 [ 'v8_can_use_vfp_instructions=="true"', { | 82 [ 'v8_can_use_vfp_instructions=="true"', { |
83 'defines': [ | 83 'defines': [ |
84 'CAN_USE_VFP_INSTRUCTIONS', | 84 'CAN_USE_VFP_INSTRUCTIONS', |
85 ], | 85 ], |
86 }], | 86 }], |
87 [ 'v8_use_arm_eabi_hardfloat=="true"', { | 87 [ 'v8_use_arm_eabi_hardfloat=="true"', { |
88 'defines': [ | 88 'defines': [ |
89 'USE_EABI_HARDFLOAT=1', | 89 'USE_EABI_HARDFLOAT=1', |
90 'CAN_USE_VFP_INSTRUCTIONS', | 90 'CAN_USE_VFP_INSTRUCTIONS', |
91 ], | 91 ], |
| 92 'cflags': [ |
| 93 '-mfloat-abi=hard', |
| 94 ], |
| 95 }, { |
| 96 'defines': [ |
| 97 'USE_EABI_HARDFLOAT=0', |
| 98 ], |
| 99 }], |
| 100 # The ARM assembler assumes the host is 32 bits, |
| 101 # so force building 32-bit host tools. |
| 102 [ 'host_arch=="x64"', { |
| 103 'cflags': ['-m32'], |
| 104 'ldflags': ['-m32'], |
92 }], | 105 }], |
93 ], | 106 ], |
94 }], | 107 }], |
95 ['v8_target_arch=="ia32"', { | 108 ['v8_target_arch=="ia32"', { |
96 'defines': [ | 109 'defines': [ |
97 'V8_TARGET_ARCH_IA32', | 110 'V8_TARGET_ARCH_IA32', |
98 ], | 111 ], |
99 }], | 112 }], |
100 ['v8_target_arch=="mips"', { | 113 ['v8_target_arch=="mips"', { |
101 'defines': [ | 114 'defines': [ |
(...skipping 14 matching lines...) Expand all Loading... |
116 'DEBUG', | 129 'DEBUG', |
117 '_DEBUG', | 130 '_DEBUG', |
118 'ENABLE_DISASSEMBLER', | 131 'ENABLE_DISASSEMBLER', |
119 'V8_ENABLE_CHECKS', | 132 'V8_ENABLE_CHECKS', |
120 'OBJECT_PRINT', | 133 'OBJECT_PRINT', |
121 ], | 134 ], |
122 } | 135 } |
123 } | 136 } |
124 } | 137 } |
125 } | 138 } |
OLD | NEW |