Merge "Don't duplicate default platform libraries into proguard flags"

This commit is contained in:
Colin Cross 2017-02-23 02:12:25 +00:00 committed by Gerrit Code Review
commit f7b6bf8cb1
1 changed files with 2 additions and 1 deletions

View File

@ -540,7 +540,8 @@ endif
endif
# jack already has the libraries in its classpath and doesn't support jars
legacy_proguard_flags := $(addprefix -libraryjars ,$(my_support_library_sdk_raise) $(full_shared_java_libs))
legacy_proguard_flags := $(addprefix -libraryjars ,$(my_support_library_sdk_raise) \
$(filter-out $(my_support_library_sdk_raise),$(full_shared_java_libs)))
legacy_proguard_flags += -printmapping $(proguard_dictionary)
jack_proguard_flags := -printmapping $(jack_dictionary)