提交 eb467a8b 编写于 作者: R Ryan Macnak 提交者: GitHub

Don't enable_profiling for x86 Android. (#3848)

This somehow introduces text relocations even though we always use -fPIC.
上级 66fbebac
......@@ -156,7 +156,9 @@ def to_gn_args(args):
gn_args['skia_use_vulkan'] = True
gn_args['skia_vulkan_headers'] = "//third_party/vulkan/src"
gn_args['enable_profiling'] = args.runtime_mode != 'release'
# We should not need a special case for x86, but this seems to introduce text relocations
# even with -fPIC everywhere.
gn_args['enable_profiling'] = args.runtime_mode != 'release' and args.android_cpu != 'x86'
return gn_args
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册