1// 2// Copyright 2019 The ANGLE Project Authors. All rights reserved. 3// Use of this source code is governed by a BSD-style license that can be 4// found in the LICENSE file. 5// 6// test_utils_uwp.cpp: Implementation of test utility functions for WinUWP. 7 8#include "util/test_utils.h" 9 10namespace angle 11{ 12void PrintStackBacktrace() 13{ 14 // Not available on UWP 15} 16 17void InitCrashHandler(CrashCallback *callback) 18{ 19 // Not available on UWP 20} 21 22void TerminateCrashHandler() 23{ 24 // Not available on UWP 25} 26 27int NumberOfProcessors() 28{ 29 // A portable implementation could probably use GetLogicalProcessorInformation 30 return 1; 31} 32} // namespace angle 33 34