Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1343ec16 authored by Ying Wang's avatar Ying Wang Committed by Android Git Automerger
Browse files

am b75fe469: am eafdd2cd: Fix emulator builds

* commit 'b75fe469':
  Fix emulator builds
parents dc7ff054 b75fe469
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -342,9 +342,12 @@ def GetBootableImage(name, prebuilt_name, unpack_dir, tree_subdir,
  else:
    print "building image from target_files %s..." % (tree_subdir,)
    fs_config = "META/" + tree_subdir.lower() + "_filesystem_config.txt"
    return File(name, BuildBootableImage(os.path.join(unpack_dir, tree_subdir),
    data = BuildBootableImage(os.path.join(unpack_dir, tree_subdir),
                              os.path.join(unpack_dir, fs_config),
                                         info_dict))
                              info_dict)
    if data:
      return File(name, data)
    return None


def UnzipTemp(filename, pattern=None):