def setLD_LIBRARY_PATH(self, env): if self.options.use_device_libs: env["LD_LIBRARY_PATH"] = "/system/b2g" env["LD_PRELOAD"] = "/system/b2g/libmozglue.so" else: XPCShellRemote.setLD_LIBRARY_PATH(self, env)
def setLD_LIBRARY_PATH(self): self.env['LD_LIBRARY_PATH'] = '/system/b2g' if not self.options.use_device_libs: # overwrite /system/b2g if necessary XPCShellRemote.setLD_LIBRARY_PATH(self)
def setLD_LIBRARY_PATH(self, env): if self.options.use_device_libs: env['LD_LIBRARY_PATH'] = '/system/b2g' env['LD_PRELOAD'] = '/system/b2g/libmozglue.so' else: XPCShellRemote.setLD_LIBRARY_PATH(self, env)