Build a static version of libchrome.

Cherry-pick modified to match library names in nyc.

Bug: 27178350
TEST=Built a static update_engine_sideload

(cherry picked from commit 3f8e2c8c1429ac3eed87ba85a7e954a6b7c3f4d9)

Change-Id: I56dd6dc14071711c8bb39879860cd1a3ee8ac211
diff --git a/Android.mk b/Android.mk
index 2904098..e934cd9 100644
--- a/Android.mk
+++ b/Android.mk
@@ -412,6 +412,24 @@
 LOCAL_EXPORT_C_INCLUDE_DIRS := $(libchromeExportedCIncludes)
 include $(BUILD_SHARED_LIBRARY)
 
+# libchrome static library for target
+# ========================================================
+include $(CLEAR_VARS)
+LOCAL_MODULE := libchrome
+LOCAL_SRC_FILES := \
+	$(libchromeCommonSrc) \
+	$(libchromeLinuxSrc) \
+	base/sys_info_chromeos.cc \
+
+LOCAL_CPP_EXTENSION := $(libchromeCommonCppExtension)
+LOCAL_CFLAGS := $(libchromeCommonCFlags)
+LOCAL_CLANG := $(libchromeUseClang)
+LOCAL_C_INCLUDES := $(libchromeCommonCIncludes)
+LOCAL_STATIC_LIBRARIES := libmodpb64 libbase libevent liblog libcutils
+LOCAL_EXPORT_STATIC_LIBRARY_HEADERS := $(LOCAL_STATIC_LIBRARIES)
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(libchromeExportedCIncludes)
+include $(BUILD_STATIC_LIBRARY)
+
 # libchrome shared library for host
 # ========================================================
 include $(CLEAR_VARS)