summaryrefslogtreecommitdiff
path: root/android/package_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2020-01-14 12:09:36 +0000
committer Paul Duffin <paulduffin@google.com> 2020-01-15 11:17:57 +0000
commita80ef84652eda6dbb14a0bec358e7213e3b2dd09 (patch)
tree5f324e388b15ed69b67cb30ed413c709a247f57d /android/package_test.go
parent90169baf0ec21c57cb89132c91a4119e12de51df (diff)
Support registering hard coded pre arch mutators
Some pre arch mutators are hard coded into mutator.go and so could not share code for registering those mutators between tests and runtime. This change adds a new HardCodedPreArchMutators(RegisterMutatorFunc) method to RegistrationContext which allows hard coded mutators to be registered alongside other build components during init() and testing. The method is treated as a noop on the InitRegistrationContext and behaves just like the PreArchMutators(RegisterMutatorFunc) method on the TestingContext. Bug: 146540677 Test: m nothing Change-Id: I6f8b1e2d54d9dc4e86f951ced61d1ee7b0fe4b2e
Diffstat (limited to 'android/package_test.go')
0 files changed, 0 insertions, 0 deletions