don't add peerdir to jdk in swig plugin for android
@@ -47,6 +47,7 @@ class Swig(iw.CustomCommand):
self._out_name = os.path.splitext(os.path.basename(self._path))[0] + '.jsrc'
self._out_header = os.path.splitext(self._main_out)[0] + '.h'
self._package = 'ru.yandex.' + os.path.dirname(self._path).replace('$S/', '').replace('$B/', '').replace('/', '.').replace('-', '_')
+ if unit.get('OS_ANDROID') != "yes":
unit.onpeerdir(['contrib/libs/jdk'])
self._flags.append('-' + self._swig_lang)
