platform_build_soong/dexpreopt
Paul Duffin 9f04524673 Allow createGlobalSoongConfig() to be used from tests
Previously, the createGlobalSoongConfig() function was explicitly
prevented from being used in tests because it would fail. However, it
turns out that is no longer the case and it does now work.

That allows the following changes to be made:
* Tests no longer need to use GlobalSoongConfigForTests() to
  prepopulate the cache.
* GlobalSoongConfigForTests() is only needed in the dexpreopt
  package.

Bug: 177892522
Test: m nothing
Change-Id: Ifcbb1a44254c5d2d10c1d02ab23227488d1d1ed1
2021-01-21 15:44:30 +00:00
..
dexpreopt_gen Pass pctx and ctx to NewRuleBuilder 2020-12-01 16:22:16 -08:00
Android.bp Add unit tests for class loader context. 2020-10-29 17:47:34 +00:00
class_loader_context.go Remove obsolete class loader context API and update unit tests. 2021-01-05 15:41:55 +00:00
class_loader_context_test.go Remove obsolete class loader context API and update unit tests. 2021-01-05 15:41:55 +00:00
config.go Allow createGlobalSoongConfig() to be used from tests 2021-01-21 15:44:30 +00:00
dexpreopt.go Pass pctx and ctx to NewRuleBuilder 2020-12-01 16:22:16 -08:00
dexpreopt_test.go Allow createGlobalSoongConfig() to be used from tests 2021-01-21 15:44:30 +00:00
OWNERS Add an owners file for dexpreopt files. 2018-12-18 20:28:06 +00:00
testing.go Reland: Get the dex2oat host tool path from module dependency on the 2020-02-13 17:46:48 +00:00