OSDN Git Service

Fix incremental builds with AAPT2
authorDan Willemsen <dwillemsen@google.com>
Thu, 22 Dec 2016 21:17:17 +0000 (13:17 -0800)
committerDan Willemsen <dwillemsen@google.com>
Thu, 22 Dec 2016 21:18:21 +0000 (13:18 -0800)
commit912de8e69139057f851dad0d20c092cadf1679a1
tree73055268557d7934f45491d7c869f3f9e6fe0579
parent561b0a3753c2c04fade3dd00347120a6fb5f0245
Fix incremental builds with AAPT2

When we removed the src/ directory, the R.stamp file was removed -- with
AAPT, this triggers src/android/Manifest.java to be regenerated. But
AAPT2 only uses the R.stamp file as a timestamp to find the
Manifest.java file, not to create it.

So add a new CleanSpec.mk to fix the builds by removing the target that
AAPT2 uses to generate the src/android/Manifest.java file.

Test: None
Change-Id: If56f326ad701f7f92aa7c8aeda57e92d9c62cff9
CleanSpec.mk