skia2/gn
Zhizhou Yang e18b77972b Turn on PGO for Skia on Android
This patch is to turn on PGO for skia on Android, which will provide a
performance improvement of 7.6% for hwui when applied PGO for both.

The patch specified a skia.profdata file, which locates in internal
google_data/pgo_profile directory, to work as the profile to feed PGO.
This profdata can be re-collected with PGO build system support.

PGO can be turned off by setting ANDROID_PGO_NO_PROFILE_USE environment
variable or set variable to false.

Test: Build skia successfully and verified the performance improvement
on device through benchmark.

BUG=skia:

Change-Id: I826f417569b2853630f6d4fcce236b5bc36547fa
Reviewed-on: https://skia-review.googlesource.com/82880
Commit-Queue: Derek Sollenberger <djsollen@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Reviewed-by: John Reck <jreck@google.com>
2017-12-11 19:20:08 +00:00
..
toolchain Updated MSVC toolchain to 2017, and further refactored GN 2017-12-08 01:46:30 +00:00
__init__.py Make gn directory importable in python 2017-03-20 17:40:30 +00:00
ar.py GN: quiet alink spam on Mac 2016-11-07 14:19:32 +00:00
bench.gni Delete GLBench and subclasses 2017-12-07 18:09:29 +00:00
BUILD.gn Updated MSVC toolchain to 2017, and further refactored GN 2017-12-08 01:46:30 +00:00
BUILDCONFIG.gn Updated MSVC toolchain to 2017, and further refactored GN 2017-12-08 01:46:30 +00:00
call.py Add gn plumbing for mdbviz tool 2017-09-05 13:57:44 +00:00
checkdir.py Bundle resources and skps directories into iOS app. 2017-11-29 17:06:25 +00:00
codesign_ios.py Allow different identities for iOS code signing 2017-12-07 20:42:00 +00:00
compile_processors.py switched to infra version of clang-format for skslc 2017-07-27 20:28:50 +00:00
core.gni upgrade SkReadBuffer to always validate 2017-12-06 21:33:00 +00:00
cp.py GN: get Angle compiling on Windows. 2016-10-17 16:16:16 +00:00
create_sksl_enums.py fix Housekeeper-PerCommit bot 2017-11-16 19:18:53 +00:00
effects.gni Add SK_API to SkOverdrawCanvas and SkOverdrawColorFilter. 2017-08-18 16:53:49 +00:00
find_headers.py Add Goma support in gn_flavor. 2017-12-08 20:09:18 +00:00
find_ios_sysroot.py Add iOS simulator support in GN. 2017-03-13 17:21:43 +00:00
flutter_defines.gni Preemptively disable upcoming Skia features in Flutter/Fuchsia 2017-11-10 13:52:57 +00:00
gen_plist_ios.py Add create_bundle support for GN 2017-11-28 15:29:07 +00:00
gm.gni resources: orgainize directory. 2017-12-08 17:16:00 +00:00
gn_helpers.py
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 Turn on PGO for Skia on Android 2017-12-11 19:20:08 +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 Add GrGLMakeNativeInterface factory that returns sk_sp<const GrGLInterface>. 2017-12-11 17:54:38 +00:00
gypi_to_gn.py Add executable bit and shebang to python files 2016-08-18 04:36:25 -07:00
highest_version_dir.py Add win_toolchain_version to support MSVC 2017 Updates 2017-12-06 19:15:55 +00: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 Assume HQ is handled by pipeline, delete legacy code-path 2017-07-20 00:43:37 +00:00
pdf.gni Revert "Revert "Add method to sk_gpu_test::TestContext to automatically restore the previous context."" 2017-11-17 16:22:56 +00:00
push_to_android.py skia_android_serial = "auto" 2017-01-12 16:30:17 +00:00
run_sksllex.py Re-land "converted OverdrawColorFilter to SkSL" 2017-10-26 14:58:27 +00:00
samples.gni Delete even more unused views code 2017-11-29 18:12:35 +00:00
shared_sources.gni Assume HQ is handled by pipeline, delete legacy code-path 2017-07-20 00:43:37 +00:00
sksl.gni converted ConstColorProcessor to SkSL 2017-11-20 20:34:38 +00:00
tests.gni add SkVptr() 2017-12-06 19:37:27 +00:00
utils.gni clean up SkDeferredCanvas 2017-11-27 21:31:26 +00:00
xps.gni SkXPS: new document API. 2017-02-06 19:00:28 +00:00