Add support for reporting product components to Omaha.
Parse the product_components file from os-release.d and report
them in separate xml attributes.
Bug: 67872115
Test: check omaha request
Change-Id: I82cc3ef30b0cc9bab33f8e7eb939856a4740b9e3
(cherry picked from commit a025114f8df6509f80e60b19b5eca615610104b1)
diff --git a/image_properties.h b/image_properties.h
index 4f94eeb..2d1a408 100644
--- a/image_properties.h
+++ b/image_properties.h
@@ -41,6 +41,9 @@
// The system version of this image.
std::string system_version;
+ // The version of all product components in key values pairs.
+ std::string product_components;
+
// A unique string that identifies this build. Normally a combination of the
// the version, signing keys and build target.
std::string build_fingerprint;