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
diff --git a/Android.mk b/Android.mk
index d21a1a5..ffe89c5 100644
--- a/Android.mk
+++ b/Android.mk
@@ -139,6 +139,11 @@
 	$(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 \