Files
godot-angle-static/util/windows/test_utils_winuwp.cpp
Jamie Madill 5eadaf85b4 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>
2020-01-14 15:17:24 +00:00

33 lines
651 B
C++

//
// 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