Fixed include statements to correctly link mac/ios libraries

git-svn-id: http://skia.googlecode.com/svn/trunk@1712 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
yangsu@google.com 2011-06-24 18:56:00 +00:00
parent 57d73d628d
commit 900d8772e3
2 changed files with 8 additions and 7 deletions

View File

@ -29,6 +29,7 @@
#ifdef SK_BUILD_FOR_IOS
#include <CoreText/CoreText.h>
#include <CoreGraphics/CoreGraphics.h>
#include <CoreFoundation/CoreFoundation.h>
#endif
namespace skia_advanced_typeface_metrics_utils {

View File

@ -20,13 +20,13 @@
#include "SkTemplates.h"
#include "SkCGUtils.h"
//#ifdef SK_BUILD_FOR_MAC
//#include <ApplicationServices/ApplicationServices.h>
//#endif
//
//#ifdef SK_BUILD_FOR_IOS
//#include <CoreGraphics/CoreGraphics.h>
//#endif
#ifdef SK_BUILD_FOR_MAC
#include <ApplicationServices/ApplicationServices.h>
#endif
#ifdef SK_BUILD_FOR_IOS
#include <CoreGraphics/CoreGraphics.h>
#endif
static void malloc_release_proc(void* info, const void* data, size_t size) {
sk_free(info);