Bug 1890689 accumulate input in LargerReceiverBlockSizeThanDesiredBuffering GTest...
[gecko.git] / taskcluster / android_taskgraph / __init__.py
blob116e7d7637765aa659a6c125ddf0c5e1842436f3
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 import os
7 from importlib import import_module
9 CURRENT_DIR = os.path.dirname(os.path.realpath(__file__))
10 PROJECT_DIR = os.path.realpath(
11 os.path.join(CURRENT_DIR, "..", "..", "mobile", "android")
13 ANDROID_COMPONENTS_DIR = os.path.join(PROJECT_DIR, "android-components")
14 FOCUS_DIR = os.path.join(PROJECT_DIR, "focus-android")
15 FENIX_DIR = os.path.join(PROJECT_DIR, "fenix")
18 def register(graph_config):
19 """
20 Import all modules that are siblings of this one, triggering decorators in
21 the process.
22 """
23 _import_modules(
25 "job",
26 "parameters",
27 "target_tasks",
28 "util.group_by",
29 "worker_types",
34 def _import_modules(modules):
35 for module in modules:
36 import_module(f".{module}", package=__name__)