author Nick Alexander <>
Mon, 28 Mar 2016 20:01:07 -0700
changeset 291315 99f8eb253c8769c6752a98be0306249ed05d7731
permissions -rw-r--r--
Bug 1260241 - Implement Fennec packaging in Python. r=glandium A few notes: * This doesn't accommodate general OMNIJAR_NAME definitions. The current name (assets/omni.ja) is baked into the product in a few places, and is very unlikely to change, so we just error out if this isn't true. * This makes the file authoritative for what goes into assets/, libs/, and the APK root. Previously, wrote into assets/ and libs/ but also had a convoluted DIST_FILES filtering process to work through before a file actually made it into the APK. * This is intentional about repackaging. It simplifies the repackage step rather than trying to make unpackage-then-repackage the same as just package. I pretty much never get repackaging correct the first time; this should help. (I've manually tested it.) * The ALREADY_SZIPPED during repackaging is subsumed by the previous check if UNPACKAGE is set. The custom linker expects stored, not deflated, libraries, so there's some small legwork to accommodate that in mozjar. MozReview-Commit-ID: JvVtIUSX685