angle/third_party
Nico Weber ce0a8f3c8f List vulkan_core.h as input of generate_vulkan_layers_json.py.
Since this was missing, the layer json files didn't get regenerated on
vulkan rolls, leading to stale generated json files, which in turn led
to incremental builds having different files in the swarming isolate
than full builds.

To make this type of bug harder to introduce, rewrite
generate_vulkan_layers_json.py a bit:

- pass in path to vulkan_core.h as an argument
- also pass in the input .json / .json.in files as arguments,
  so that the script re-runs if a .json or .json.in input is added
  or removed, and in the script verify that the passed-in list matches
  the glob() the script did previously (this verifies that the sources
  list in the .gn file is up-to-date with the state on disk)
- generate outputs list in gn from sources list, to make sure they're
  in sync
- use an expicit --icd flag instead of doing `'icd' in path`
- fail when failing to extract vk_version instead of silently using a
  default
- some minor python style fixes

Bug: chromium:910699,chromium:869348
Change-Id: I1e598f4566697a7f1ef56b040e52d0717f7ad075
Reviewed-on: https://chromium-review.googlesource.com/c/1358631
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Nico Weber <thakis@chromium.org>
2018-12-03 15:48:33 +00:00
..
deqp Roll dEQP cc0ded6c77267b..cd361df193e7535b9 2016-06-20 18:41:28 +00:00
glslang Remove SpvPostProcess.h from glslang's BUILD.gn. 2018-10-18 20:17:18 +00:00
googletest Update and move gmock and gtest. 2017-10-11 20:33:02 +00:00
libpng Stand-alone build with gn. 2017-10-18 17:02:13 +00:00
minigbm Support ozone/gbm back end in standalone gn build. 2017-12-15 21:08:26 +00:00
spirv-headers Vulkan: Enable validation layers on request. 2016-12-23 20:43:56 +00:00
spirv-tools Use SPIRV-Tools' BUILD.gn files 2018-09-25 22:45:36 +00:00
vulkan-headers Roll Vulkan repos fwd as of 7/3 2018-07-09 21:48:24 +00:00
vulkan-loader Roll Vulkan repos fwd as of 7/3 2018-07-09 21:48:24 +00:00
vulkan-tools List vulkan_core.h as input of generate_vulkan_layers_json.py. 2018-12-03 15:48:33 +00:00
vulkan-validation-layers List vulkan_core.h as input of generate_vulkan_layers_json.py. 2018-12-03 15:48:33 +00:00