Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8cc9ca1f authored by Eric Erfanian's avatar Eric Erfanian
Browse files

Modify the Dialer make file to compile nano protos.

Test: make, treehugger

This change enables native proto compilation for nano protos
under android make.

In a subsequent change, we will remove precompiled proto classes
and begin compiling protos that are included with the release.

Change-Id: I6579151686b94c83f93b7dc04225ec2ddf30f95d
parent fc37b02f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -139,6 +139,11 @@ LOCAL_FULL_LIBS_MANIFEST_FILES := \
	$(addprefix $(LOCAL_PATH)/, $(DIALER_MANIFEST_FILES))
LOCAL_SRC_FILES := $(call all-java-files-under, $(SRC_DIRS))
LOCAL_SRC_FILES := $(filter-out $(EXCLUDE_FILES),$(LOCAL_SRC_FILES))
# Include protocol buffers and use the nano compiler.
LOCAL_SRC_FILES += $(call all-proto-files-under, $(SRC_DIRS))
LOCAL_PROTOC_OPTIMIZE_TYPE := nano
LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)
LOCAL_PROTO_JAVA_OUTPUT_PARAMS := enum_style=java
LOCAL_RESOURCE_DIR := \
	$(addprefix $(LOCAL_PATH)/, $(RES_DIRS)) \
	$(support_library_root_dir)/design/res \