Merge "Ignore embed-bitcode flag" am: 41be981f3c am: 51096a8d55

Original change: https://android-review.googlesource.com/c/platform/development/+/1412811

Change-Id: Ib62748656b70087c377156732c5c590e04c5eee4
This commit is contained in:
Treehugger Robot
2020-08-26 20:42:38 +00:00
committed by Automerger Merge Worker

View File

@@ -369,7 +369,9 @@ class Crate(object):
def add_codegens_flag(self, flag):
# ignore options not used in Android
# '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
flag.startswith('embed-bitcode=') or
flag.startswith('extra-filename=') or
flag.startswith('incremental=') or
flag.startswith('metadata=') or