Home | History | Annotate | Download | only in app_process
      1 LOCAL_PATH:= $(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 LOCAL_SRC_FILES:= \
      5 	app_main.cpp
      6 
      7 LOCAL_SHARED_LIBRARIES := \
      8 	libcutils \
      9 	libutils \
     10 	liblog \
     11 	libbinder \
     12 	libandroid_runtime
     13 
     14 LOCAL_MODULE:= app_process
     15 
     16 include $(BUILD_EXECUTABLE)
     17 
     18 
     19 # Build a variant of app_process binary linked with ASan runtime.
     20 # ARM-only at the moment.
     21 ifeq ($(TARGET_ARCH),arm)
     22 
     23 include $(CLEAR_VARS)
     24 
     25 LOCAL_SRC_FILES:= \
     26 	app_main.cpp
     27 
     28 LOCAL_SHARED_LIBRARIES := \
     29 	libcutils \
     30 	libutils \
     31 	liblog \
     32 	libbinder \
     33 	libandroid_runtime
     34 
     35 LOCAL_MODULE := app_process__asan
     36 LOCAL_MODULE_TAGS := eng
     37 LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)/asan
     38 LOCAL_MODULE_STEM := app_process
     39 LOCAL_ADDRESS_SANITIZER := true
     40 
     41 include $(BUILD_EXECUTABLE)
     42 
     43 endif # ifeq($(TARGET_ARCH),arm)
     44