diff options
author | 2017-06-13 22:16:08 +0000 | |
---|---|---|
committer | 2017-06-13 22:16:19 +0000 | |
commit | fad9e3f54112ea8c8bb6bb72384f47b9759578f5 (patch) | |
tree | b4a713dabc9aaa76149222a5816a35d7f3fa5417 /BUILD.gn | |
parent | 4f8c695736c8ae4fed2190a8e1301a4f4a979898 (diff) |
Revert "Update skia to use ifdefs for Vulkan code instead of dummy header"
This reverts commit c0f8e426c59eec6c720b8e1329dcb966cf1b6800.
Reason for revert: Experiment to see if this will unblock the Android roll
Original change's description:
> Update skia to use ifdefs for Vulkan code instead of dummy header
>
> Bug: skia:6721
> Change-Id: I80a4c9f2acc09c174497f625c50ed12a8bb76505
> Reviewed-on: https://skia-review.googlesource.com/19547
> Reviewed-by: Mike Klein <mtklein@google.com>
> Commit-Queue: Greg Daniel <egdaniel@google.com>
TBR=egdaniel@google.com,mtklein@google.com,bsalomon@google.com
Change-Id: Ib51c1672570f2071a17b6fbde692a5174b0358ce
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:6721
Reviewed-on: https://skia-review.googlesource.com/19724
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -55,14 +55,17 @@ declare_args() { } } declare_args() { - skia_vulkan_headers = "" if (skia_use_vulkan) { - # When buliding on Android we get the header via the NDK so no need for any extra path. if (is_fuchsia) { skia_vulkan_headers = "$fuchsia_vulkan_sdk/include" } else if (is_linux || is_win) { skia_vulkan_headers = "$skia_vulkan_sdk/include" + } else { + # When buliding on Android we get the header via the NDK + skia_vulkan_headers = "" } + } else { + skia_vulkan_headers = "third_party/vulkan" } } @@ -88,10 +91,6 @@ skia_public_includes = [ "include/utils/mac", ] -if (skia_use_vulkan) { - skia_public_includes += [ "include/gpu/vk" ] -} - # Skia public API, generally provided by :skia. config("skia_public") { include_dirs = skia_public_includes @@ -749,7 +748,8 @@ if (skia_enable_tools) { skia_h = "$target_gen_dir/skia.h" script = "gn/find_headers.py" args = [ rebase_path(skia_h, root_build_dir) ] + - rebase_path(skia_public_includes) + rebase_path(skia_public_includes) + + [ rebase_path("third_party/vulkan") ] depfile = "$skia_h.deps" outputs = [ skia_h, |