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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ | 48 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or \ |
49 OS=="netbsd" or OS=="mac" or OS=="qnx"', { | 49 OS=="netbsd" or OS=="mac" or OS=="qnx"', { |
50 # This handles the Unix platforms we generally deal with. | 50 # This handles the Unix platforms we generally deal with. |
51 # Anything else gets passed through, which probably won't work | 51 # Anything else gets passed through, which probably won't work |
52 # very well; such hosts should pass an explicit target_arch | 52 # very well; such hosts should pass an explicit target_arch |
53 # to gyp. | 53 # to gyp. |
54 'host_arch%': | 54 'host_arch%': |
55 '<!(uname -m | sed -e "s/i.86/ia32/;\ | 55 '<!(uname -m | sed -e "s/i.86/ia32/;\ |
56 s/x86_64/x64/;\ | 56 s/x86_64/x64/;\ |
57 s/amd64/x64/;\ | 57 s/amd64/x64/;\ |
58 s/aarch64/a64/;\ | 58 s/aarch64/arm64/;\ |
59 s/arm.*/arm/;\ | 59 s/arm.*/arm/;\ |
60 s/mips.*/mipsel/")', | 60 s/mips.*/mipsel/")', |
61 }, { | 61 }, { |
62 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and | 62 # OS!="linux" and OS!="freebsd" and OS!="openbsd" and |
63 # OS!="netbsd" and OS!="mac" | 63 # OS!="netbsd" and OS!="mac" |
64 'host_arch%': 'ia32', | 64 'host_arch%': 'ia32', |
65 }], | 65 }], |
66 ], | 66 ], |
67 }, | 67 }, |
68 'host_arch%': '<(host_arch)', | 68 'host_arch%': '<(host_arch)', |
(...skipping 26 matching lines...) Expand all Loading... |
95 # be used by embedders that need to build their own code as debug | 95 # be used by embedders that need to build their own code as debug |
96 # but don't want or need a debug version of V8. This should produce | 96 # but don't want or need a debug version of V8. This should produce |
97 # near-release speeds. | 97 # near-release speeds. |
98 'v8_optimized_debug%': 0, | 98 'v8_optimized_debug%': 0, |
99 | 99 |
100 # Relative path to icu.gyp from this file. | 100 # Relative path to icu.gyp from this file. |
101 'icu_gyp_path': '../third_party/icu/icu.gyp', | 101 'icu_gyp_path': '../third_party/icu/icu.gyp', |
102 | 102 |
103 'conditions': [ | 103 'conditions': [ |
104 ['(v8_target_arch=="arm" and host_arch!="arm") or \ | 104 ['(v8_target_arch=="arm" and host_arch!="arm") or \ |
105 (v8_target_arch=="a64" and host_arch!="a64") or \ | |
106 (v8_target_arch=="arm64" and host_arch!="arm64") or \ | 105 (v8_target_arch=="arm64" and host_arch!="arm64") or \ |
107 (v8_target_arch=="mipsel" and host_arch!="mipsel") or \ | 106 (v8_target_arch=="mipsel" and host_arch!="mipsel") or \ |
108 (v8_target_arch=="x64" and host_arch!="x64") or \ | 107 (v8_target_arch=="x64" and host_arch!="x64") or \ |
109 (OS=="android" or OS=="qnx")', { | 108 (OS=="android" or OS=="qnx")', { |
110 'want_separate_host_toolset': 1, | 109 'want_separate_host_toolset': 1, |
111 }, { | 110 }, { |
112 'want_separate_host_toolset': 0, | 111 'want_separate_host_toolset': 0, |
113 }], | 112 }], |
114 ['OS == "win"', { | 113 ['OS == "win"', { |
115 'os_posix%': 0, | 114 'os_posix%': 0, |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 ], | 353 ], |
355 'target_conditions': [ | 354 'target_conditions': [ |
356 ['_type!="static_library"', { | 355 ['_type!="static_library"', { |
357 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 356 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
358 }], | 357 }], |
359 ], # target_conditions | 358 ], # target_conditions |
360 }, # target_defaults | 359 }, # target_defaults |
361 }], # OS=="mac" | 360 }], # OS=="mac" |
362 ], | 361 ], |
363 } | 362 } |
OLD | NEW |