summaryrefslogtreecommitdiffstats
path: root/remote-process/Android.mk
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2013-12-05 19:07:08 +0100
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:04:16 +0100
commitdf8bf839ca3b7ce9a0ac6f1b645f27bdbc8509e5 (patch)
tree788a24d52ff537c68c97ec1a9c97c9cb38199886 /remote-process/Android.mk
parent4c3f8d84128a61f1b9af4260054ab5e4042b08ee (diff)
downloadexternal_parameter-framework-df8bf839ca3b7ce9a0ac6f1b645f27bdbc8509e5.zip
external_parameter-framework-df8bf839ca3b7ce9a0ac6f1b645f27bdbc8509e5.tar.gz
external_parameter-framework-df8bf839ca3b7ce9a0ac6f1b645f27bdbc8509e5.tar.bz2
remote-process: allow reading commands from stdin
BZ: 154316 The remote-process utility was only able to send one command at a time. This patch adds a new usage: if the command is omitted, remote-process reads stdin and sends each line as commands. It stops whenever it encounters an error of any kind (internal or returned by the server). Example of the new usage: remote-process localhost 5000 < commands.txt Change-Id: I2478668807b5541544c5752e68e112c23c85af15 Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'remote-process/Android.mk')
-rw-r--r--remote-process/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/remote-process/Android.mk b/remote-process/Android.mk
index 7cf3ba7..7d63eb5 100644
--- a/remote-process/Android.mk
+++ b/remote-process/Android.mk
@@ -19,6 +19,7 @@ common_c_includes := \
$(LOCAL_PATH)/../remote-processor/
common_shared_libraries := libremote-processor
+common_static_libraries := libaudiocomms_naive_tokenizer
#############################
# Target build
@@ -38,6 +39,7 @@ LOCAL_C_INCLUDES += \
bionic/
LOCAL_SHARED_LIBRARIES := $(common_shared_libraries) libstlport
+LOCAL_STATIC_LIBRARIES := $(common_static_libraries)
include $(BUILD_EXECUTABLE)
@@ -59,5 +61,6 @@ LOCAL_C_INCLUDES += \
LOCAL_SHARED_LIBRARIES := $(foreach shared_library, $(common_shared_libraries), \
$(shared_library)_host)
+LOCAL_STATIC_LIBRARIES := $(common_static_libraries)
include $(BUILD_HOST_EXECUTABLE)