skia2/gn
Kevin Lubick 5c7780e350 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>
2017-03-07 16:32:31 +00:00
..
android_framework_defines.gni remove unneeded android flag for textdecorations 2017-03-01 19:52:44 +00:00
ar.py GN: quiet alink spam on Mac 2016-11-07 14:19:32 +00:00
bench.gni Remove SkColorCubeFilter. It is unused. 2017-01-21 15:09:31 +00:00
BUILD.gn Be able to compile nanobench for Chromecast 2017-03-07 16:32:31 +00:00
BUILDCONFIG.gn Support Android NDK r14. 2017-03-06 14:55:38 +00:00
core.gni Add GrExternalTextureData and SkCrossContextImageData 2017-02-28 20:59:57 +00:00
cp.py GN: get Angle compiling on Windows. 2016-10-17 16:16:16 +00:00
effects.gni Implement SkHighContrastFilter 2017-02-16 02:34:44 +00:00
find_headers.py Mark this file as executable 2016-11-17 22:29:59 +00:00
find_ios_sysroot.py GN: iOS basics 2016-11-03 19:31:50 +00:00
gm.gni Add new GMs to stress rendering of many circles and rrects 2017-02-22 18:01:11 +00:00
gn_helpers.py Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
gn_meta_sln.py Move, rename, and document Visual Studio GN helper script 2016-12-14 16:41:52 +00:00
gn_to_bp.py Add ability to insert systrace markers for the android framework 2017-03-06 17:34:06 +00:00
gn_to_cmake.py Add support for lib_dirs to gn_to_cmake.py. 2016-10-28 15:07:10 +00:00
gpu.gni Move GrDrawOp pipeline/clip processing to GrRenderTargetContext 2017-03-07 15:11:24 +00:00
gypi_to_gn.py Add executable bit and shebang to python files 2016-08-18 04:36:25 -07:00
is_clang.py GN: match shell behavior for cc and cxx in is_clang.py 2016-09-27 09:29:24 -07:00
opts.gni remove MIPS DSP optimizations 2016-12-21 03:55:00 +00:00
package_ios.py Automate more parts of gn/package_ios.py. 2017-01-31 17:41:16 +00:00
pdf.gni Start inverting GN reading .gypis to GYP reading .gnis. 2016-10-26 17:47:00 +00:00
push_to_android.py skia_android_serial = "auto" 2017-01-12 16:30:17 +00:00
samples.gni Add animated text samples 2017-02-13 22:33:08 +00:00
shared_sources.gni remove MIPS DSP optimizations 2016-12-21 03:55:00 +00:00
sksl.gni changed skslc layout parsing strategy 2017-03-01 17:23:58 +00:00
tests.gni Add GrExternalTextureData and SkCrossContextImageData 2017-02-28 20:59:57 +00:00
utils.gni Remove SkTextureCompressor. 2017-02-10 17:36:43 +00:00
xps.gni SkXPS: new document API. 2017-02-06 19:00:28 +00:00