aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libhost/Android.mk
diff options
context:
space:
mode:
authorJP Sugarbroad <jpsugar@google.com>2018-09-10 21:49:21 (GMT)
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-09-10 21:49:21 (GMT)
commit7728c817e34d959b99fc0ae54cff7b8041dadd04 (patch)
treefd6e7a1ead20e0353e4dbaf06836ebef3f167856 /tools/libhost/Android.mk
parent5c6df3c9a2039e7323155c0b8a8734db54ca6fe1 (diff)
parent2df512843fd71c8c3de525a85857eabae99c8141 (diff)
downloadandroid_build-7728c817e34d959b99fc0ae54cff7b8041dadd04.zip
android_build-7728c817e34d959b99fc0ae54cff7b8041dadd04.tar.gz
android_build-7728c817e34d959b99fc0ae54cff7b8041dadd04.tar.bz2
Merge changes from topic "am-b8fbc025-dd1b-4d0d-90bb-1a3f2f2e8d15" into nyc-mr1-dev
* changes: [automerger] [RESTRICT AUTOMERGE] Remove build/libs am: 62a11cf698 am: 41a932d505 [automerger] [RESTRICT AUTOMERGE] Remove build/libs am: 62a11cf698 [RESTRICT AUTOMERGE] Remove build/libs
Diffstat (limited to 'tools/libhost/Android.mk')
-rw-r--r--tools/libhost/Android.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/libhost/Android.mk b/tools/libhost/Android.mk
new file mode 100644
index 0000000..bc25e4b
--- /dev/null
+++ b/tools/libhost/Android.mk
@@ -0,0 +1,22 @@
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ CopyFile.c
+
+LOCAL_CFLAGS := -Werror -Wall
+
+LOCAL_MODULE:= libhost
+LOCAL_MODULE_HOST_OS := darwin linux windows
+LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)/include
+LOCAL_CXX_STL := none
+
+# acp uses libhost, so we can't use
+# acp to install libhost.
+LOCAL_ACP_UNAVAILABLE:= true
+
+include $(BUILD_HOST_STATIC_LIBRARY)
+
+# Include toolchain prebuilt modules if they exist.
+-include $(TARGET_TOOLCHAIN_ROOT)/toolchain.mk