commit | e4264428b06a891e13315d57ffb04532d7c6d7b8 | [log] [tgz] |
---|---|---|
author | Chris Blume <[email protected]> | Tue Jul 10 04:56:24 2018 |
committer | Commit Bot <[email protected]> | Tue Jul 10 04:56:24 2018 |
tree | 4a96e6d230f704b9cbdb6b94343f70f0649be3e5 | |
parent | 10326802c7d4a7a2d752f18bfcbfb55c4329c22a [diff] [blame] |
Fix Vulkan build on Android Building for Android with Vulkan support previously did not work. There was some existing Android + Vulkan code which needed a little clean up. This patch enables Vulkan support on Android builds. BUG=842302,850725,848375 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I077fe775c7d387e5c65c0024e88421ba47ce6280 Reviewed-on: https://chromium-review.googlesource.com/1110754 Reviewed-by: Brian Salomon <[email protected]> Reviewed-by: Min Qin <[email protected]> Reviewed-by: Tobias Sargeant <[email protected]> Reviewed-by: Eric Karl <[email protected]> Reviewed-by: Antoine Labour <[email protected]> Commit-Queue: Chris Blume <[email protected]> Cr-Commit-Position: refs/heads/master@{#573613}
diff --git a/content/browser/BUILD.gn b/content/browser/BUILD.gn index 3a2982b..bcb8f0d 100644 --- a/content/browser/BUILD.gn +++ b/content/browser/BUILD.gn
@@ -2213,6 +2213,9 @@ "//ui/compositor", "//ui/compositor/host", ] + if (enable_vulkan) { + deps += [ "//gpu/vulkan/init" ] + } defines += [ "APPCACHE_USE_SIMPLE_CACHE", "ENABLE_SCREEN_CAPTURE=1",