diff options
-rw-r--r-- | Changes.md | 10 | ||||
-rw-r--r-- | core/config.mk | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Changes.md b/Changes.md index 2d5cd9766..1ed6bf81d 100644 --- a/Changes.md +++ b/Changes.md | |||
@@ -1,5 +1,15 @@ | |||
1 | # Build System Changes for Android.mk Writers | 1 | # Build System Changes for Android.mk Writers |
2 | 2 | ||
3 | ## `USER` deprecation {#USER} | ||
4 | |||
5 | `USER` will soon be `nobody` in many cases due to the addition of a sandbox | ||
6 | around the Android build. Most of the time you shouldn't need to know the | ||
7 | identity of the user running the build, but if you do, it's available in the | ||
8 | make variable `BUILD_USERNAME` for now. | ||
9 | |||
10 | Similarly, the `hostname` tool will also be returning a more consistent value | ||
11 | of `android-build`. The real value is available as `BUILD_HOSTNAME`. | ||
12 | |||
3 | ## `BUILD_NUMBER` removal from Android.mk {#BUILD_NUMBER} | 13 | ## `BUILD_NUMBER` removal from Android.mk {#BUILD_NUMBER} |
4 | 14 | ||
5 | `BUILD_NUMBER` should not be used directly in Android.mk files, as it would | 15 | `BUILD_NUMBER` should not be used directly in Android.mk files, as it would |
diff --git a/core/config.mk b/core/config.mk index 59b8de00b..18f844d1f 100644 --- a/core/config.mk +++ b/core/config.mk | |||
@@ -90,6 +90,7 @@ $(KATI_obsolete_var \ | |||
90 | GLOBAL_CFLAGS_NO_OVERRIDE GLOBAL_CPPFLAGS_NO_OVERRIDE \ | 90 | GLOBAL_CFLAGS_NO_OVERRIDE GLOBAL_CPPFLAGS_NO_OVERRIDE \ |
91 | ,GCC support has been removed. Use Clang instead) | 91 | ,GCC support has been removed. Use Clang instead) |
92 | $(KATI_obsolete_var DIST_DIR dist_goal,Use dist-for-goals instead. See $(CHANGES_URL)#dist) | 92 | $(KATI_obsolete_var DIST_DIR dist_goal,Use dist-for-goals instead. See $(CHANGES_URL)#dist) |
93 | $(KATI_deprecated_var USER,Use BUILD_USERNAME instead. See $(CHANGES_URL)#USER) | ||
93 | 94 | ||
94 | # This is marked as obsolete in envsetup.mk after reading the BoardConfig.mk | 95 | # This is marked as obsolete in envsetup.mk after reading the BoardConfig.mk |
95 | $(KATI_deprecate_export It is a global setting. See $(CHANGES_URL)#export_keyword) | 96 | $(KATI_deprecate_export It is a global setting. See $(CHANGES_URL)#export_keyword) |