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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user