Move MAINLINE_MODULE_BY_APEX into the test file

The variable is only used by the tests.

Test: atest mainline_modules_sdks_test
      packages/modules/common/build/mainline_modules_sdks.sh
      tree out/dist/mainline-sdks out/dist/stubs
      - check that it is identical to before this change
Bug: 204763318
Change-Id: I38c4ce218825d79de831868af814c43ce8a6d60f
This commit is contained in:
Paul Duffin
2022-01-21 18:43:39 +00:00
parent 661845d4ec
commit 300ec921e5
2 changed files with 7 additions and 8 deletions

View File

@@ -348,9 +348,6 @@ MAINLINE_MODULES = [
),
]
# Only used by the test.
MAINLINE_MODULES_BY_APEX = dict((m.apex, m) for m in MAINLINE_MODULES)
# A list of the sdk versions to build. Usually just current but can include a
# numeric version too.
SDK_VERSIONS = [