| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 }], | 136 }], |
| 137 [ 'arm_test_noprobe=="on"', { | 137 [ 'arm_test_noprobe=="on"', { |
| 138 'defines': [ | 138 'defines': [ |
| 139 'ARM_TEST_NO_FEATURE_PROBE', | 139 'ARM_TEST_NO_FEATURE_PROBE', |
| 140 ], | 140 ], |
| 141 }], | 141 }], |
| 142 ], | 142 ], |
| 143 'target_conditions': [ | 143 'target_conditions': [ |
| 144 ['_toolset=="host"', { | 144 ['_toolset=="host"', { |
| 145 'conditions': [ | 145 'conditions': [ |
| 146 ['v8_target_arch==host_arch', { | 146 ['v8_target_arch==host_arch and android_webview_build==0', { |
| 147 # Host built with an Arm CXX compiler. | 147 # Host built with an Arm CXX compiler. |
| 148 'conditions': [ | 148 'conditions': [ |
| 149 [ 'arm_version==7', { | 149 [ 'arm_version==7', { |
| 150 'cflags': ['-march=armv7-a',], | 150 'cflags': ['-march=armv7-a',], |
| 151 }], | 151 }], |
| 152 [ 'arm_version==7 or arm_version=="default"', { | 152 [ 'arm_version==7 or arm_version=="default"', { |
| 153 'conditions': [ | 153 'conditions': [ |
| 154 [ 'arm_fpu!="default"', { | 154 [ 'arm_fpu!="default"', { |
| 155 'cflags': ['-mfpu=<(arm_fpu)',], | 155 'cflags': ['-mfpu=<(arm_fpu)',], |
| 156 }], | 156 }], |
| (...skipping 22 matching lines...) Expand all Loading... |
| 179 'defines': [ | 179 'defines': [ |
| 180 'USE_EABI_HARDFLOAT=0', | 180 'USE_EABI_HARDFLOAT=0', |
| 181 ], | 181 ], |
| 182 }], | 182 }], |
| 183 ], | 183 ], |
| 184 }], | 184 }], |
| 185 ], | 185 ], |
| 186 }], # _toolset=="host" | 186 }], # _toolset=="host" |
| 187 ['_toolset=="target"', { | 187 ['_toolset=="target"', { |
| 188 'conditions': [ | 188 'conditions': [ |
| 189 ['v8_target_arch==target_arch', { | 189 ['v8_target_arch==target_arch and android_webview_build==0', { |
| 190 # Target built with an Arm CXX compiler. | 190 # Target built with an Arm CXX compiler. |
| 191 'conditions': [ | 191 'conditions': [ |
| 192 [ 'arm_version==7', { | 192 [ 'arm_version==7', { |
| 193 'cflags': ['-march=armv7-a',], | 193 'cflags': ['-march=armv7-a',], |
| 194 }], | 194 }], |
| 195 [ 'arm_version==7 or arm_version=="default"', { | 195 [ 'arm_version==7 or arm_version=="default"', { |
| 196 'conditions': [ | 196 'conditions': [ |
| 197 [ 'arm_fpu!="default"', { | 197 [ 'arm_fpu!="default"', { |
| 198 'cflags': ['-mfpu=<(arm_fpu)',], | 198 'cflags': ['-mfpu=<(arm_fpu)',], |
| 199 }], | 199 }], |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 'defines': [ | 243 'defines': [ |
| 244 'V8_TARGET_ARCH_X87', | 244 'V8_TARGET_ARCH_X87', |
| 245 ], | 245 ], |
| 246 'cflags': ['-march=i586'], | 246 'cflags': ['-march=i586'], |
| 247 }], # v8_target_arch=="x87" | 247 }], # v8_target_arch=="x87" |
| 248 ['v8_target_arch=="mips"', { | 248 ['v8_target_arch=="mips"', { |
| 249 'defines': [ | 249 'defines': [ |
| 250 'V8_TARGET_ARCH_MIPS', | 250 'V8_TARGET_ARCH_MIPS', |
| 251 ], | 251 ], |
| 252 'conditions': [ | 252 'conditions': [ |
| 253 ['v8_target_arch==target_arch', { | 253 ['v8_target_arch==target_arch and android_webview_build==0', { |
| 254 # Target built with a Mips CXX compiler. | 254 # Target built with a Mips CXX compiler. |
| 255 'target_conditions': [ | 255 'target_conditions': [ |
| 256 ['_toolset=="target"', { | 256 ['_toolset=="target"', { |
| 257 'cflags': ['-EB'], | 257 'cflags': ['-EB'], |
| 258 'ldflags': ['-EB'], | 258 'ldflags': ['-EB'], |
| 259 'conditions': [ | 259 'conditions': [ |
| 260 [ 'v8_use_mips_abi_hardfloat=="true"', { | 260 [ 'v8_use_mips_abi_hardfloat=="true"', { |
| 261 'cflags': ['-mhard-float'], | 261 'cflags': ['-mhard-float'], |
| 262 'ldflags': ['-mhard-float'], | 262 'ldflags': ['-mhard-float'], |
| 263 }, { | 263 }, { |
| (...skipping 28 matching lines...) Expand all Loading... |
| 292 ['mips_arch_variant=="r2"', { | 292 ['mips_arch_variant=="r2"', { |
| 293 'defines': ['_MIPS_ARCH_MIPS32R2',], | 293 'defines': ['_MIPS_ARCH_MIPS32R2',], |
| 294 }], | 294 }], |
| 295 ], | 295 ], |
| 296 }], # v8_target_arch=="mips" | 296 }], # v8_target_arch=="mips" |
| 297 ['v8_target_arch=="mipsel"', { | 297 ['v8_target_arch=="mipsel"', { |
| 298 'defines': [ | 298 'defines': [ |
| 299 'V8_TARGET_ARCH_MIPS', | 299 'V8_TARGET_ARCH_MIPS', |
| 300 ], | 300 ], |
| 301 'conditions': [ | 301 'conditions': [ |
| 302 ['v8_target_arch==target_arch', { | 302 ['v8_target_arch==target_arch and android_webview_build==0', { |
| 303 # Target built with a Mips CXX compiler. | 303 # Target built with a Mips CXX compiler. |
| 304 'target_conditions': [ | 304 'target_conditions': [ |
| 305 ['_toolset=="target"', { | 305 ['_toolset=="target"', { |
| 306 'cflags': ['-EL'], | 306 'cflags': ['-EL'], |
| 307 'ldflags': ['-EL'], | 307 'ldflags': ['-EL'], |
| 308 'conditions': [ | 308 'conditions': [ |
| 309 [ 'v8_use_mips_abi_hardfloat=="true"', { | 309 [ 'v8_use_mips_abi_hardfloat=="true"', { |
| 310 'cflags': ['-mhard-float'], | 310 'cflags': ['-mhard-float'], |
| 311 'ldflags': ['-mhard-float'], | 311 'ldflags': ['-mhard-float'], |
| 312 }, { | 312 }, { |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 ['mips_arch_variant=="loongson"', { | 347 ['mips_arch_variant=="loongson"', { |
| 348 'defines': ['_MIPS_ARCH_LOONGSON',], | 348 'defines': ['_MIPS_ARCH_LOONGSON',], |
| 349 }], | 349 }], |
| 350 ], | 350 ], |
| 351 }], # v8_target_arch=="mipsel" | 351 }], # v8_target_arch=="mipsel" |
| 352 ['v8_target_arch=="mips64el"', { | 352 ['v8_target_arch=="mips64el"', { |
| 353 'defines': [ | 353 'defines': [ |
| 354 'V8_TARGET_ARCH_MIPS64', | 354 'V8_TARGET_ARCH_MIPS64', |
| 355 ], | 355 ], |
| 356 'conditions': [ | 356 'conditions': [ |
| 357 ['v8_target_arch==target_arch', { | 357 ['v8_target_arch==target_arch and android_webview_build==0', { |
| 358 # Target built with a Mips CXX compiler. | 358 # Target built with a Mips CXX compiler. |
| 359 'target_conditions': [ | 359 'target_conditions': [ |
| 360 ['_toolset=="target"', { | 360 ['_toolset=="target"', { |
| 361 'cflags': ['-EL'], | 361 'cflags': ['-EL'], |
| 362 'ldflags': ['-EL'], | 362 'ldflags': ['-EL'], |
| 363 'conditions': [ | 363 'conditions': [ |
| 364 [ 'v8_use_mips_abi_hardfloat=="true"', { | 364 [ 'v8_use_mips_abi_hardfloat=="true"', { |
| 365 'cflags': ['-mhard-float'], | 365 'cflags': ['-mhard-float'], |
| 366 'ldflags': ['-mhard-float'], | 366 'ldflags': ['-mhard-float'], |
| 367 }, { | 367 }, { |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 817 'OptimizeReferences': '2', | 817 'OptimizeReferences': '2', |
| 818 'EnableCOMDATFolding': '2', | 818 'EnableCOMDATFolding': '2', |
| 819 }, | 819 }, |
| 820 }, | 820 }, |
| 821 }], # OS=="win" | 821 }], # OS=="win" |
| 822 ], # conditions | 822 ], # conditions |
| 823 }, # Release | 823 }, # Release |
| 824 }, # configurations | 824 }, # configurations |
| 825 }, # target_defaults | 825 }, # target_defaults |
| 826 } | 826 } |
| OLD | NEW |