forked from openkylin/platform_build
Don't remove R class to fix the build.
Unfortunately there is R.java checked in the source tree that gets built into static library. So we have to find a way to delete classes from R.java generated by the build system on the fly. Change-Id: I2d82d28234cecbf6dd5b02b2dd4f7dbd47e3b626
This commit is contained in:
parent
205a20a42c
commit
bf6c611cae
|
@ -1424,7 +1424,7 @@ define unzip-jar-files
|
|||
unzip -qo $$f -d $(2); \
|
||||
(cd $(2) && rm -rf META-INF); \
|
||||
done
|
||||
$(hide) find $(2) -name 'R.class' -o -name 'R$$*.class' -o -name 'Manifest.class' -o -name 'Manifest$$*.class' | xargs rm -rf
|
||||
# $(hide) find $(2) -name 'R.class' -o -name 'R$$*.class' -o -name 'Manifest.class' -o -name 'Manifest$$*.class' | xargs rm -rf
|
||||
endef
|
||||
|
||||
# Common definition to invoke javac on the host and target.
|
||||
|
|
Loading…
Reference in New Issue