diff options
author | mtklein <mtklein@chromium.org> | 2015-07-08 10:06:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-08 10:06:01 -0700 |
commit | 60c047557559e5410063452e59d65377e813e5f2 (patch) | |
tree | 1b2ed7dda6db8edac349e3cac21586658915d11e /gyp | |
parent | b2456053c7e20e5439915cd2954c71f73bc85375 (diff) |
Add tools/flatten to flatten nested pictures in .skps.
Tested by running on skps/sp_desk_nytimes.skp.
The output .skp had no nested draw picture calls, and the files were both 9.3M.
BUG=skia:
Review URL: https://codereview.chromium.org/1221303020
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/tools.gyp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gyp/tools.gyp b/gyp/tools.gyp index 855bfd748d..a01d668ba7 100644 --- a/gyp/tools.gyp +++ b/gyp/tools.gyp @@ -21,6 +21,7 @@ 'chrome_fuzz', 'dump_record', 'filter', + 'flatten', 'gpuveto', 'lua_app', 'lua_pictures', @@ -277,6 +278,16 @@ ], }, { + 'target_name': 'flatten', + 'type': 'executable', + 'sources': [ + '../tools/flatten.cpp', + ], + 'dependencies': [ + 'skia_lib.gyp:skia_lib', + ], + }, + { # Superseded by dm, should be removed. 'target_name': 'skp2svg', 'type': 'executable', |