Skip to content

Instantly share code, notes, and snippets.

@pcamp96
Created March 20, 2013 20:33
Show Gist options
  • Select an option

  • Save pcamp96/5208171 to your computer and use it in GitHub Desktop.

Select an option

Save pcamp96/5208171 to your computer and use it in GitHub Desktop.
def GetBuildProp(prop, info_dict):
"""Return the fingerprint of the build of a given target-files info_dict."""
try:
# return info_dict.get("build.prop", {})[prop]
# except KeyError:
raise common.ExternalError("couldn't find %s in build.prop" % (property,))
def WriteIncrementalOTAPackage(target_zip, source_zip, output_zip):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment