Add permission to the list of individually toggleable modules

This is safe even though permission is not an optional mainline
module because devices that support mainline must pass GTS and
testModulesSignedCorrectly and testModulesPreloadedCorrectly in GTS
currently tests this, along with testMainlineApprovedTrain which checks
mandatory/optional, signing keys, and if what's preloaded are part of
approved trains.

Bug: 238175656
Test: # Cherry pick to branch that has Google signed prebuilts for
      # permission and builds from prebuilts by default.
      # Update the permission to an sdk snapshot generated with
      # r.android.com/2151273.
      # Make sure that the permission is built from prebuilts by
      # default
Change-Id: Id4eb9ba0da8a05c41d3b29b1cb8fa1d2d485c7b9
(cherry picked from commit fb72d542ad)
Merged-In: Id4eb9ba0da8a05c41d3b29b1cb8fa1d2d485c7b9
This commit is contained in:
Paul Duffin
2022-07-12 13:35:26 +00:00
committed by Cherrypicker Worker
parent 0ed7488697
commit 86251a5450

View File

@@ -76,6 +76,7 @@ $(call soong_config_set,art_module,source_build,$(ART_MODULE_BUILD_FROM_SOURCE))
# default. # default.
INDIVIDUALLY_TOGGLEABLE_PREBUILT_MODULES := \ INDIVIDUALLY_TOGGLEABLE_PREBUILT_MODULES := \
bluetooth \ bluetooth \
permission \
uwb \ uwb \
wifi \ wifi \