• joone.hur's avatar
    Allow to build vulkan_tests in Linux · 52038a8c
    joone.hur authored
    We need to define use_x11 variable to build vulkan_tests in Linux
    
    Here is the error message:
    
    [1/1] Regenerating ninja files
    FAILED: build.ninja
    /home/joone/git/chromium/src/buildtools/linux64/gn --root=/home/joone/git/chromium/src -q gen .
    ERROR at //gpu/vulkan/BUILD.gn:20:14: Undefined identifier
          assert(use_x11, "Vulkan only support x11 at this point.")
                     ^------
    See //cc/BUILD.gn:486:5: which caused the file to be included.
        "//gpu/vulkan:features",
            ^----------------------
    ninja: error: rebuilding 'build.ninja': subcommand failed
    
    BUG=none
    CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
    
    Review-Url: https://codereview.chromium.org/2759353003
    Cr-Commit-Position: refs/heads/master@{#458605}
    52038a8c
Name
Last commit
Last update
..
tests Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...
features.gni Loading commit data...
vulkan_command_buffer.cc Loading commit data...
vulkan_command_buffer.h Loading commit data...
vulkan_command_pool.cc Loading commit data...
vulkan_command_pool.h Loading commit data...
vulkan_descriptor_layout.cc Loading commit data...
vulkan_descriptor_layout.h Loading commit data...
vulkan_descriptor_pool.cc Loading commit data...
vulkan_descriptor_pool.h Loading commit data...
vulkan_descriptor_set.cc Loading commit data...
vulkan_descriptor_set.h Loading commit data...
vulkan_device_queue.cc Loading commit data...
vulkan_device_queue.h Loading commit data...
vulkan_export.h Loading commit data...
vulkan_image_view.cc Loading commit data...
vulkan_image_view.h Loading commit data...
vulkan_implementation.cc Loading commit data...
vulkan_implementation.h Loading commit data...
vulkan_platform.h Loading commit data...
vulkan_render_pass.cc Loading commit data...
vulkan_render_pass.h Loading commit data...
vulkan_sampler.cc Loading commit data...
vulkan_sampler.h Loading commit data...
vulkan_shader_module.cc Loading commit data...
vulkan_shader_module.h Loading commit data...
vulkan_surface.cc Loading commit data...
vulkan_surface.h Loading commit data...
vulkan_swap_chain.cc Loading commit data...
vulkan_swap_chain.h Loading commit data...