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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 }, | 72 }, |
73 }, | 73 }, |
74 'conditions': [ | 74 'conditions': [ |
75 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { | 75 [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"', { |
76 'target_defaults': { | 76 'target_defaults': { |
77 'cflags': [ '-Wall', '-Werror', '-W', '-Wno-unused-parameter', | 77 'cflags': [ '-Wall', '-Werror', '-W', '-Wno-unused-parameter', |
78 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', | 78 '-Wnon-virtual-dtor', '-pthread', '-fno-rtti', |
79 '-fno-exceptions', '-pedantic' ], | 79 '-fno-exceptions', '-pedantic' ], |
80 'ldflags': [ '-pthread', ], | 80 'ldflags': [ '-pthread', ], |
81 'conditions': [ | 81 'conditions': [ |
82 [ 'target_arch=="ia32"', { | |
83 'cflags': [ '-m32' ], | |
84 'ldflags': [ '-m32' ], | |
85 }], | |
86 [ 'OS=="linux"', { | 82 [ 'OS=="linux"', { |
87 'cflags': [ '-ansi' ], | 83 'cflags': [ '-ansi' ], |
88 }], | 84 }], |
89 [ 'visibility=="hidden"', { | 85 [ 'visibility=="hidden"', { |
90 'cflags': [ '-fvisibility=hidden' ], | 86 'cflags': [ '-fvisibility=hidden' ], |
91 }], | 87 }], |
92 [ 'component=="shared_library"', { | 88 [ 'component=="shared_library"', { |
93 'cflags': [ '-fPIC', ], | 89 'cflags': [ '-fPIC', ], |
94 }], | 90 }], |
95 ], | 91 ], |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 }, | 187 }, |
192 'target_conditions': [ | 188 'target_conditions': [ |
193 ['_type!="static_library"', { | 189 ['_type!="static_library"', { |
194 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 190 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
195 }], | 191 }], |
196 ], # target_conditions | 192 ], # target_conditions |
197 }, # target_defaults | 193 }, # target_defaults |
198 }], # OS=="mac" | 194 }], # OS=="mac" |
199 ], | 195 ], |
200 } | 196 } |
OLD | NEW |