OLD | NEW |
---|---|
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
113 'os_posix%': 0, | 113 'os_posix%': 0, |
114 }, { | 114 }, { |
115 'os_posix%': 1, | 115 'os_posix%': 1, |
116 }], | 116 }], |
117 ['(v8_target_arch=="ia32" or v8_target_arch=="x64" or v8_target_arch=="x87 ") and \ | 117 ['(v8_target_arch=="ia32" or v8_target_arch=="x64" or v8_target_arch=="x87 ") and \ |
118 (OS=="linux" or OS=="mac")', { | 118 (OS=="linux" or OS=="mac")', { |
119 'v8_enable_gdbjit%': 1, | 119 'v8_enable_gdbjit%': 1, |
120 }, { | 120 }, { |
121 'v8_enable_gdbjit%': 0, | 121 'v8_enable_gdbjit%': 0, |
122 }], | 122 }], |
123 ['OS=="mac"', { | 123 ['OS=="linux" and \ |
124 (v8_target_arch!="arm" or target_arch!="arm") and \ | |
jochen (gone - plz use gerrit)
2015/01/21 15:26:08
target_arch should be enough. If you cross compile
| |
125 (v8_target_arch!="arm64" or target_arch!="arm64") and \ | |
126 (v8_target_arch!="mips" or target_arch!="mips") and \ | |
127 (v8_target_arch!="mipsel" or target_arch!="mipsel") and \ | |
128 (v8_target_arch!="mips64el" or target_arch!="mips64el") or \ | |
129 OS=="mac"', { | |
124 'clang%': 1, | 130 'clang%': 1, |
125 }, { | 131 }, { |
126 'clang%': 0, | 132 'clang%': 0, |
127 }], | 133 }], |
128 ], | 134 ], |
129 # Default ARM variable settings. | 135 # Default ARM variable settings. |
130 'arm_version%': 'default', | 136 'arm_version%': 'default', |
131 'arm_fpu%': 'vfpv3', | 137 'arm_fpu%': 'vfpv3', |
132 'arm_float_abi%': 'default', | 138 'arm_float_abi%': 'default', |
133 'arm_thumb': 'default', | 139 'arm_thumb': 'default', |
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
470 ], | 476 ], |
471 }], | 477 }], |
472 ['clang==1 and OS=="win"', { | 478 ['clang==1 and OS=="win"', { |
473 'make_global_settings': [ | 479 'make_global_settings': [ |
474 # On Windows, gyp's ninja generator only looks at CC. | 480 # On Windows, gyp's ninja generator only looks at CC. |
475 ['CC', '<(make_clang_dir)/bin/clang-cl'], | 481 ['CC', '<(make_clang_dir)/bin/clang-cl'], |
476 ], | 482 ], |
477 }], | 483 }], |
478 ], | 484 ], |
479 } | 485 } |
OLD | NEW |