如何编译iOS版本Skia ?

新手上路,请多包涵

如果编译 iOS的版本的 Skia。官网没有提供编译方法。

阅读 5.2k
1 个回答

官网明明有方法……

参见:Skia / build

iOS Run GN to generate your build files. Set target_os="ios" to build
for iOS. This defaults to target_cpu="arm64".

bin/gn gen out/ios64 --args='target_os="ios"' bin/gn gen out/ios32
--args='target_os="ios" target_cpu="arm"' Googlers who want to sign and run iOS test binaries can do so by running something like

python gn/package_ios.py out/Debug/dm python gn/package_ios.py
out/Release/nanobench These commands will create and sign dm.app or
nanobench.app packages you can push to iOS devices registered for
Google development. ios-deploy makes installing and running these
packages easy:

ios-deploy -b out/Debug/dm.app -d --args "--match foo" If you find
yourself missing a Google signing identity or provisioning profile,
you’ll want to have a read through go/appledev.

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题