Bug 1521459 Add the certutil path to 'LD_LIBRARY_PATH' variable when running a local android tp6 run r=rwood

Differential Revision: https://phabricator.services.mozilla.com/D16970

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Florin Strugariu 2019-01-21 14:58:30 +00:00
Родитель 96bd720118
Коммит 791aa236d2
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -396,6 +396,7 @@ class MitmproxyAndroid(Mitmproxy):
if self.config['run_local']: if self.config['run_local']:
# when running locally, it is found in the Firefox desktop build (..obj../dist/bin) # when running locally, it is found in the Firefox desktop build (..obj../dist/bin)
self.certutil = os.path.join(self.config['obj_path'], 'dist', 'bin') self.certutil = os.path.join(self.config['obj_path'], 'dist', 'bin')
os.environ['LD_LIBRARY_PATH'] = self.certutil
else: else:
# must download certutil inside hostutils via tooltool; use this manifest: # must download certutil inside hostutils via tooltool; use this manifest:
# mozilla-central/testing/config/tooltool-manifests/linux64/hostutils.manifest # mozilla-central/testing/config/tooltool-manifests/linux64/hostutils.manifest