Android Things LTS v1.0.3 (4925377)
C++ source files are generated at <out_dir>/pkg/to/IFoo.cpp

With the new AIDL cmdline syntax where output file path is not
explicitly given, the C++ source files had been generated at
<out_dir>/<typename>.cpp. This would cause problem when there are
multiple AIDL input files having identical type names in different
packages, e.g., foo/bar/Data.aidl and baz/qux/Data.aidl.

Fixing the problem by prepending package name to the output file path.
Now, source code for foo/bar/Data.aidl is generated at
<out_dir>/foo/bar/Data.aidl.

Test: m -j
Test: runtests.sh
Change-Id: I42805d5b4811dbfed41a188fd1e1e43de8476fcc
2 files changed