Make Mock ICD json file a data_dep of Mock ICD

Bug: angleproject:2471

Mock ICD json file was only being copied to angledata when "build all"
was done. This fix causes the json file to be copied anytime something
with a Vulkan dep is compiled.

Change-Id: Ic56ecf12ff5996d14bd2ed419f50b2362453b939
Reviewed-on: https://chromium-review.googlesource.com/1020233
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
This commit is contained in:
Tobin Ehlis 2018-04-19 14:51:27 -06:00 коммит произвёл Commit Bot
Родитель 4bba74f0c6
Коммит 3fac3ccc8f
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -525,6 +525,9 @@ if (!is_android) {
"//build/config:exe_and_shlib_deps",
]
deps += [ ":vulkan_generate_mock_icd_files" ]
data_deps = [
":vulkan_gen_icd_json_file",
]
sources = mock_icd_sources
if (is_win) {
sources += [ "src/icd/VkICD_mock_icd.def" ]