William Roberts | 22fc041 | 2012-12-06 05:45:15 +0900 | [diff] [blame] | 1 | # |
| 2 | # Maps an arbitrary tag [TAGNAME] with the string contents found in |
| 3 | # TARGET_BUILD_VARAINT. Common convention is to start TAGNAME with an @ and |
| 4 | # name it after the base file name of the pem file. |
| 5 | # |
| 6 | # Each tag (section) then allows one to specify any string found in |
| 7 | # TARGET_BUILD_VARIANT. Typcially this is user, eng, and userdebug. Another |
| 8 | # option is to use ALL which will match ANY TARGET_BUILD_VARAINT string. |
| 9 | # |
| 10 | |
| 11 | [@PLATFORM] |
| 12 | ALL : build/target/product/security/platform.x509.pem |
| 13 | |
| 14 | [@MEDIA] |
| 15 | ALL : build/target/product/security/media.x509.pem |
| 16 | |
| 17 | [@SHARED] |
| 18 | ALL : build/target/product/security/shared.x509.pem |
| 19 | |
| 20 | # Example of ALL TARGET_BUILD_VARIANTS |
| 21 | [@RELEASE] |
| 22 | ENG : build/target/product/security/testkey.x509.pem |
| 23 | USER : build/target/product/security/testkey.x509.pem |
| 24 | USERDEBUG : build/target/product/security/testkey.x509.pem |
| 25 | |