2012-01-07 04:09:42 +01:00
|
|
|
# Copyright 2011 The Android Open Source Project
|
|
|
|
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
2015-05-22 16:43:50 +02:00
|
|
|
common_static_libraries := \
|
|
|
|
liblogwrap \
|
|
|
|
libfec \
|
|
|
|
libfec_rs \
|
|
|
|
libbase \
|
2016-08-06 00:47:57 +02:00
|
|
|
libcrypto_utils \
|
|
|
|
libcrypto \
|
2017-01-11 23:03:11 +01:00
|
|
|
libext4_utils \
|
2016-05-13 20:19:42 +02:00
|
|
|
libsquashfs_utils \
|
2017-01-11 15:21:38 +01:00
|
|
|
libselinux \
|
|
|
|
libavb
|
2012-01-07 04:09:42 +01:00
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
2015-05-22 16:43:50 +02:00
|
|
|
LOCAL_CLANG := true
|
|
|
|
LOCAL_SANITIZE := integer
|
2017-01-16 14:49:49 +01:00
|
|
|
LOCAL_SRC_FILES:= fs_mgr_main.cpp
|
2012-01-07 04:09:42 +01:00
|
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
|
|
|
LOCAL_MODULE:= fs_mgr
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_FORCE_STATIC_EXECUTABLE := true
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)/sbin
|
|
|
|
LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_UNSTRIPPED)
|
2015-05-22 16:43:50 +02:00
|
|
|
LOCAL_STATIC_LIBRARIES := libfs_mgr \
|
|
|
|
$(common_static_libraries) \
|
|
|
|
libcutils \
|
|
|
|
liblog \
|
|
|
|
libc \
|
2017-01-11 23:37:50 +01:00
|
|
|
libsparse \
|
2015-05-22 16:43:50 +02:00
|
|
|
libz \
|
|
|
|
libselinux
|
2015-04-01 22:26:04 +02:00
|
|
|
LOCAL_CXX_STL := libc++_static
|
2014-05-01 00:35:00 +02:00
|
|
|
LOCAL_CFLAGS := -Werror
|
2012-01-07 04:09:42 +01:00
|
|
|
include $(BUILD_EXECUTABLE)
|