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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 'dependencies': ['v8_base', 'v8_nosnapshot'], | 52 'dependencies': ['v8_base', 'v8_nosnapshot'], |
53 }], | 53 }], |
54 ['component=="shared_library"', { | 54 ['component=="shared_library"', { |
55 'type': '<(component)', | 55 'type': '<(component)', |
56 'sources': [ | 56 'sources': [ |
57 # Note: on non-Windows we still build this file so that gyp | 57 # Note: on non-Windows we still build this file so that gyp |
58 # has some sources to link into the component. | 58 # has some sources to link into the component. |
59 '../../src/v8dll-main.cc', | 59 '../../src/v8dll-main.cc', |
60 ], | 60 ], |
61 'conditions': [ | 61 'conditions': [ |
| 62 ['OS=="mac"', { |
| 63 'xcode_settings': { |
| 64 'OTHER_LDFLAGS': ['-dynamiclib', '-all_load'] |
| 65 }, |
| 66 }], |
62 ['OS=="win"', { | 67 ['OS=="win"', { |
63 'defines': [ | 68 'defines': [ |
64 'BUILDING_V8_SHARED', | 69 'BUILDING_V8_SHARED', |
65 ], | 70 ], |
66 'direct_dependent_settings': { | 71 'direct_dependent_settings': { |
67 'defines': [ | 72 'defines': [ |
68 'USING_V8_SHARED', | 73 'USING_V8_SHARED', |
69 ], | 74 ], |
70 }, | 75 }, |
71 }, { | 76 }, { |
(...skipping 928 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1000 }], | 1005 }], |
1001 ], | 1006 ], |
1002 'dependencies': [ | 1007 'dependencies': [ |
1003 'v8' | 1008 'v8' |
1004 ], | 1009 ], |
1005 }, | 1010 }, |
1006 ], | 1011 ], |
1007 }], | 1012 }], |
1008 ], | 1013 ], |
1009 } | 1014 } |
OLD | NEW |