Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 164a33f1 authored by Colin Cross's avatar Colin Cross
Browse files

Fix zipped resources

Fix mismatch between output directory of zipsync and input
directory of aapt2.

Test: m checkbuild
Change-Id: If012c943af0c04cc3f0dd5c4266126412ae0a759
parent 0fdbb4c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2092,7 +2092,7 @@ endef
define aapt2-compile-resource-zips
@mkdir -p $(dir $@)
$(ZIPSYNC) -d $@.contents -l $@.list $(PRIVATE_SOURCE_RES_ZIPS)
$(hide) $(AAPT2) compile -o $@ --dir $@.tmp $(PRIVATE_AAPT2_CFLAGS) --legacy
$(hide) $(AAPT2) compile -o $@ --dir $@.contents $(PRIVATE_AAPT2_CFLAGS) --legacy
endef

# Set up rule to compile one resource file with aapt2.