Merge "Rename product_services to system_ext"

This commit is contained in:
Tianjie Xu
2019-06-28 17:45:16 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ std::string BuildInfo::GetProperty(const std::string_view key,
"ro.product.name" "ro.product.name"
}; };
const std::vector<std::string> source_order = { const std::vector<std::string> source_order = {
"product", "product_services", "odm", "vendor", "system", "product", "odm", "vendor", "system_ext", "system",
}; };
if (ro_product_props.find(key) != ro_product_props.end()) { if (ro_product_props.find(key) != ro_product_props.end()) {
std::string_view key_suffix(key); std::string_view key_suffix(key);
+2 -2
View File
@@ -193,10 +193,10 @@ bool TargetFile::GetBuildProps(std::map<std::string, std::string, std::less<>>*
"SYSTEM/build.prop", "SYSTEM/build.prop",
"VENDOR/build.prop", "VENDOR/build.prop",
"PRODUCT/build.prop", "PRODUCT/build.prop",
"PRODUCT_SERVICES/build.prop", "SYSTEM_EXT/build.prop",
"SYSTEM/vendor/build.prop", "SYSTEM/vendor/build.prop",
"SYSTEM/product/build.prop", "SYSTEM/product/build.prop",
"SYSTEM/product_services/build.prop", "SYSTEM/ext/build.prop",
"ODM/build.prop", // legacy "ODM/build.prop", // legacy
"ODM/etc/build.prop", "ODM/etc/build.prop",
"VENDOR/odm/build.prop", // legacy "VENDOR/odm/build.prop", // legacy