1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 BUG_COMPONENT = ("GeckoView", "General")
9 SCHEDULES.exclusive = ["android", "fenix", "focus-android"]
11 with Files("geckoview_example/**"):
12 BUG_COMPONENT = ("GeckoView", "GeckoViewExample")
14 with Files("fenix/**"):
15 BUG_COMPONENT = ("Fenix", "General")
16 SCHEDULES.exclusive = ["android", "fenix"]
18 with Files("focus-android/**"):
19 BUG_COMPONENT = ("Focus", "General")
20 SCHEDULES.exclusive = ["android", "focus-android"]
22 with Files("android-components/**"):
23 BUG_COMPONENT = ("Fenix", "General")
25 # The recursive make backend treats the first output specially: it's passed as
26 # an open FileAvoidWrite to the invoked script. That doesn't work well with
27 # the Gradle task that generates all of the outputs, so we add a dummy first
31 GENERATED_FILES += [t]
32 GENERATED_FILES[t].force = True
33 GENERATED_FILES[t].script = "/mobile/android/gradle.py:assemble_app"
35 # The Android APKs are assembled in the `export` tier, which usually occurs
36 # before the following files are generated. However, mechanisms in `recurse.mk`
37 # are used to pull the generated files into the `pre-export` tier, so do not
38 # require an explicit dependency here.
40 "MOZ_ANDROID_CONTENT_SERVICE_COUNT",
41 "MOZ_ANDROID_CONTENT_SERVICE_ISOLATED_PROCESS",
43 flags = ["%s=%s" % (k, CONFIG[k] if CONFIG[k] else "") for k in config_keys]
46 ("geckoview/src/main/AndroidManifest_overlay.xml",),
47 script="gen_from_jinja.py",
48 inputs=["geckoview/src/main/AndroidManifest_overlay.jinja"],
54 "geckoview/src/main/java/org/mozilla/gecko/process/GeckoChildProcessServices.java",
56 script="gen_from_jinja.py",
58 "geckoview/src/main/java/org/mozilla/gecko/process/GeckoChildProcessServices.jinja"
64 ("geckoview/src/main/java/org/mozilla/gecko/util/XPCOMError.java",),
65 script="/xpcom/base/ErrorList.py",
66 entry_point="gen_jinja",
67 inputs=["geckoview/src/main/java/org/mozilla/gecko/util/XPCOMError.jinja"],
70 CONFIGURE_SUBST_FILES += ["installer/Makefile"]
83 "geckoview/src/androidTest/assets",
88 TEST_HARNESS_FILES.testing.mochitest.tests.junit += [
89 "geckoview/src/androidTest/assets/www/forms_iframe.html",
90 "geckoview/src/androidTest/assets/www/forms_xorigin.html",
91 "geckoview/src/androidTest/assets/www/hello.html",
92 "geckoview/src/androidTest/assets/www/hsts_header.sjs",
93 "geckoview/src/androidTest/assets/www/iframe_http_only.html",
94 "geckoview/src/androidTest/assets/www/simple_redirect.sjs",
95 "geckoview/src/androidTest/assets/www/update_manifest.json",
98 SPHINX_TREES["/mobile/android"] = "docs"
99 SPHINX_TREES["/mobile/android/fenix"] = "fenix/docs"
100 SPHINX_TREES["/mobile/android/focus-android"] = "focus-android/docs"
102 with Files("docs/**"):
103 SCHEDULES.exclusive = ["docs"]