summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmds/incidentd/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/incidentd/Android.mk b/cmds/incidentd/Android.mk
index 1cf02d35636c..8420bc8f7ac7 100644
--- a/cmds/incidentd/Android.mk
+++ b/cmds/incidentd/Android.mk
@@ -91,7 +91,9 @@ GEN_PROTO:=
gen_src_dir:=
+ifeq ($(BUILD_WITH_INCIDENTD_RC), true)
LOCAL_INIT_RC := incidentd.rc
+endif
include $(BUILD_EXECUTABLE)