Edit

kc3-lang/angle/util/windows/test_utils_winuwp.cpp

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2020-01-13 17:21:53
    Hash : 5eadaf85
    Message : Fix and improve UWP build. Reorganizes the build files to work with a more divided setup. It is unclear if we'll ever be able to run tests in a UWP config. This at least sets up the organization so it would at some point be possible. Bug: angleproject:4182 Change-Id: I49dddfcdc0118b11466fe171f949c28d101ac6a2 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1953484 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Yuly Novikov <ynovikov@chromium.org>

  • util/windows/test_utils_winuwp.cpp
  • //
    // Copyright 2019 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    // test_utils_uwp.cpp: Implementation of test utility functions for WinUWP.
    
    #include "util/test_utils.h"
    
    namespace angle
    {
    void PrintStackBacktrace()
    {
        // Not available on UWP
    }
    
    void InitCrashHandler(CrashCallback *callback)
    {
        // Not available on UWP
    }
    
    void TerminateCrashHandler()
    {
        // Not available on UWP
    }
    
    int NumberOfProcessors()
    {
        // A portable implementation could probably use GetLogicalProcessorInformation
        return 1;
    }
    }  // namespace angle