mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 946083 - Part 2: Add dependencies for Proguard input jars. r=glandium
This restores no-op builds.
This commit is contained in:
parent
f5a61798ef
commit
94f9ec45bf
@ -81,8 +81,8 @@ include $(topsrcdir)/config/config.mk
|
||||
# because Android resource classes must be compiled together in order to avoid overlapping resource
|
||||
# indices.
|
||||
|
||||
classes.dex: proguard-jars
|
||||
@echo 'DX classes.dex'
|
||||
classes.dex: .proguard.deps
|
||||
$(REPORT_BUILD)
|
||||
$(DX) --dex --output=classes.dex jars-proguarded $(ANDROID_COMPAT_LIB)
|
||||
|
||||
ifdef MOZ_DISABLE_PROGUARD
|
||||
@ -95,8 +95,15 @@ else
|
||||
endif
|
||||
endif
|
||||
|
||||
proguard-jars: $(ALL_JARS)
|
||||
java -jar $(ANDROID_SDK_ROOT)/tools/proguard/lib/proguard.jar @$(topsrcdir)/mobile/android/config/proguard.cfg -optimizationpasses $(PROGUARD_PASSES) -injars $(subst ::,:,$(subst $(NULL) ,:,$(strip $(ALL_JARS)))) -outjars jars-proguarded -libraryjars $(ANDROID_SDK)/android.jar:$(ANDROID_COMPAT_LIB)
|
||||
.proguard.deps: $(ALL_JARS)
|
||||
$(REPORT_BUILD)
|
||||
java -jar $(ANDROID_SDK_ROOT)/tools/proguard/lib/proguard.jar \
|
||||
@$(topsrcdir)/mobile/android/config/proguard.cfg \
|
||||
-optimizationpasses $(PROGUARD_PASSES) \
|
||||
-injars $(subst ::,:,$(subst $(NULL) ,:,$(strip $(ALL_JARS)))) \
|
||||
-outjars jars-proguarded \
|
||||
-libraryjars $(ANDROID_SDK)/android.jar:$(ANDROID_COMPAT_LIB)
|
||||
@$(TOUCH) $@
|
||||
|
||||
CLASSES_WITH_JNI= \
|
||||
org.mozilla.gecko.GeckoAppShell \
|
||||
|
Loading…
Reference in New Issue
Block a user