OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkLua.h" | 8 #include "SkLua.h" |
9 #include "SkLuaCanvas.h" | 9 #include "SkLuaCanvas.h" |
10 #include "SkPicture.h" | 10 #include "SkPicture.h" |
11 #include "SkCommandLineFlags.h" | 11 #include "SkCommandLineFlags.h" |
12 #include "SkGraphics.h" | 12 #include "SkGraphics.h" |
13 #include "SkStream.h" | 13 #include "SkStream.h" |
14 #include "SkData.h" | 14 #include "SkData.h" |
15 #include "picture_utils.h" | 15 #include "picture_utils.h" |
16 #include "SkOSFile.h" | 16 #include "SkOSFile.h" |
17 #include "SkImageDecoder.h" | |
18 | 17 |
19 #include <stdlib.h> | 18 #include <stdlib.h> |
20 | 19 |
21 extern "C" { | 20 extern "C" { |
22 #include "lua.h" | 21 #include "lua.h" |
23 #include "lualib.h" | 22 #include "lualib.h" |
24 #include "lauxlib.h" | 23 #include "lauxlib.h" |
25 } | 24 } |
26 | 25 |
27 static const char gStartCanvasFunc[] = "sk_scrape_startcanvas"; | 26 static const char gStartCanvasFunc[] = "sk_scrape_startcanvas"; |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 } | 160 } |
162 } | 161 } |
163 return 0; | 162 return 0; |
164 } | 163 } |
165 | 164 |
166 #if !defined SK_BUILD_FOR_IOS | 165 #if !defined SK_BUILD_FOR_IOS |
167 int main(int argc, char * const argv[]) { | 166 int main(int argc, char * const argv[]) { |
168 return tool_main(argc, (char**) argv); | 167 return tool_main(argc, (char**) argv); |
169 } | 168 } |
170 #endif | 169 #endif |
OLD | NEW |