skia2/tools/win_dbghelp.h
Mike Klein 8f11d4dcaf eliminate SK_BUILD_FOR_WIN32
SK_BUILD_FOR_WIN and SK_BUILD_FOR_WIN32 have long meant the same thing.

Chrome fix is https://chromium-review.googlesource.com/c/chromium/src/+/884007

Change-Id: I0e907b1bcd2a358eabf776f414fd3aeb3c689561
Reviewed-on: https://skia-review.googlesource.com/99340
Reviewed-by: Mike Reed <reed@google.com>
2018-01-26 19:52:04 +00:00

36 lines
757 B
C

/*
* Copyright 2013 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef win_dbghelp_DEFINED
#define win_dbghelp_DEFINED
#ifdef SK_BUILD_FOR_WIN
#include <dbghelp.h>
#include <shellapi.h>
#include <shlobj.h>
void setAppName(const char* app_name);
const char* getAppName();
void setBinariesPath(const char* binaries_path);
const char* getBinariesPath();
void setAppVersion(const char* version);
const char* getAppVersion();
void setCdbPath(const char* path);
const char* getCdbPath();
void setUpDebuggingFromArgs(const char* vargs0);
int GenerateDumpAndPrintCallstack(EXCEPTION_POINTERS* pExceptionPointers);
#endif // SK_BUILD_FOR_WIN
#endif // win_dbghelp_DEFINED