aboutsummaryrefslogtreecommitdiff
path: root/examples/simple/rules.mk
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-15 00:03:35 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-15 00:03:35 +0000
commit7ecaead1261f60de80f205a83546966941b7f543 (patch)
tree45680bae9335ed374090f4aee3812fe80c98accc /examples/simple/rules.mk
parent75930fdbca54e79d07a890855a04f161a7cbdce9 (diff)
parent2698e8bf57b179ed5922aeb1217d2e7fd1184075 (diff)
downloadnanopb-c-android12L-d2-release.tar.gz
Change-Id: Ic35f7dce5040938cd47b31fec40fd3f9f4eb1830
Diffstat (limited to 'examples/simple/rules.mk')
-rw-r--r--examples/simple/rules.mk24
1 files changed, 0 insertions, 24 deletions
diff --git a/examples/simple/rules.mk b/examples/simple/rules.mk
deleted file mode 100644
index 1e4221d..0000000
--- a/examples/simple/rules.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-NANOPB_DIR := external/nanopb-0.3.9.1-linux-x86
-
-LOCAL_DIR := $(GET_LOCAL_DIR)
-
-MODULE := $(LOCAL_DIR)
-
-MODULE_SRCS += \
- $(LOCAL_DIR)/simple.c \
- $(LOCAL_DIR)/simple.pb.c \
- $(NANOPB_DIR)/pb_encode.c \
- $(NANOPB_DIR)/pb_decode.c \
- $(NANOPB_DIR)/pb_common.c
-
-MODULE_CPPFLAGS += -std=c++11
-
-MODULE_INCLUDES += \
- $(NANOPB_DIR)
-
-$(LOCAL_DIR)/simple.pb.c: $(LOCAL_DIR)/simple.proto
- $(PROTOC) $(PROTOC_OPTS) --nanopb_out=$(LOCAL_DIR) $(LOCAL_DIR)/simple.proto
-
-include $(NANOPB_DIR)/extra/nanopb.mk
-include make/module.mk
-