PHPz2017-04-17 15:36:58
官网明明有方法……
参见: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 likepython 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.