Edit

kc3-lang/angle/gni

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2017-04-03 10:12:04
    Hash : 9cb2c262
    Message : Re-land: Roll vulkan-validation-layers. (2/2) https://android.googlesource.com/platform/external/vulkan-validation-layers.git/+log/bcb80d06bbdc09..f47c534fee2f26f This CL re-enables Vulkan with the new build files. In particular, this roll contains a fix for a vs2017 signed/unsigned mismatch warning as error. Re-land fixes build dependencies. BUG=chromium:683729 Change-Id: If2b1bc7250037c33402965eae354ca550ecd36c0 Reviewed-on: https://chromium-review.googlesource.com/466106 Reviewed-by: Jamie Madill <jmadill@chromium.org> Commit-Queue: Jamie Madill <jmadill@chromium.org>

  • angle.gni
  • # Copyright 2015 The Chromium Authors. All rights reserved.
    # Use of this source code is governed by a BSD-style license that can be
    # found in the LICENSE file.
    
    import("//build/config/ui.gni")  # import the use_x11 variable
    import("//ui/ozone/ozone.gni")
    
    angle_enable_d3d9 = false
    angle_enable_d3d11 = false
    angle_enable_gl = false
    angle_enable_vulkan = false
    angle_enable_null = true
    
    if (is_win) {
      angle_enable_d3d9 = true
      angle_enable_d3d11 = true
      angle_enable_gl = true
      angle_enable_vulkan = true
    
      import("//build/config/win/visual_studio_version.gni")
    } else if (is_linux && use_x11 && !is_chromeos) {
      angle_enable_gl = true
    } else if (is_mac || ozone_platform_gbm) {
      angle_enable_gl = true
    } else if (is_android) {
      angle_enable_gl = true
    }
    
    angle_enable_essl = true
    angle_enable_glsl = true
    angle_enable_hlsl = false
    
    if (angle_enable_d3d9 || angle_enable_d3d11) {
      angle_enable_hlsl = true
    }