diff options
author | mtklein <mtklein@chromium.org> | 2016-09-14 06:12:09 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-14 06:12:09 -0700 |
commit | 6ef6999017febaf0039b83c1ff4da1efe9c0e85d (patch) | |
tree | 6387a4f0642e2f2658ae048eb6d6517458be9ae7 /gn/shared_sources.gni | |
parent | 4ff7871ed368cf0b1f28da9096314a1f827f79e4 (diff) |
GN: Android Vulkan support
Android's the easiest place to start supporting Vulkan, so it's up first.
ndk_api becomes user-specifiable so that the Vulkan bots can kick it up
to 24, the first release supporting Vulkan. The defaults remain the same:
18 for 32-bit and 21 for 64-bit, the first release supporting 64-bit.
To test this, I set ndk_api=24 and skia_use_vulkan=true in GN, then
$ ninja -C out dm; and droid out/dm --config vk --src gm
Seems to work! Bot scripts to follow.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2336343002
Review-Url: https://codereview.chromium.org/2336343002
Diffstat (limited to 'gn/shared_sources.gni')
-rw-r--r-- | gn/shared_sources.gni | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gn/shared_sources.gni b/gn/shared_sources.gni index 9a4af74538..71c3b548d2 100644 --- a/gn/shared_sources.gni +++ b/gn/shared_sources.gni @@ -44,6 +44,7 @@ _gpu_gypi = exec_script("gypi_to_gn.py", [ "../gyp/gpu.gypi" ]) skia_gpu_sources = _gpu_gypi.skgpu_sources skia_null_gpu_sources = _gpu_gypi.skgpu_null_gl_sources +skia_vk_sources = _gpu_gypi.skgpu_vk_sources # Opts. # |