Ken Sumrall | 7574c03 | 2012-01-06 19:09:42 -0800 | [diff] [blame] | 1 | # Copyright 2011 The Android Open Source Project |
| 2 | |
| 3 | LOCAL_PATH:= $(call my-dir) |
Sami Tolvanen | 99e3a92 | 2015-05-22 15:43:50 +0100 | [diff] [blame] | 4 | |
| 5 | common_static_libraries := \ |
| 6 | liblogwrap \ |
| 7 | libfec \ |
| 8 | libfec_rs \ |
| 9 | libbase \ |
Josh Gao | 47763c3 | 2016-08-05 15:47:57 -0700 | [diff] [blame] | 10 | libcrypto_utils \ |
| 11 | libcrypto \ |
Alex Deymo | 705353a | 2017-01-11 14:03:11 -0800 | [diff] [blame] | 12 | libext4_utils \ |
William Roberts | 875476d | 2016-05-13 11:19:42 -0700 | [diff] [blame] | 13 | libsquashfs_utils \ |
bowgotsai | b51722b | 2017-01-11 22:21:38 +0800 | [diff] [blame] | 14 | libselinux \ |
| 15 | libavb |
Sami Tolvanen | 99e3a92 | 2015-05-22 15:43:50 +0100 | [diff] [blame] | 16 | |
Ken Sumrall | 7574c03 | 2012-01-06 19:09:42 -0800 | [diff] [blame] | 17 | include $(CLEAR_VARS) |
Sami Tolvanen | 99e3a92 | 2015-05-22 15:43:50 +0100 | [diff] [blame] | 18 | LOCAL_CLANG := true |
| 19 | LOCAL_SANITIZE := integer |
bowgotsai | cea7ea7 | 2017-01-16 21:49:49 +0800 | [diff] [blame] | 20 | LOCAL_SRC_FILES:= fs_mgr_main.cpp |
Ken Sumrall | 7574c03 | 2012-01-06 19:09:42 -0800 | [diff] [blame] | 21 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include |
Ken Sumrall | 7574c03 | 2012-01-06 19:09:42 -0800 | [diff] [blame] | 22 | LOCAL_MODULE:= fs_mgr |
Ken Sumrall | 7574c03 | 2012-01-06 19:09:42 -0800 | [diff] [blame] | 23 | LOCAL_MODULE_TAGS := optional |
| 24 | LOCAL_FORCE_STATIC_EXECUTABLE := true |
| 25 | LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)/sbin |
| 26 | LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_UNSTRIPPED) |
Sami Tolvanen | 99e3a92 | 2015-05-22 15:43:50 +0100 | [diff] [blame] | 27 | LOCAL_STATIC_LIBRARIES := libfs_mgr \ |
| 28 | $(common_static_libraries) \ |
| 29 | libcutils \ |
| 30 | liblog \ |
| 31 | libc \ |
Alex Deymo | b0c3959 | 2017-01-11 14:37:50 -0800 | [diff] [blame] | 32 | libsparse \ |
Sami Tolvanen | 99e3a92 | 2015-05-22 15:43:50 +0100 | [diff] [blame] | 33 | libz \ |
| 34 | libselinux |
Dan Albert | bbbc634 | 2015-04-01 13:26:04 -0700 | [diff] [blame] | 35 | LOCAL_CXX_STL := libc++_static |
Mark Salyzyn | 86e3f22 | 2014-04-30 15:35:00 -0700 | [diff] [blame] | 36 | LOCAL_CFLAGS := -Werror |
Ken Sumrall | 7574c03 | 2012-01-06 19:09:42 -0800 | [diff] [blame] | 37 | include $(BUILD_EXECUTABLE) |