forked from openkylin/platform_build
Bump DX Java heap to 2GB.
Change-Id: I240a24f9bb8511fea8f420f76b4541018ae79a0c
This commit is contained in:
parent
b22f6853d9
commit
64cd96ce7f
|
@ -1525,7 +1525,7 @@ define transform-classes.jar-to-dex
|
|||
@echo "target Dex: $(PRIVATE_MODULE)"
|
||||
@mkdir -p $(dir $@)
|
||||
$(hide) $(DX) \
|
||||
$(if $(findstring windows,$(HOST_OS)),,-JXms16M -JXmx1536M) \
|
||||
$(if $(findstring windows,$(HOST_OS)),,-JXms16M -JXmx2048M) \
|
||||
--dex --output=$@ \
|
||||
$(incremental_dex) \
|
||||
$(if $(NO_OPTIMIZE_DX), \
|
||||
|
|
Loading…
Reference in New Issue