Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 0a53bfe8a650700e0f62310cb9912e76e662e377..38199a75ed21d9d3b0905b7272db63930cfc2d2f 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2607,6 +2607,16 @@ |
], |
}], |
], |
+ 'target_conditions': [ |
+ # ndk-build copies .a's around the filesystem, breaking |
+ # relative paths in thin archives. Disable using thin |
+ # archives to avoid problems until one of these is fixed: |
+ # http://code.google.com/p/android/issues/detail?id=40302 |
+ # http://code.google.com/p/android/issues/detail?id=40303 |
+ ['_type=="static_library"', { |
+ 'standalone_static_library': 1, |
+ }], |
+ ], |
}], |
], |
}], |