blob: b39c335db1d90a841dfd8901e74c2002395f25dc [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5 app_main.cpp
6
7LOCAL_SHARED_LIBRARIES := \
8 libcutils \
9 libutils \
Doug Kwanb1bb6cf2009-10-04 19:27:57 -070010 libbinder \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080011 libandroid_runtime
12
13LOCAL_MODULE:= app_process
14
15include $(BUILD_EXECUTABLE)
Evgeniy Stepanovbb4cd822012-04-02 16:16:04 +040016
17
18# Build a variant of app_process binary linked with ASan runtime.
19# ARM-only at the moment.
20ifeq ($(TARGET_ARCH),arm)
21
22include $(CLEAR_VARS)
23
24LOCAL_SRC_FILES:= \
25 app_main.cpp
26
27LOCAL_SHARED_LIBRARIES := \
28 libcutils \
29 libutils \
30 libbinder \
31 libandroid_runtime
32
33LOCAL_MODULE := app_process__asan
34LOCAL_MODULE_TAGS := eng
35LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)/asan
36LOCAL_MODULE_STEM := app_process
37LOCAL_ADDRESS_SANITIZER := true
38
39include $(BUILD_EXECUTABLE)
40
41endif # ifeq($(TARGET_ARCH),arm)