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'], | |
105 }], | 92 }], |
106 ], | 93 ], |
107 }], | 94 }], |
108 ['v8_target_arch=="ia32"', { | 95 ['v8_target_arch=="ia32"', { |
109 'defines': [ | 96 'defines': [ |
110 'V8_TARGET_ARCH_IA32', | 97 'V8_TARGET_ARCH_IA32', |
111 ], | 98 ], |
112 }], | 99 }], |
113 ['v8_target_arch=="mips"', { | 100 ['v8_target_arch=="mips"', { |
114 'defines': [ | 101 'defines': [ |
(...skipping 14 matching lines...) Expand all Loading... |
129 'DEBUG', | 116 'DEBUG', |
130 '_DEBUG', | 117 '_DEBUG', |
131 'ENABLE_DISASSEMBLER', | 118 'ENABLE_DISASSEMBLER', |
132 'V8_ENABLE_CHECKS', | 119 'V8_ENABLE_CHECKS', |
133 'OBJECT_PRINT', | 120 'OBJECT_PRINT', |
134 ], | 121 ], |
135 } | 122 } |
136 } | 123 } |
137 } | 124 } |
138 } | 125 } |
OLD | NEW |