author Nick Alexander <>
Mon, 23 Oct 2017 13:24:58 -0700
changeset 440923 133417cefdabf063747c6e9accfa1f3a636ed7af
parent 436724 84946a59ea8a5fae6d77053c5dc8b94ecf2e16e2
child 536385 0689c1b8f4f7775386fcd474adf60789ca297e84
permissions -rw-r--r--
Bug 1411688 - Part 1: Make --with-gradle handle single-locale repacks. r=snorp Single-locale repacks do the following: Download existing APK; unzip APK; update l10n resources; |mach package| with IS_LANGUAGE_REPACK=1. This is pretty hard to accommodate, but we can try. The key issues here are to recognize when IS_LANGUAGE_REPACK=1 and not ask for l10n resources (in particular, strings.xml) to be generated. We do need to include the freshly built classes.dex when repackaging, because newer Gradle/aapt doesn't preserve the IDs. MozReview-Commit-ID: 9FvQtmPOUjg

# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at

with Files("**"):
    BUG_COMPONENT = ("Core", "mozglue")

    DIRS += ['linker']

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
    DIRS += ['android']

DIRS += [

    TEST_DIRS += ['tests']