History log of /external/ltp/android/tools/android_build_generator.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7e928e31d8bdc3f2abc65770dbaabd949f9ef101 13-Jun-2017 Sandeep Patil <sspatil@google.com> android: fix binaries built out of .c and .o in single gcc invocation

The new LTP update adds several tests that are built using a mix of .c
and .o files listed on a single gcc commandline. The build generator by
default considers these "source" files and generators the .bp fragments
with .o files listed in sources which fails the build.

Fix the generator so if it sees the .o files in the cc_compilelink
sources, it then goes and finds the "real" sources for those .o
files from the cc_compile map

Test: 'ltp_iogen' module is built correctly with the fixed .bp fragments

Change-Id: Ica9980d3f2c112b4ee594865d3b8c016d37c18a9
Signed-off-by: Sandeep Patil <sspatil@google.com>
/external/ltp/android/tools/android_build_generator.py
eb4fafa104a1af70d42fd2b9d0f388d46e2c9f5a 16-Dec-2016 Dan Willemsen <dwillemsen@google.com> Convert to Soong

See build/soong/README.md for more information.

All the code compilation has moved to Soong, but prebuilts remain in the
Android.mk / Android.ltp.mk, since prebuilts are still a WIP in Soong.
So the generator exports both bp and mk pieces (and a substantial
portion of it is identical between the two)..

VTS installation has moved to
test/vts/tools/build/tasks/vts_native_packages.mk, which includes the
generated android/ltp_package_list.mk to find all the LTP packages. This
is more reliable than before, since there was no dependency from the zip
file to any LTP files.

Test: mmma -j external/ltp
Test: m -j ltp
Test: m -j out/host/linux-x86/vts/android-vts.zip
Change-Id: I5be27ac9f0da5e17d0729ef0dc80ce6f54b10ef1
/external/ltp/android/tools/android_build_generator.py