blob: 0433f31eb22319e2de19b7c995694940d06051e9 [file] [log] [blame]
Colin Crossf45fa6b2012-03-26 12:38:26 -07001LOCAL_PATH:= $(call my-dir)
Todd Poynor4f5b9a72013-08-13 16:30:01 -07002
3include $(CLEAR_VARS)
Colin Crossf45fa6b2012-03-26 12:38:26 -07004
5ifdef BOARD_WLAN_DEVICE
6LOCAL_CFLAGS := -DFWDUMP_$(BOARD_WLAN_DEVICE)
7endif
8
Felipe Leme8620bb42015-11-10 11:04:45 -08009LOCAL_SRC_FILES := dumpstate.cpp utils.cpp
Colin Crossf45fa6b2012-03-26 12:38:26 -070010
11LOCAL_MODULE := dumpstate
12
Mark Salyzyn290f4b92016-05-16 08:33:59 -070013LOCAL_SHARED_LIBRARIES := libcutils liblog libselinux libbase
Felipe Leme6e01fa62015-11-11 19:35:14 -080014# ZipArchive support, the order matters here to get all symbols.
Mark Salyzyn261a7332016-05-24 12:38:40 -070015LOCAL_STATIC_LIBRARIES := libziparchive libz libcrypto_static
Todd Poynor4f5b9a72013-08-13 16:30:01 -070016LOCAL_HAL_STATIC_LIBRARIES := libdumpstate
Mark Salyzyn791ddd32016-02-10 07:41:12 -080017LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter
Tom Cherry74155992015-08-14 13:01:23 -070018LOCAL_INIT_RC := dumpstate.rc
Jeff Brownbf7f4922012-06-07 16:40:01 -070019
Colin Crossf45fa6b2012-03-26 12:38:26 -070020include $(BUILD_EXECUTABLE)