Add sdk_genrule
Some users want to repackage the results of an sdk module. Genrules have 3 variants: linux, android, and common_os. The common_os one produces a snapshot zip file that users want. In order to get access to it, we need a genrule in the same variant, so create an sdk_genrule for that. The sdk_genrule shouldn't have linux/android variants either, because those other variants would get errors when trying to depend on the sdk modules because the snapshot zip doesn't exist in those other variants. The code in arch.go needs to be tweaked to allow a common_os variant without the other variants. Bug: 315962165 Test: m dist out/dist/art_release.zip Change-Id: Idc9b3cae7a525d71aed6bafa0f8724a89f75a94b
Loading
Please register or sign in to comment