diff options
author | 2017-03-07 09:45:50 -0500 | |
---|---|---|
committer | 2017-03-07 16:32:31 +0000 | |
commit | 5c7780e350f44c3415ba17304dd50a21da74e051 (patch) | |
tree | d8bde28a435d48c8c83d107d72805246ed815eb7 /src/pathops/SkOpTAllocator.h | |
parent | 47f5d8466ae3d8a403b53dd3035affbb4790da58 (diff) |
Be able to compile nanobench for Chromecast
Get toolchain from https://goto.google.com/ncoqy and put in
$CAST_TOOLCHAIN
gn gen out/chromecast --args='cc="$CAST_TOOLCHAIN/armv7a/bin/armv7a-cros-linux-gnueabi-gcc" cxx="$CAST_TOOLCHAIN/armv7a/bin/armv7a-cros-linux-gnueabi-g++" ar="$CAST_TOOLCHAIN/armv7a/bin/armv7a-cros-linux-gnueabi-ar" is_official_build=true skia_use_fontconfig=false extra_ldflags=["-static-libstdc++","-static-libgcc"] target_cpu="arm" skia_enable_gpu=false skia_use_system_freetype2=false'
ninja -C out/chromecast nanobench
We go with is_official_build to minimize binary size, as the chromecast
does not have much onboard storage.
They do not package libstdc++ so we add the link options:
-static-libstdc++ -static-libgcc
-momit-leaf-frame-pointer is not supported, so we delete it, as it is not important.
BUG=skia:
Change-Id: I7b0882ab5d6109f07345a2d59df265efef9b9554
Reviewed-on: https://skia-review.googlesource.com/9338
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/pathops/SkOpTAllocator.h')
0 files changed, 0 insertions, 0 deletions