Merge "Ignore embed-bitcode flag" am: 41be981f3c
Original change: https://android-review.googlesource.com/c/platform/development/+/1412811 Change-Id: Ib9848689bd5b1a14ed5e6baec10d489cde9d5058
This commit is contained in:
@@ -369,7 +369,9 @@ class Crate(object):
|
|||||||
def add_codegens_flag(self, flag):
|
def add_codegens_flag(self, flag):
|
||||||
# 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
|
||||||
if not (flag.startswith('debuginfo=') or
|
if not (flag.startswith('debuginfo=') or
|
||||||
|
flag.startswith('embed-bitcode=') or
|
||||||
flag.startswith('extra-filename=') or
|
flag.startswith('extra-filename=') or
|
||||||
flag.startswith('incremental=') or
|
flag.startswith('incremental=') or
|
||||||
flag.startswith('metadata=') or
|
flag.startswith('metadata=') or
|
||||||
|
|||||||
Reference in New Issue
Block a user