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

Commit af920562 authored by Colin Cross's avatar Colin Cross Committed by Android Git Automerger
Browse files

am 0dccb02b: am 19fc55e1: Merge "build app_process64 on 64-bit targets"

* commit '0dccb02b':
  build app_process64 on 64-bit targets
parents 674dd27c 0dccb02b
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
LOCAL_PATH:= $(call my-dir)

# 32-bit app_process
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
@@ -12,9 +14,29 @@ LOCAL_SHARED_LIBRARIES := \
	libandroid_runtime

LOCAL_MODULE:= app_process
LOCAL_32_BIT_ONLY := true
include $(BUILD_EXECUTABLE)

ifeq ($(TARGET_IS_64_BIT),true)

# 64-bit app_process64
include $(CLEAR_VARS)

LOCAL_SRC_FILES:= \
	app_main.cpp

LOCAL_SHARED_LIBRARIES := \
	libcutils \
	libutils \
	liblog \
	libbinder \
	libandroid_runtime

LOCAL_MODULE:= app_process64
LOCAL_NO_2ND_ARCH := true
include $(BUILD_EXECUTABLE)

endif # TARGET_IS_64_BIT

# Build a variant of app_process binary linked with ASan runtime.
# ARM-only at the moment.