| Kenny Root | 33b2264 | 2010-11-30 13:49:32 -0800 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| Kenny Root | 86c9584 | 2011-03-31 13:16:12 -0700 | [diff] [blame] | 2 | |
| 3 | common_src_files := \ |
| 4 | commands.c utils.c |
| 5 | |
| 6 | # |
| 7 | # Static library used in testing and executable |
| 8 | # |
| 9 | |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 10 | include $(CLEAR_VARS) |
| 11 | |
| Kenny Root | 33b2264 | 2010-11-30 13:49:32 -0800 | [diff] [blame] | 12 | LOCAL_SRC_FILES := \ |
| Kenny Root | 86c9584 | 2011-03-31 13:16:12 -0700 | [diff] [blame] | 13 | $(common_src_files) |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 14 | |
| Kenny Root | 86c9584 | 2011-03-31 13:16:12 -0700 | [diff] [blame] | 15 | LOCAL_MODULE := libinstalld |
| 16 | |
| 17 | LOCAL_MODULE_TAGS := eng tests |
| 18 | |
| 19 | include $(BUILD_STATIC_LIBRARY) |
| 20 | |
| 21 | # |
| 22 | # Executable |
| 23 | # |
| 24 | |
| 25 | include $(CLEAR_VARS) |
| 26 | |
| 27 | LOCAL_SRC_FILES := \ |
| 28 | installd.c \ |
| 29 | $(common_src_files) |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 30 | |
| 31 | LOCAL_SHARED_LIBRARIES := \ |
| 32 | libcutils |
| 33 | |
| Kenny Root | 33b2264 | 2010-11-30 13:49:32 -0800 | [diff] [blame] | 34 | LOCAL_STATIC_LIBRARIES := \ |
| 35 | libdiskusage |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 36 | |
| Kenny Root | 33b2264 | 2010-11-30 13:49:32 -0800 | [diff] [blame] | 37 | LOCAL_MODULE := installd |
| 38 | |
| 39 | LOCAL_MODULE_TAGS := optional |
| The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 40 | |
| 41 | include $(BUILD_EXECUTABLE) |