Merge "Add vendor_available: true
to libbuildverison" am: d2d8e322f1
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1912416 Change-Id: I1edc9dcf067047e8414f1863c5b740084efc2f50
This commit is contained in:
@@ -19,4 +19,5 @@ cc_library_static {
|
||||
"//apex_available:platform",
|
||||
"//apex_available:anyapex",
|
||||
],
|
||||
vendor_available: true,
|
||||
}
|
||||
|
@@ -36,7 +36,11 @@ std::string GetBuildNumber() {
|
||||
return soong_build_number;
|
||||
}
|
||||
|
||||
#ifdef __ANDROID_VENDOR__
|
||||
const prop_info* pi = __system_property_find("ro.vendor.build.version.incremental");
|
||||
#else
|
||||
const prop_info* pi = __system_property_find("ro.build.version.incremental");
|
||||
#endif
|
||||
if (pi == nullptr) return "";
|
||||
|
||||
std::string property_value;
|
||||
|
Reference in New Issue
Block a user