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 "SkOSPath.h" |
17 | 18 |
18 #include <stdlib.h> | 19 #include <stdlib.h> |
19 | 20 |
20 extern "C" { | 21 extern "C" { |
21 #include "lua.h" | 22 #include "lua.h" |
22 #include "lualib.h" | 23 #include "lualib.h" |
23 #include "lauxlib.h" | 24 #include "lauxlib.h" |
24 } | 25 } |
25 | 26 |
26 static const char gStartCanvasFunc[] = "sk_scrape_startcanvas"; | 27 static const char gStartCanvasFunc[] = "sk_scrape_startcanvas"; |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 } | 160 } |
160 } | 161 } |
161 return 0; | 162 return 0; |
162 } | 163 } |
163 | 164 |
164 #if !defined SK_BUILD_FOR_IOS | 165 #if !defined SK_BUILD_FOR_IOS |
165 int main(int argc, char * const argv[]) { | 166 int main(int argc, char * const argv[]) { |
166 return tool_main(argc, (char**) argv); | 167 return tool_main(argc, (char**) argv); |
167 } | 168 } |
168 #endif | 169 #endif |
OLD | NEW |