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

Commit b896ae72 authored by Paulo Casanova's avatar Paulo Casanova Committed by Android (Google) Code Review
Browse files

Merge "Added building libaapt2_jni.so."

parents 89be94a4 c7ca55e2
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -77,6 +77,8 @@ sources := \

sources += Format.proto

sourcesJni :=

testSources := \
	compile/IdAssigner_test.cpp \
	compile/InlineXmlFormatParser_test.cpp \
@@ -176,6 +178,25 @@ LOCAL_STATIC_LIBRARIES := $(hostStaticLibs)
LOCAL_STATIC_LIBRARIES_windows := $(hostStaticLibs_windows)
include $(BUILD_HOST_STATIC_LIBRARY)


# ==========================================================
# Build the host shared library: libaapt2_jni
# ==========================================================
include $(CLEAR_VARS)
LOCAL_MODULE := libaapt2_jni
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_HOST_OS := darwin linux windows
LOCAL_CFLAGS := $(cFlags)
LOCAL_CFLAGS_darwin := $(cFlags_darwin)
LOCAL_CFLAGS_windows := $(cFlags_windows)
LOCAL_CPPFLAGS := $(cppFlags)
LOCAL_C_INCLUDES := $(protoIncludes)
LOCAL_SRC_FILES := $(sourcesJni)
LOCAL_STATIC_LIBRARIES := libaapt2 $(hostStaticLibs)
LOCAL_STATIC_LIBRARIES_windows := $(hostStaticLibs_windows)
include $(BUILD_HOST_SHARED_LIBRARY)


# ==========================================================
# Build the host tests: libaapt2_tests
# ==========================================================