aboutsummaryrefslogtreecommitdiff
path: root/Changes.md
diff options
context:
space:
mode:
authorAlix Espino <agespino@google.com>2022-09-14 19:10:51 +0000
committerAlix <agespino@google.com>2022-09-21 16:45:00 +0000
commit38e07f1baf5476ef8e5902eb4d93571e62c0d4d3 (patch)
tree530ce655612d0c67c49797a7381e1dc92399f2af /Changes.md
parentcfb5fb522719373f0739fdbaf9d22f69df477b10 (diff)
downloadbuild-38e07f1baf5476ef8e5902eb4d93571e62c0d4d3.tar.gz
Revert "Revert "Default BuildBrokenClangCFlags & BuildBrokenCla..."
Revert^2 "deletion of clang_cflags & clang_asflags from Soong" e9a6865bc7c51028ed348f6d1c6b975ee8b98837 Test: Treehugger Change-Id: Ibda75c075d0d88f2c11fd10722c9a74481ee965a
Diffstat (limited to 'Changes.md')
-rw-r--r--Changes.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/Changes.md b/Changes.md
index 27e52f2630..3ad26417b2 100644
--- a/Changes.md
+++ b/Changes.md
@@ -827,6 +827,27 @@ go run bpmodify.go -w -m=module_name -remove-property=true -property=clang filep
```
`BUILD_BROKEN_CLANG_PROPERTY` can be used as temporarily workaround
+
+
+### Stop using clang_cflags and clang_asflags
+
+clang_cflags and clang_asflags are deprecated.
+To fix any build errors, use bpmodify to either
+ - move the contents of clang_asflags/clang_cflags into asflags/cflags or
+ - delete clang_cflags/as_flags as necessary
+
+To Move the contents:
+``` make
+go run bpmodify.go -w -m=module_name -move-property=true -property=clang_cflags -new-location=cflags filepath
+```
+
+To Delete:
+``` make
+go run bpmodify.go -w -m=module_name -remove-property=true -property=clang_cflags filepath
+```
+
+`BUILD_BROKEN_CLANG_ASFLAGS` and `BUILD_BROKEN_CLANG_CFLAGS` can be used as temporarily workarounds
+
### Other envsetup.sh variables {#other_envsetup_variables}
* ANDROID_TOOLCHAIN