Index: tools/gyp/v8.gyp |
=================================================================== |
--- tools/gyp/v8.gyp (revision 11551) |
+++ tools/gyp/v8.gyp (working copy) |
@@ -58,31 +58,22 @@ |
# has some sources to link into the component. |
'../../src/v8dll-main.cc', |
], |
+ 'defines': [ |
+ 'V8_SHARED', |
+ 'BUILDING_V8_SHARED', |
+ ], |
+ 'direct_dependent_settings': { |
+ 'defines': [ |
+ 'V8_SHARED', |
+ 'USING_V8_SHARED', |
+ ], |
+ }, |
'conditions': [ |
['OS=="mac"', { |
'xcode_settings': { |
'OTHER_LDFLAGS': ['-dynamiclib', '-all_load'] |
}, |
}], |
- ['OS=="win"', { |
- 'defines': [ |
- 'BUILDING_V8_SHARED', |
- ], |
- 'direct_dependent_settings': { |
- 'defines': [ |
- 'USING_V8_SHARED', |
- ], |
- }, |
- }, { |
- 'defines': [ |
- 'V8_SHARED', |
- ], |
- 'direct_dependent_settings': { |
- 'defines': [ |
- 'V8_SHARED', |
- ], |
- }, |
- }], |
['soname_version!=""', { |
'product_extension': 'so.<(soname_version)', |
}], |
@@ -110,27 +101,16 @@ |
'dependencies': ['mksnapshot', 'js2c'], |
}], |
['component=="shared_library"', { |
- 'conditions': [ |
- ['OS=="win"', { |
- 'defines': [ |
- 'BUILDING_V8_SHARED', |
- ], |
- 'direct_dependent_settings': { |
- 'defines': [ |
- 'USING_V8_SHARED', |
- ], |
- }, |
- }, { |
- 'defines': [ |
- 'V8_SHARED', |
- ], |
- 'direct_dependent_settings': { |
- 'defines': [ |
- 'V8_SHARED', |
- ], |
- }, |
- }], |
+ 'defines': [ |
+ 'V8_SHARED', |
+ 'BUILDING_V8_SHARED', |
], |
+ 'direct_dependent_settings': { |
+ 'defines': [ |
+ 'V8_SHARED', |
+ 'USING_V8_SHARED', |
+ ], |
+ }, |
}], |
], |
'dependencies': [ |