aboutsummaryrefslogtreecommitdiffstats
path: root/java/dexpreopt_test.go
Commit message (Collapse)AuthorAgeFilesLines
* Add dex_import module typeColin Cross2019-03-201-0/+9
| | | | | | | | | | | | | Add a module type for importing a prebuilt jar that contains classes.dex files. Test: m with a prebuilt jar that contains classes.dex files in PRODUCT_BOOT_JARS Test: java_test.go, dexpreopt_test.go, dexpreopt_bootjars_test.go Bug: 124804356 Bug: 125517186 Change-Id: I496848f9dca11f758d49b1cb68168cec7f8e1718
* Don't dexpreopt when compile_dex but not installableColin Cross2019-01-061-0/+10
| | | | | | | | | | Modules shouldn't be dexpreopted and possibly stripped when compile_dex is set but installable is not set. This matches the previous behavior when the dexpreopt rules were in Make. Bug: 121317615 Test: dexpreopt_test.go Change-Id: I6f80b7b37a990c475b91aa5d98a19a3baa85eb1b
* Don't dexpreopt or strip java_test modulesColin Cross2019-01-061-0/+9
| | | | | | | | I6bb2c971cee65d2338839753aa0d84939f335b1b accidentally caused java_test modules to be dexpreopted and possibly stripped. Test: dexpreopt_test.go Change-Id: Ida8f046c509c97e38bd3bce66944d32f01530db4
* Add dexpreopt enabled testsColin Cross2019-01-051-0/+126
Add tests that verify when dexpreopt is enabled or disabled. Test: dexpreopt_test.go Change-Id: Ideba9c0dac30eb31e7ae29e46d1d1590202b8369