Use AAPT2 to build the framework support libraries. Apps built with AAPT2 can more efficiently
link against these libraries by specifying their module name in LOCAL_STATIC_ANDROID_LIBRARIES.
Ex:
LOCAL_STATIC_ANDROID_LIBRARIES := android-support-v7-appcompat android-support-v4
Apps built with AAPT2 do not need to specify --auto-add-overlay or --extra-packages, as these
are automatically added as needed by the build system.
This change will not affect any apps that currently depend on the support libraries.
This is because they import the resources directly.
We use LOCAL_JAR_EXCLUDE_FILES := none only to support javac when building javadoc.
Jack builds are correct because the build system passes in the latest generated R.java
ahead of any previous ones packaged in classes.jack. This means we can dynamically reference
a support lib module, correctly seeing non-final R.java. Then at app package time, we only
include the final R.java generated by the AAPT2 packaging step.
Bug:25958912
Change-Id: I71bff080ff2694aa3df1c8a67d933e2daab0f245
GitOrigin-RevId=0dac8d82e2a249d7c9c42ab259389e11cac15400
PiperOrigin-RevId: 140560475
It causes too many problems from a build perspective
for now. External developers can still use <vector>
drawables through AppCompat, it's just that the library
does not use them itself, and therefore force developers
to update their build config.
BUG: 27453786
Change-Id: Ie4ed9d213d9dcbcce622fe82c92808da19a78ed0
GitOrigin-RevId=000c3b61b4f8a8e96060aeef662eb728101b83b9
PiperOrigin-RevId: 140560162
The .jar artifacts must contain v51 class files to prevent them
being rejected by dx.
Bug: 26753820
Bug: 27353172
Bug: 27338966
Change-Id: I03a881a86bb6e3fcaa4ccb33e6c0615157ee363f
GitOrigin-RevId=e1cd5a1f80010eece43cb4608505fd39f4832c00
PiperOrigin-RevId: 140560035
am: 4d810ce4e3
* commit '4d810ce4e33047ec8f602f10134e673c2ff70736':
Initial test setup and simple TabLayout test in design lib
GitOrigin-RevId=50e02b9aeae54e15e9278116863688a6623dde27
PiperOrigin-RevId: 140559421
* commit '5a3a72a99b5d87b3f4d4530ca8d2b0d108eee719':
Fix FAB using ICS APIs on Honeycomb
GitOrigin-RevId=893cdffb7a013529dd9fde8dcb74b8df1d1fe9f6
PiperOrigin-RevId: 140551128
* commit 'a51925c0e9094179d91ceef757d98a6fc9eb3fff':
Use RecyclerView for NavigationView
GitOrigin-RevId=87f9c127ea653d0865131cef284e468228bd2262
PiperOrigin-RevId: 140549964
* commit 'ab2f1834be120d4bf00a7861a1e9a57d592c559e':
Use doclava's new stubpackages wildcard support
GitOrigin-RevId=645600060c3de16ba4fc68dbf1fa7403cd145fcb
PiperOrigin-RevId: 140548355
* commit '6eb7c159042d9ad2b3150d0af9b3584c961dcca9':
Revert "Disable the design lib for the 22.1 release"
GitOrigin-RevId=ce00c06a528480f81f06931e361102d3f879d40f
PiperOrigin-RevId: 140545730
* commit 'd89acaf5b125a7ef30825151cbee924e7d5c1505':
Disable the design lib for the 22.1 release
GitOrigin-RevId=0053075bc4a6cc03e8a05bd8cb74f3b9d5922ae0
PiperOrigin-RevId: 140545717
* commit 'f168bfe8ce43395c7a112100312d528f9a27ab55':
Revert "Disable the design lib for the 22.1 release"
GitOrigin-RevId=c7ea1d498982d3c766631dbafb6bff9031670600
PiperOrigin-RevId: 140545696
* commit '81108913ea139c26abfbaac5f559de9e32dc844b':
Disable the design lib for the 22.1 release
GitOrigin-RevId=4e1c41b66d83672955a69bfe9bb450e37942fed7
PiperOrigin-RevId: 140545691