Add stubs needed to enable javac to compile lambdas

This enables framework.jar code to include lambdas.
framework.jar is still built with javac (as well as
jack) for things like doclava.

Bug: 26753820
(cherry picked from commit 801f90e61b)

Change-Id: Icdc9e003b09bd1e14e991b32934b3c4c4a268b1a
This commit is contained in:
Neil Fuller
2016-02-18 13:57:43 +00:00
parent 0a1b294f68
commit 613a907045

View File

@@ -426,7 +426,7 @@ LOCAL_INTERMEDIATE_SOURCES := \
$(framework_res_source_path)/com/android/internal/R.java
LOCAL_NO_STANDARD_LIBRARIES := true
LOCAL_JAVA_LIBRARIES := core-oj core-libart conscrypt okhttp core-junit bouncycastle ext
LOCAL_JAVA_LIBRARIES := core-oj core-libart core-lambda-stubs conscrypt okhttp core-junit bouncycastle ext
LOCAL_MODULE := framework