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"]
11 with Files("geckoview_example/**"):
12 BUG_COMPONENT = ("GeckoView", "GeckoViewExample")
14 # The recursive make backend treats the first output specially: it's passed as
15 # an open FileAvoidWrite to the invoked script. That doesn't work well with
16 # the Gradle task that generates all of the outputs, so we add a dummy first
20 GENERATED_FILES += [t]
21 GENERATED_FILES[t].force = True
22 GENERATED_FILES[t].script = "/mobile/android/gradle.py:assemble_app"
24 # The Android APKs are assembled in the `export` tier, which usually occurs
25 # before the following files are generated. However, mechanisms in `recurse.mk`
26 # are used to pull the generated files into the `pre-export` tier, so do not
27 # require an explicit dependency here.
29 "MOZ_ANDROID_CONTENT_SERVICE_COUNT",
30 "MOZ_ANDROID_CONTENT_SERVICE_ISOLATED_PROCESS",
32 flags = ["%s=%s" % (k, CONFIG[k] if CONFIG[k] else "") for k in config_keys]
35 ("geckoview/src/main/AndroidManifest_overlay.xml",),
36 script="gen_from_jinja.py",
37 inputs=["geckoview/src/main/AndroidManifest_overlay.jinja"],
43 "geckoview/src/main/java/org/mozilla/gecko/process/GeckoChildProcessServices.java",
45 script="gen_from_jinja.py",
47 "geckoview/src/main/java/org/mozilla/gecko/process/GeckoChildProcessServices.jinja"
53 ("geckoview/src/main/java/org/mozilla/gecko/util/XPCOMError.java",),
54 script="/xpcom/base/ErrorList.py",
55 entry_point="gen_jinja",
56 inputs=["geckoview/src/main/java/org/mozilla/gecko/util/XPCOMError.jinja"],
59 CONFIGURE_SUBST_FILES += ["installer/Makefile"]
72 "geckoview/src/androidTest/assets",
77 TEST_HARNESS_FILES.testing.mochitest.tests.junit += [
78 "geckoview/src/androidTest/assets/www/forms_iframe.html",
79 "geckoview/src/androidTest/assets/www/forms_xorigin.html",
80 "geckoview/src/androidTest/assets/www/hello.html",
81 "geckoview/src/androidTest/assets/www/hsts_header.sjs",
82 "geckoview/src/androidTest/assets/www/iframe_http_only.html",
83 "geckoview/src/androidTest/assets/www/simple_redirect.sjs",
84 "geckoview/src/androidTest/assets/www/update_manifest.json",
87 SPHINX_TREES["/mobile/android"] = "docs"
89 with Files("docs/**"):
90 SCHEDULES.exclusive = ["docs"]