From 6ef6999017febaf0039b83c1ff4da1efe9c0e85d Mon Sep 17 00:00:00 2001 From: mtklein Date: Wed, 14 Sep 2016 06:12:09 -0700 Subject: 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 --- gn/shared_sources.gni | 1 + 1 file changed, 1 insertion(+) (limited to 'gn/shared_sources.gni') 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. # -- cgit v1.2.3