1/* 2 * Copyright 2012 Google Inc. 3 * 4 * Use of this source code is governed by a BSD-style license that can be 5 * found in the LICENSE file. 6 */ 7 8#include "SkInstCnt.h" 9 10#if SK_ENABLE_INST_COUNT && !defined(SKIA_DLL) // See SkInstCnt.h 11 bool gPrintInstCount = false; 12 void SkInstCountPrintLeaksOnExit() { gPrintInstCount = true; } 13#else 14 void SkInstCountPrintLeaksOnExit() {} 15#endif 16