CDM Metrics Protocol buffer serialization.
An implementation that serializes metrics to a protocol buffer. This is a merge from wvgerrit/28440. I intend to submit 2048751, 2048750, and 2048509 together. Bug: 36217927 Bug: 36220975 Test: Added unit tests to cover modified code. Change-Id: Ie8b9d8b91d2602b015f5568890a16c0419c126df
This commit is contained in:
@@ -79,7 +79,9 @@ include $(CLEAR_VARS)
|
||||
LOCAL_MODULE := libcdm_protos
|
||||
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
||||
|
||||
LOCAL_SRC_FILES := $(call all-proto-files-under, cdm/core/src)
|
||||
CORE_PROTO_SRC_FILES := $(call all-proto-files-under, cdm/core/src)
|
||||
METRICS_PROTO_SRC_FILES := $(call all-proto-files-under, cdm/metrics/src)
|
||||
LOCAL_SRC_FILES := $(CORE_PROTO_SRC_FILES) $(METRICS_PROTO_SRC_FILES)
|
||||
|
||||
generated_sources_dir := $(call local-generated-sources-dir)
|
||||
|
||||
@@ -91,7 +93,8 @@ generated_sources_dir := $(call local-generated-sources-dir)
|
||||
# with this path.
|
||||
LOCAL_EXPORT_C_INCLUDE_DIRS := \
|
||||
$(generated_sources_dir)/proto \
|
||||
$(generated_sources_dir)/proto/$(LOCAL_PATH)/cdm/core/src
|
||||
$(generated_sources_dir)/proto/$(LOCAL_PATH)/cdm/core/src \
|
||||
$(generated_sources_dir)/proto/$(LOCAL_PATH)/cdm/metrics/src
|
||||
|
||||
include $(BUILD_STATIC_LIBRARY)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user