aboutsummaryrefslogtreecommitdiff
path: root/Changes.md
diff options
context:
space:
mode:
authorAlix <agespino@google.com>2022-08-29 14:10:20 +0000
committerAlix <agespino@google.com>2022-09-07 15:30:01 +0000
commit8b7da27e22cb06fca8728d74310324e807990545 (patch)
tree18e1376869f75b26866a1e05095449fd461db27b /Changes.md
parentfe9d1d316d686455d83b107a16b012d1ca2d8f76 (diff)
downloadbuild-8b7da27e22cb06fca8728d74310324e807990545.tar.gz
Default BuildBrokenClangCFlags & BuildBrokenClangAsFlags to empty (false)
Set up BUILD_BROKEN flags so partners can bypass errors from using them Bug: 226636335 Test: m nothing & treehugger Change-Id: I5c499a37e206bdf89c5c9f84c6ecfe1cdc9a1803
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