Commit Graph

4 Commits

Author SHA1 Message Date
Jeff Gaston cf51ae6415 Follow minor Jetifier usage change
Bug: 110785706
Test: m -j
Change-Id: I634e09f406727d4f169c3a2862a29cd2206414f7
2018-06-25 18:28:54 +00:00
Jeff Gaston eecabeaee7 Change Jetifier log level to Error
Bug: 72552006
Test: Set LOCAL_JETIFIER_ENABLED := true ,
      run `m -j`, notice that jetifier's output isn't super long

Change-Id: I3578fe8b69045446134350c4c63449c7653e8911
2018-02-27 20:55:20 -05:00
Jeff Gaston ed170e7296 Run jetifier against prebuilts directly rather than classes.jar
It turns out that the resource files inside the .aar files may
need rewriting too

Bug: 72552006
Test: Set LOCAL_JETIFIED_ENABLED for a prebuilt and built it
      See also one of the patches after this one and its topic
      which contains a sample for testing
Change-Id: I89d0b4aa8d5c6ae3abc2344dd05222cf9672d5c0
2018-02-27 20:55:20 -05:00
Jeff Gaston d2ba724f7f Add rule to enable running Jetifier within Make against Java modules
The only case where we expect to actually enable this behavior is for
modules that are just an unpacking of a prebuilt, because those are
the only cases for which we can't conveniently just change the source

Bug: 72552006
Test: ./build/soong/scripts/diff_build_graphs.sh \
      --products=aosp_arm 'build/make:work^' \
      'build/make:work'
Test: cherry-pick the following patch that depends on this one and
      the rest of that patch's topic, and then do `m -j jeffapp`

Change-Id: I62e231900d6d87673ddf19c7fc2686fef2828590
2018-02-20 22:25:23 +00:00