get_kunit_modules_superset() returns the full superset of KUnit module paths as a plain list (no select()), making it safe to call at Bazel load time. Re-export it from the public modules.bzl so downstream can use it to auto-derive KUnit module lists without duplicating or manually syncing the list. Bug: 519179681 Change-Id: Ibe0b2cc88fb421a7ac1e43cecd6d38ababce52b8 Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@qti.qualcomm.com> (cherry picked from commit 73860a1ea8361064ec22303e318cb240d018b722)
19 lines
571 B
Python
19 lines
571 B
Python
# SPDX-License-Identifier: GPL-2.0 OR Apache-2.0
|
|
# Copyright (C) 2025 The Android Open Source Project
|
|
|
|
"""Re-exports of symbols for external usage regarding to lists of modules.
|
|
"""
|
|
|
|
load(
|
|
":bazel/modules_private.bzl",
|
|
_get_gki_modules_list = "get_gki_modules_list",
|
|
_get_kunit_modules_list = "get_kunit_modules_list",
|
|
_get_kunit_modules_superset = "get_kunit_modules_superset",
|
|
)
|
|
|
|
visibility("public")
|
|
|
|
get_gki_modules_list = _get_gki_modules_list
|
|
get_kunit_modules_list = _get_kunit_modules_list
|
|
get_kunit_modules_superset = _get_kunit_modules_superset
|