1. seandroid
  2. Untitled project
  3. build

Commits

Ying Wang  committed 96aa714

Autoadd core-hostdex if LOCAL_BUILD_HOST_DEX is true

Change-Id: Id516716eaa90534f1b51133d5fb97468e52802dd

  • Participants
  • Parent commits f8728e6
  • Branches master

Comments (0)

Files changed (1)

File core/host_java_library.mk

View file
  • Ignore whitespace
 LOCAL_BUILT_MODULE_STEM := javalib.jar
 
 ifeq ($(LOCAL_BUILD_HOST_DEX),true)
+ifneq ($(LOCAL_NO_STANDARD_LIBRARIES),true)
+  LOCAL_JAVA_LIBRARIES := $(sort core-hostdex $(LOCAL_JAVA_LIBRARIES))
+endif
+
 intermediates := $(call local-intermediates-dir)
 intermediates.COMMON := $(call local-intermediates-dir,COMMON)