OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 The Android Open Source Project | 2 * Copyright (C) 2006 The Android Open Source Project |
3 * | 3 * |
4 * Licensed under the Apache License, Version 2.0 (the "License"); | 4 * Licensed under the Apache License, Version 2.0 (the "License"); |
5 * you may not use this file except in compliance with the License. | 5 * you may not use this file except in compliance with the License. |
6 * You may obtain a copy of the License at | 6 * You may obtain a copy of the License at |
7 * | 7 * |
8 * http://www.apache.org/licenses/LICENSE-2.0 | 8 * http://www.apache.org/licenses/LICENSE-2.0 |
9 * | 9 * |
10 * Unless required by applicable law or agreed to in writing, software | 10 * Unless required by applicable law or agreed to in writing, software |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 /* Some envorinments do not suport writable globals (eek!). If yours does not, | 103 /* Some envorinments do not suport writable globals (eek!). If yours does not, |
104 define this flag. | 104 define this flag. |
105 */ | 105 */ |
106 //#define SK_USE_RUNTIME_GLOBALS | 106 //#define SK_USE_RUNTIME_GLOBALS |
107 | 107 |
108 /* If zlib is available and you want to support the flate compression | 108 /* If zlib is available and you want to support the flate compression |
109 algorithm (used in PDF generation), define SK_ZLIB_INCLUDE to be the | 109 algorithm (used in PDF generation), define SK_ZLIB_INCLUDE to be the |
110 include path. | 110 include path. |
111 */ | 111 */ |
112 //#define SK_ZLIB_INCLUDE <zlib.h> | 112 //#define SK_ZLIB_INCLUDE <zlib.h> |
113 #if defined(USE_SYSTEM_ZLIB) | |
114 #define SK_ZLIB_INCLUDE <zlib.h> | |
115 #else | |
116 #define SK_ZLIB_INCLUDE "third_party/zlib/zlib.h" | 113 #define SK_ZLIB_INCLUDE "third_party/zlib/zlib.h" |
117 #endif | |
118 | 114 |
119 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow | 115 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow |
120 them, but modern PDF interpreters should handle them just fine. | 116 them, but modern PDF interpreters should handle them just fine. |
121 */ | 117 */ |
122 //#define SK_ALLOW_LARGE_PDF_SCALARS | 118 //#define SK_ALLOW_LARGE_PDF_SCALARS |
123 | 119 |
124 /* Define this to provide font subsetter for font subsetting when generating | 120 /* Define this to provide font subsetter for font subsetting when generating |
125 PDF documents. | 121 PDF documents. |
126 */ | 122 */ |
127 #define SK_SFNTLY_SUBSETTER \ | 123 #define SK_SFNTLY_SUBSETTER \ |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 // assertion. | 235 // assertion. |
240 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") | 236 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") |
241 | 237 |
242 // Uncomment the following line to forward skia trace events to Chrome | 238 // Uncomment the following line to forward skia trace events to Chrome |
243 // tracing. | 239 // tracing. |
244 // #define SK_USER_TRACE_INCLUDE_FILE "skia/ext/skia_trace_shim.h" | 240 // #define SK_USER_TRACE_INCLUDE_FILE "skia/ext/skia_trace_shim.h" |
245 | 241 |
246 // ===== End Chrome-specific definitions ===== | 242 // ===== End Chrome-specific definitions ===== |
247 | 243 |
248 #endif | 244 #endif |
OLD | NEW |