| OLD | NEW |
| 1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 }, | 102 }, |
| 103 { | 103 { |
| 104 'conditions': [ | 104 'conditions': [ |
| 105 [ 'arm_fpu!="default"', { | 105 [ 'arm_fpu!="default"', { |
| 106 'cflags': ['-mfpu=<(arm_fpu)',], | 106 'cflags': ['-mfpu=<(arm_fpu)',], |
| 107 }], | 107 }], |
| 108 ], | 108 ], |
| 109 }], | 109 }], |
| 110 ], | 110 ], |
| 111 }], | 111 }], |
| 112 [ 'arm_float_abi!="default"', { | 112 [ 'arm_float_abi!="default" and arm_float_abi!=""', { |
| 113 'cflags': ['-mfloat-abi=<(arm_float_abi)',], | 113 'cflags': ['-mfloat-abi=<(arm_float_abi)',], |
| 114 }], | 114 }], |
| 115 [ 'arm_thumb==1', { | 115 [ 'arm_thumb==1', { |
| 116 'cflags': ['-mthumb',], | 116 'cflags': ['-mthumb',], |
| 117 }], | 117 }], |
| 118 [ 'arm_thumb==0', { | 118 [ 'arm_thumb==0', { |
| 119 'cflags': ['-marm',], | 119 'cflags': ['-marm',], |
| 120 }], | 120 }], |
| 121 [ 'arm_test=="on"', { | 121 [ 'arm_test=="on"', { |
| 122 'defines': [ | 122 'defines': [ |
| (...skipping 26 matching lines...) Expand all Loading... |
| 149 ], | 149 ], |
| 150 }], | 150 }], |
| 151 [ 'arm_fpu=="neon" or arm_neon==1', { | 151 [ 'arm_fpu=="neon" or arm_neon==1', { |
| 152 'defines': [ | 152 'defines': [ |
| 153 'CAN_USE_VFP3_INSTRUCTIONS', | 153 'CAN_USE_VFP3_INSTRUCTIONS', |
| 154 'CAN_USE_VFP32DREGS', | 154 'CAN_USE_VFP32DREGS', |
| 155 ], | 155 ], |
| 156 }], | 156 }], |
| 157 ], | 157 ], |
| 158 }], | 158 }], |
| 159 [ 'arm_float_abi=="hard"', { | 159 [ 'arm_float_abi=="hard" or arm_float_abi=="default" or arm_fl
oat_abi==""', { |
| 160 'defines': [ | 160 'defines': [ |
| 161 'USE_EABI_HARDFLOAT=1', | 161 'USE_EABI_HARDFLOAT=1', |
| 162 ], | 162 ], |
| 163 }], | 163 }], |
| 164 [ 'arm_float_abi=="softfp" or arm_float_abi=="default"', { | 164 [ 'arm_float_abi=="softfp"', { |
| 165 'defines': [ | 165 'defines': [ |
| 166 'USE_EABI_HARDFLOAT=0', | 166 'USE_EABI_HARDFLOAT=0', |
| 167 ], | 167 ], |
| 168 }], | 168 }], |
| 169 ], | 169 ], |
| 170 'defines': [ | 170 'defines': [ |
| 171 'ARM_TEST', | 171 'ARM_TEST', |
| 172 ], | 172 ], |
| 173 }], | 173 }], |
| 174 ], | 174 ], |
| (...skipping 15 matching lines...) Expand all Loading... |
| 190 }, | 190 }, |
| 191 { | 191 { |
| 192 'conditions': [ | 192 'conditions': [ |
| 193 [ 'arm_fpu!="default"', { | 193 [ 'arm_fpu!="default"', { |
| 194 'cflags': ['-mfpu=<(arm_fpu)',], | 194 'cflags': ['-mfpu=<(arm_fpu)',], |
| 195 }], | 195 }], |
| 196 ], | 196 ], |
| 197 }], | 197 }], |
| 198 ], | 198 ], |
| 199 }], | 199 }], |
| 200 [ 'arm_float_abi!="default"', { | 200 [ 'arm_float_abi!="default" and arm_float_abi!=""', { |
| 201 'cflags': ['-mfloat-abi=<(arm_float_abi)',], | 201 'cflags': ['-mfloat-abi=<(arm_float_abi)',], |
| 202 }], | 202 }], |
| 203 [ 'arm_thumb==1', { | 203 [ 'arm_thumb==1', { |
| 204 'cflags': ['-mthumb',], | 204 'cflags': ['-mthumb',], |
| 205 }], | 205 }], |
| 206 [ 'arm_thumb==0', { | 206 [ 'arm_thumb==0', { |
| 207 'cflags': ['-marm',], | 207 'cflags': ['-marm',], |
| 208 }], | 208 }], |
| 209 [ 'arm_test=="on"', { | 209 [ 'arm_test=="on"', { |
| 210 'defines': [ | 210 'defines': [ |
| (...skipping 26 matching lines...) Expand all Loading... |
| 237 ], | 237 ], |
| 238 }], | 238 }], |
| 239 [ 'arm_fpu=="neon" or arm_neon==1', { | 239 [ 'arm_fpu=="neon" or arm_neon==1', { |
| 240 'defines': [ | 240 'defines': [ |
| 241 'CAN_USE_VFP3_INSTRUCTIONS', | 241 'CAN_USE_VFP3_INSTRUCTIONS', |
| 242 'CAN_USE_VFP32DREGS', | 242 'CAN_USE_VFP32DREGS', |
| 243 ], | 243 ], |
| 244 }], | 244 }], |
| 245 ], | 245 ], |
| 246 }], | 246 }], |
| 247 [ 'arm_float_abi=="hard"', { | 247 [ 'arm_float_abi=="hard" or arm_float_abi=="default" or arm_fl
oat_abi==""', { |
| 248 'defines': [ | 248 'defines': [ |
| 249 'USE_EABI_HARDFLOAT=1', | 249 'USE_EABI_HARDFLOAT=1', |
| 250 ], | 250 ], |
| 251 }], | 251 }], |
| 252 [ 'arm_float_abi=="softfp" or arm_float_abi=="default"', { | 252 [ 'arm_float_abi=="softfp"', { |
| 253 'defines': [ | 253 'defines': [ |
| 254 'USE_EABI_HARDFLOAT=0', | 254 'USE_EABI_HARDFLOAT=0', |
| 255 ], | 255 ], |
| 256 }], | 256 }], |
| 257 ], | 257 ], |
| 258 'defines': [ | 258 'defines': [ |
| 259 'ARM_TEST', | 259 'ARM_TEST', |
| 260 ], | 260 ], |
| 261 }], | 261 }], |
| 262 ], | 262 ], |
| (...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 'OptimizeReferences': '2', | 682 'OptimizeReferences': '2', |
| 683 'EnableCOMDATFolding': '2', | 683 'EnableCOMDATFolding': '2', |
| 684 }, | 684 }, |
| 685 }, | 685 }, |
| 686 }], # OS=="win" | 686 }], # OS=="win" |
| 687 ], # conditions | 687 ], # conditions |
| 688 }, # Release | 688 }, # Release |
| 689 }, # configurations | 689 }, # configurations |
| 690 }, # target_defaults | 690 }, # target_defaults |
| 691 } | 691 } |
| OLD | NEW |