Index: third_party/libjingle/libjingle.gyp |
=================================================================== |
--- third_party/libjingle/libjingle.gyp (revision 208299) |
+++ third_party/libjingle/libjingle.gyp (working copy) |
@@ -898,13 +898,12 @@ |
'libjingle_webrtc_common', |
], |
'conditions': [ |
- ['libpeer_allocator_shim==1 and ' |
- 'libpeer_target_type!="static_library"', { |
+ ['libpeer_target_type!="static_library"', { |
'sources': [ |
'overrides/initialize_module.cc', |
], |
'conditions': [ |
- ['OS!="mac"', { |
+ ['OS!="mac" and OS!="android"', { |
'sources': [ |
'overrides/allocator_shim/allocator_proxy.cc', |
], |
@@ -936,7 +935,7 @@ |
['OS=="mac" and libpeer_target_type!="static_library"', { |
'product_name': 'libpeerconnection', |
}], |
- ['OS=="android"', { |
+ ['OS=="android" and "<(libpeer_target_type)"=="static_library"', { |
'standalone_static_library': 1, |
}], |
['OS=="linux" and libpeer_target_type!="static_library"', { |