This reverts commit711f475966. Revert "Bug 1977950 - Add isolated-process variants to taskcluster tasks. r=geckoview-reviewers,taskgraph-reviewers,ohall,ahal" This reverts commit4826c013d5. Revert "Bug 1977950 - Add --enable-isolated-process to run unit tests with isolated process modde, not using build options. r=jmaher,geckoview-reviewers,ohall" This reverts commitcf6d95fb4e.
118 lines
4.1 KiB
INI
118 lines
4.1 KiB
INI
# 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 http://mozilla.org/MPL/2.0/.
|
|
|
|
with Files("**"):
|
|
BUG_COMPONENT = ("GeckoView", "General")
|
|
SCHEDULES.exclusive = ["android", "fenix", "focus-android"]
|
|
|
|
with Files("geckoview_example/**"):
|
|
BUG_COMPONENT = ("GeckoView", "General")
|
|
|
|
with Files("fenix/**"):
|
|
BUG_COMPONENT = ("Firefox for Android", "General")
|
|
SCHEDULES.exclusive = ["android", "fenix"]
|
|
|
|
with Files("focus-android/**"):
|
|
BUG_COMPONENT = ("Focus", "General")
|
|
SCHEDULES.exclusive = ["android", "focus-android"]
|
|
|
|
with Files("android-components/**"):
|
|
BUG_COMPONENT = ("Firefox for Android", "General")
|
|
|
|
# The Android APKs are assembled in the `export` tier, which usually occurs
|
|
# before the following files are generated. However, mechanisms in `recurse.mk`
|
|
# are used to pull the generated files into the `pre-export` tier, so do not
|
|
# require an explicit dependency here.
|
|
config_keys = (
|
|
"MOZ_ANDROID_CONTENT_SERVICE_COUNT",
|
|
"MOZ_ANDROID_CONTENT_SERVICE_ISOLATED_PROCESS",
|
|
)
|
|
flags = ["%s=%s" % (k, CONFIG[k] if CONFIG[k] else "") for k in config_keys]
|
|
|
|
GeneratedFile(
|
|
("geckoview/src/main/AndroidManifest_overlay.xml",),
|
|
script="gen_from_jinja.py",
|
|
inputs=["geckoview/src/main/AndroidManifest_overlay.jinja"],
|
|
flags=flags,
|
|
)
|
|
|
|
GeneratedFile(
|
|
(
|
|
"geckoview/src/main/java/org/mozilla/gecko/process/GeckoChildProcessServices.java",
|
|
),
|
|
script="gen_from_jinja.py",
|
|
inputs=[
|
|
"geckoview/src/main/java/org/mozilla/gecko/process/GeckoChildProcessServices.jinja"
|
|
],
|
|
flags=flags,
|
|
)
|
|
|
|
GeneratedFile(
|
|
("geckoview/src/main/java/org/mozilla/gecko/util/XPCOMError.java",),
|
|
script="/xpcom/base/ErrorList.py",
|
|
entry_point="gen_jinja",
|
|
inputs=["geckoview/src/main/java/org/mozilla/gecko/util/XPCOMError.jinja"],
|
|
)
|
|
|
|
GeneratedFile(
|
|
"geckoview/src/main/java/org/mozilla/geckoview/CrashReport.java",
|
|
script="/toolkit/crashreporter/annotations/generate.py",
|
|
inputs=["!/toolkit/crashreporter/annotations/validated.yaml"],
|
|
)
|
|
|
|
GeneratedFile(
|
|
"android-components/components/lib/crash/src/main/java/mozilla/components/lib/crash/service/CrashReport.kt",
|
|
script="/toolkit/crashreporter/annotations/generate.py",
|
|
inputs=["!/toolkit/crashreporter/annotations/validated.yaml"],
|
|
)
|
|
|
|
include("/browser/extensions/webcompat/generate_files.mozbuild")
|
|
include("/browser/extensions/webcompat/preprocessed_intervention_files.mozbuild")
|
|
GenerateWebCompatAddonFiles(
|
|
preprocessed_intervention_files,
|
|
"/browser/extensions/webcompat/",
|
|
"webcompat_addon_generated_files/",
|
|
)
|
|
|
|
CONFIGURE_SUBST_FILES += ["installer/Makefile"]
|
|
|
|
DIRS += [
|
|
"../locales",
|
|
"locales",
|
|
]
|
|
|
|
DIRS += [
|
|
"../shared",
|
|
"components",
|
|
"modules",
|
|
"themes/geckoview",
|
|
"geckoview/src/androidTest/assets",
|
|
"app",
|
|
"fonts",
|
|
]
|
|
|
|
TEST_HARNESS_FILES.testing.mochitest.tests.junit += [
|
|
"geckoview/src/androidTest/assets/www/forms_iframe.html",
|
|
"geckoview/src/androidTest/assets/www/forms_xorigin.html",
|
|
"geckoview/src/androidTest/assets/www/framebusting_child.html",
|
|
"geckoview/src/androidTest/assets/www/framebusting_parent.html",
|
|
"geckoview/src/androidTest/assets/www/hello.html",
|
|
"geckoview/src/androidTest/assets/www/hsts_header.sjs",
|
|
"geckoview/src/androidTest/assets/www/iframe_http_only.html",
|
|
"geckoview/src/androidTest/assets/www/simple_redirect.sjs",
|
|
"geckoview/src/androidTest/assets/www/update_manifest.json",
|
|
"geckoview/src/androidTest/assets/www/webauthn_related_origin.html",
|
|
"geckoview/src/androidTest/assets/www/worker/open_window.html",
|
|
"geckoview/src/androidTest/assets/www/worker/open_window.js",
|
|
"geckoview/src/androidTest/assets/www/worker/open_window_target.html",
|
|
"geckoview/src/androidTest/assets/www/worker/service-worker.js",
|
|
]
|
|
|
|
SPHINX_TREES["/mobile/android"] = "docs"
|
|
SPHINX_TREES["/mobile/android/fenix"] = "fenix/docs"
|
|
SPHINX_TREES["/mobile/android/focus-android"] = "focus-android/docs"
|
|
|
|
with Files("docs/**"):
|
|
SCHEDULES.exclusive = ["docs"]
|