Merge "Ignore -C codegen-units flag" am: 2bbb98ad2f am: 10987326b1 am: 2024e0ff67 am: 8d9985429e
Original change: https://android-review.googlesource.com/c/platform/development/+/1426187 Change-Id: Ia31de1459d9af1fb5edec0c318971078952a88bb
This commit is contained in:
@@ -370,7 +370,9 @@ class Crate(object):
|
|||||||
# ignore options not used in Android
|
# ignore options not used in Android
|
||||||
# 'prefer-dynamic' does not work with common flag -C lto
|
# 'prefer-dynamic' does not work with common flag -C lto
|
||||||
# 'embed-bitcode' is ignored; we might control LTO with other .bp flag
|
# 'embed-bitcode' is ignored; we might control LTO with other .bp flag
|
||||||
if not (flag.startswith('debuginfo=') or
|
# 'codegen-units' is set in Android global config or by default
|
||||||
|
if not (flag.startswith('codegen-units=') or
|
||||||
|
flag.startswith('debuginfo=') or
|
||||||
flag.startswith('embed-bitcode=') or
|
flag.startswith('embed-bitcode=') or
|
||||||
flag.startswith('extra-filename=') or
|
flag.startswith('extra-filename=') or
|
||||||
flag.startswith('incremental=') or
|
flag.startswith('incremental=') or
|
||||||
|
|||||||
Reference in New Issue
Block a user