diff options
author | Dan Willemsen <dwillemsen@google.com> | 2019-01-02 14:32:54 -0800 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2019-01-02 14:33:29 -0800 |
commit | 0636428d43ba5c069b4bf91abad31623c823bfe6 (patch) | |
tree | 1958f1b4a7817e32792b635814d42f3d654536be /Changes.md | |
parent | 63e48db6d19a676edb56b32d9afc10de363d6122 (diff) | |
download | build-0636428d43ba5c069b4bf91abad31623c823bfe6.tar.gz |
Deprecate USER in favor of BUILD_USERNAME
Bug: 122270019
Test: treehugger, codesearch
Diffstat (limited to 'Changes.md')
-rw-r--r-- | Changes.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Changes.md b/Changes.md index 2d5cd9766d..1ed6bf81d1 100644 --- a/Changes.md +++ b/Changes.md @@ -1,5 +1,15 @@ # Build System Changes for Android.mk Writers +## `USER` deprecation {#USER} + +`USER` will soon be `nobody` in many cases due to the addition of a sandbox +around the Android build. Most of the time you shouldn't need to know the +identity of the user running the build, but if you do, it's available in the +make variable `BUILD_USERNAME` for now. + +Similarly, the `hostname` tool will also be returning a more consistent value +of `android-build`. The real value is available as `BUILD_HOSTNAME`. + ## `BUILD_NUMBER` removal from Android.mk {#BUILD_NUMBER} `BUILD_NUMBER` should not be used directly in Android.mk files, as it would |