Colin Cross | f45fa6b | 2012-03-26 12:38:26 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
Todd Poynor | 4f5b9a7 | 2013-08-13 16:30:01 -0700 | [diff] [blame] | 2 | |
| 3 | include $(CLEAR_VARS) |
Colin Cross | f45fa6b | 2012-03-26 12:38:26 -0700 | [diff] [blame] | 4 | |
| 5 | ifdef BOARD_WLAN_DEVICE |
| 6 | LOCAL_CFLAGS := -DFWDUMP_$(BOARD_WLAN_DEVICE) |
| 7 | endif |
| 8 | |
Felipe Leme | e844a9d | 2016-09-21 15:01:39 -0700 | [diff] [blame^] | 9 | LOCAL_SRC_FILES := \ |
| 10 | dumpstate.cpp \ |
| 11 | utils.cpp |
Colin Cross | f45fa6b | 2012-03-26 12:38:26 -0700 | [diff] [blame] | 12 | |
| 13 | LOCAL_MODULE := dumpstate |
| 14 | |
Felipe Leme | e844a9d | 2016-09-21 15:01:39 -0700 | [diff] [blame^] | 15 | LOCAL_SHARED_LIBRARIES := \ |
| 16 | libbase \ |
| 17 | libcutils \ |
| 18 | libhardware_legacy \ |
| 19 | liblog \ |
| 20 | libselinux |
| 21 | |
Felipe Leme | 6e01fa6 | 2015-11-11 19:35:14 -0800 | [diff] [blame] | 22 | # ZipArchive support, the order matters here to get all symbols. |
Felipe Leme | e844a9d | 2016-09-21 15:01:39 -0700 | [diff] [blame^] | 23 | ZIP_LIBRARIES := libziparchive libz libcrypto_static |
| 24 | |
| 25 | LOCAL_STATIC_LIBRARIES := $(ZIP_LIBRARIES) |
Todd Poynor | 4f5b9a7 | 2013-08-13 16:30:01 -0700 | [diff] [blame] | 26 | LOCAL_HAL_STATIC_LIBRARIES := libdumpstate |
Mark Salyzyn | 791ddd3 | 2016-02-10 07:41:12 -0800 | [diff] [blame] | 27 | LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter |
Tom Cherry | 7415599 | 2015-08-14 13:01:23 -0700 | [diff] [blame] | 28 | LOCAL_INIT_RC := dumpstate.rc |
Jeff Brown | bf7f492 | 2012-06-07 16:40:01 -0700 | [diff] [blame] | 29 | |
Colin Cross | f45fa6b | 2012-03-26 12:38:26 -0700 | [diff] [blame] | 30 | include $(BUILD_EXECUTABLE) |