Fix Dialer Android.mk for compiling with javac
Fix the Dialer Android.mk file for compiling with javac:
- Add missing resources from android-support-transition.
- Add missing transitive dependencies on glide disklrucache and
gifdecoder.
- Remove annotation processors from LOCAL_JAVA_STATIC_LIBRARIES,
they are only needed during compile time not in the final jar.
- Remove org.apache.http.legacy.boot from LOCAL_JAVA_STATIC_LIBRARIES
and add org.apache.http.legacy to LOCAL_JAVA_LIBRARIES, it is
only needed to compile and will already be present in the classpath
on the device.
- Remove libraries from LOCAL_JAVA_LIBRARIES that are already in
LOCAL_JAVA_STATIC_LIBRARIES, there is no need to list them twice.
- Only list the processor libraries in --processorpath.
- Pass --processorpath to javac.
- Fix dailer->dialer typo.
Bug: 35844114
Test: m -j Dialer
Test: m -j ANDROID_COMPILE_WITH_JACK=false Dialer
Change-Id: I9eee5a27a5812898826a1e70b72a2ad1b4f28d31
1 file changed