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

Commit f1c59610 authored by Paul Duffin's avatar Paul Duffin
Browse files

Fix build failure when using javac toolchain

The legacy-performance-test-hostdex library was built using the
BUILD_HOST_DALVIK_JAVA_LIBRARY macro (which creates a non-static
library) but is used with LOCAL_STATIC_JAVA_LIBRARIES which
requires a static library. That works with Jack but fails with
the javac toolchain.

This change switched to build legacy-performance-test-hostdex
using the BUILD_HOST_DALVIK_STATIC_JAVA_LIBRARY macro.

Bug: 30188076
Test: make checkbuild
Change-Id: I8d42c669e4ded3417ecdcb7b0251bc6346debd5d
parent ef692462
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -50,5 +50,5 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := src/android/test/PerformanceTestCase.java
LOCAL_MODULE := legacy-performance-test-hostdex

include $(BUILD_HOST_DALVIK_JAVA_LIBRARY)
include $(BUILD_HOST_DALVIK_STATIC_JAVA_LIBRARY)
endif  # HOST_OS == linux