| 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 [ 'target_arch=="ia32"', { | 82 [ 'target_arch=="ia32"', { |
| 83 'cflags': [ '-m32' ], | 83 'cflags': [ '-m32' ], |
| 84 'ldflags': [ '-m32' ], | 84 'ldflags': [ '-m32' ], |
| 85 }], | 85 }], |
| 86 [ 'OS=="linux"', { | 86 [ 'OS=="linux"', { |
| 87 'cflags': [ '-ansi' ], | 87 'cflags': [ '-ansi' ], |
| 88 }], | 88 }], |
| 89 [ 'visibility=="hidden"', { | 89 [ 'visibility=="hidden"', { |
| 90 'cflags': [ '-fvisibility=hidden' ], | 90 'cflags': [ '-fvisibility=hidden' ], |
| 91 }], | 91 }], |
| 92 [ 'component=="shared_library"', { |
| 93 'cflags': [ '-fPIC', ], |
| 94 }], |
| 92 ], | 95 ], |
| 93 }, | 96 }, |
| 94 }], # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"' | 97 }], # 'OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris"' |
| 95 ['OS=="win"', { | 98 ['OS=="win"', { |
| 96 'target_defaults': { | 99 'target_defaults': { |
| 97 'defines': [ | 100 'defines': [ |
| 98 'WIN32', | 101 'WIN32', |
| 99 '_CRT_SECURE_NO_DEPRECATE', | 102 '_CRT_SECURE_NO_DEPRECATE', |
| 100 '_CRT_NONSTDC_NO_DEPRECATE', | 103 '_CRT_NONSTDC_NO_DEPRECATE', |
| 101 ], | 104 ], |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 }, | 191 }, |
| 189 'target_conditions': [ | 192 'target_conditions': [ |
| 190 ['_type!="static_library"', { | 193 ['_type!="static_library"', { |
| 191 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 194 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 192 }], | 195 }], |
| 193 ], # target_conditions | 196 ], # target_conditions |
| 194 }, # target_defaults | 197 }, # target_defaults |
| 195 }], # OS=="mac" | 198 }], # OS=="mac" |
| 196 ], | 199 ], |
| 197 } | 200 } |
| OLD | NEW |