1*e4a36f41SAndroid Build Coastguard Worker# 2*e4a36f41SAndroid Build Coastguard Worker# Maps an arbitrary tag [TAGNAME] with the string contents found in 3*e4a36f41SAndroid Build Coastguard Worker# TARGET_BUILD_VARIANT. Common convention is to start TAGNAME with an @ and 4*e4a36f41SAndroid Build Coastguard Worker# name it after the base file name of the pem file. 5*e4a36f41SAndroid Build Coastguard Worker# 6*e4a36f41SAndroid Build Coastguard Worker# Each tag (section) then allows one to specify any string found in 7*e4a36f41SAndroid Build Coastguard Worker# TARGET_BUILD_VARIANT. Typcially this is user, eng, and userdebug. Another 8*e4a36f41SAndroid Build Coastguard Worker# option is to use ALL which will match ANY TARGET_BUILD_VARIANT string. 9*e4a36f41SAndroid Build Coastguard Worker# 10*e4a36f41SAndroid Build Coastguard Worker 11*e4a36f41SAndroid Build Coastguard Worker[@PLATFORM] 12*e4a36f41SAndroid Build Coastguard WorkerALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/platform.x509.pem 13*e4a36f41SAndroid Build Coastguard Worker 14*e4a36f41SAndroid Build Coastguard Worker[@MEDIA] 15*e4a36f41SAndroid Build Coastguard WorkerALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/media.x509.pem 16*e4a36f41SAndroid Build Coastguard Worker 17*e4a36f41SAndroid Build Coastguard Worker[@NETWORK_STACK] 18*e4a36f41SAndroid Build Coastguard WorkerALL : $MAINLINE_SEPOLICY_DEV_CERTIFICATES/networkstack.x509.pem 19*e4a36f41SAndroid Build Coastguard Worker 20*e4a36f41SAndroid Build Coastguard Worker[@SHARED] 21*e4a36f41SAndroid Build Coastguard WorkerALL : $DEFAULT_SYSTEM_DEV_CERTIFICATE/shared.x509.pem 22*e4a36f41SAndroid Build Coastguard Worker 23*e4a36f41SAndroid Build Coastguard Worker# Example of ALL TARGET_BUILD_VARIANTS 24*e4a36f41SAndroid Build Coastguard Worker[@RELEASE] 25*e4a36f41SAndroid Build Coastguard WorkerENG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem 26*e4a36f41SAndroid Build Coastguard WorkerUSER : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem 27*e4a36f41SAndroid Build Coastguard WorkerUSERDEBUG : $DEFAULT_SYSTEM_DEV_CERTIFICATE/testkey.x509.pem 28*e4a36f41SAndroid Build Coastguard Worker 29