Add support for apex prebuilts attribute.
This CL enables the tzdata APEX to be built by adding support for:
1) Populating the APEX input dir with mkdir/cp commands
2) Generating the canned_fs_config from files and subdirs in the input dir
3) Linking it up into apexer
Test: b build //system/timezone/apex:com.android.tzdata --//build/bazel/rules:enable_apex=True --action_env=APEXER_TOOL_PATH=$HOME/aosp/master/out/soong/host/linux-x86/bin:$HOME/aosp/master/prebuilts/sdk/tools/linux/bin
Test: Verify with deapexer that the Bazel built APEX contains the same payload as the Soong built APEX
Bug: 194644492
Change-Id: I683618ffd99496145a15a32655c7d45e602e3fb4
2 files changed