Simplify paths for the generated source files

Previously, the generated source files of an aidl_interface were found
under:

out/soong/.intermediate/<path_to_module>/<module>-cpp-gen-<number>/gen

, where <number> is assigned arbitrarily. This caused a problem when the
paths are added to the source path of an IDE. The paths had to be
updated whenever the assigned numbers are changed.

Now, the paths get simpler:

out/soong/.intermediate/<path_to_module>/<module>-cpp-source/gen

This is done by building multiple source files using a single genrule
module.

Bug: 130011113
Test: m
Test: system/tools/aidl/runtests.sh
Change-Id: I308f3c3ced5b2f7ca3a95ea3fd8ab49d8dd9105b
1 file changed