Add environment variable UNBUNDLED_BUILD_TARGET_SDK_WITH_DESSERT_SHA
UNBUNDLED_BUILD_TARGET_SDK_WITH_DESSERT_SHA enables user to specify ${codename}.${sha} as min_sdk_version and target_sdk_version in order to support mainline train building into android build. Test: TH Bug: 295905124 Change-Id: I6c793bc83e88ec620ed5e2e87d0371bc2455cf1b
This commit is contained in:
parent
0dc4e61753
commit
c4500afd1b
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ ifdef TARGET_BUILD_APPS
|
||||||
my_target_sdk_version := $(my_target_sdk_version).$$(cat $(API_FINGERPRINT))
|
my_target_sdk_version := $(my_target_sdk_version).$$(cat $(API_FINGERPRINT))
|
||||||
my_min_sdk_version := $(my_min_sdk_version).$$(cat $(API_FINGERPRINT))
|
my_min_sdk_version := $(my_min_sdk_version).$$(cat $(API_FINGERPRINT))
|
||||||
$(fixed_android_manifest): $(API_FINGERPRINT)
|
$(fixed_android_manifest): $(API_FINGERPRINT)
|
||||||
|
else ifdef UNBUNDLED_BUILD_TARGET_SDK_WITH_DESSERT_SHA
|
||||||
|
my_target_sdk_version := $(UNBUNDLED_BUILD_TARGET_SDK_WITH_DESSERT_SHA)
|
||||||
|
my_min_sdk_version := $(UNBUNDLED_BUILD_TARGET_SDK_WITH_DESSERT_SHA)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue