summaryrefslogtreecommitdiffstats
path: root/minadbd/Android.mk
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-02-25 07:09:24 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-02-25 07:09:24 +0100
commit35fbf7876059b64d069d60fd9eab761718344271 (patch)
treef783ff7a4c4057ed7d1216e9d5ce674e8b6e5020 /minadbd/Android.mk
parentMerge "Delete unused functions from minzip." (diff)
parentFix build from implicit declaration. (diff)
downloadandroid_bootable_recovery-35fbf7876059b64d069d60fd9eab761718344271.tar
android_bootable_recovery-35fbf7876059b64d069d60fd9eab761718344271.tar.gz
android_bootable_recovery-35fbf7876059b64d069d60fd9eab761718344271.tar.bz2
android_bootable_recovery-35fbf7876059b64d069d60fd9eab761718344271.tar.lz
android_bootable_recovery-35fbf7876059b64d069d60fd9eab761718344271.tar.xz
android_bootable_recovery-35fbf7876059b64d069d60fd9eab761718344271.tar.zst
android_bootable_recovery-35fbf7876059b64d069d60fd9eab761718344271.zip
Diffstat (limited to 'minadbd/Android.mk')
-rw-r--r--minadbd/Android.mk22
1 files changed, 11 insertions, 11 deletions
diff --git a/minadbd/Android.mk b/minadbd/Android.mk
index f4b060b47..dce004feb 100644
--- a/minadbd/Android.mk
+++ b/minadbd/Android.mk
@@ -1,22 +1,22 @@
# Copyright 2005 The Android Open Source Project
-#
-# Android.mk for adb
-#
LOCAL_PATH:= $(call my-dir)
-# minadbd library
-# =========================================================
-
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
- adb_main.c \
- fuse_adb_provider.c \
- services.c \
+ adb_main.c \
+ fuse_adb_provider.c \
+ services.c \
+
+LOCAL_CFLAGS := \
+ -Wall -Werror \
+ -Wno-unused-parameter \
+ -Wimplicit-function-declaration \
+ -D_GNU_SOURCE \
+ -D_XOPEN_SOURCE \
+ -DADB_HOST=0 \
-LOCAL_CFLAGS := -O2 -g -DADB_HOST=0 -Wall -Wno-unused-parameter
-LOCAL_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE
LOCAL_C_INCLUDES := bootable/recovery system/core/adb
LOCAL_WHOLE_STATIC_LIBRARIES := libadbd