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 | 8620bb4 | 2015-11-10 11:04:45 -0800 | [diff] [blame] | 9 | LOCAL_SRC_FILES := dumpstate.cpp utils.cpp |
Colin Cross | f45fa6b | 2012-03-26 12:38:26 -0700 | [diff] [blame] | 10 | |
| 11 | LOCAL_MODULE := dumpstate |
| 12 | |
Mark Salyzyn | 290f4b9 | 2016-05-16 08:33:59 -0700 | [diff] [blame] | 13 | LOCAL_SHARED_LIBRARIES := libcutils liblog libselinux libbase |
Felipe Leme | 6e01fa6 | 2015-11-11 19:35:14 -0800 | [diff] [blame] | 14 | # ZipArchive support, the order matters here to get all symbols. |
Mark Salyzyn | 261a733 | 2016-05-24 12:38:40 -0700 | [diff] [blame] | 15 | LOCAL_STATIC_LIBRARIES := libziparchive libz libcrypto_static |
Todd Poynor | 4f5b9a7 | 2013-08-13 16:30:01 -0700 | [diff] [blame] | 16 | LOCAL_HAL_STATIC_LIBRARIES := libdumpstate |
Mark Salyzyn | 791ddd3 | 2016-02-10 07:41:12 -0800 | [diff] [blame] | 17 | LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter |
Tom Cherry | 7415599 | 2015-08-14 13:01:23 -0700 | [diff] [blame] | 18 | LOCAL_INIT_RC := dumpstate.rc |
Jeff Brown | bf7f492 | 2012-06-07 16:40:01 -0700 | [diff] [blame] | 19 | |
Colin Cross | f45fa6b | 2012-03-26 12:38:26 -0700 | [diff] [blame] | 20 | include $(BUILD_EXECUTABLE) |