diff options
author | halcanary <halcanary@google.com> | 2015-01-26 11:24:32 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-26 11:24:32 -0800 |
commit | 878fa0204bc246ec5fbaca4aa3c81aaefccc30a1 (patch) | |
tree | faef3e19c04dbabc482d43d33c4c2d15bc173639 /gyp | |
parent | 4b952751c093801675307df6f3c4c25749e72925 (diff) |
Factor out checkerboard function in gm and sampleapp into tools.
Review URL: https://codereview.chromium.org/834303005
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/SampleApp.gyp | 1 | ||||
-rw-r--r-- | gyp/gmslides.gypi | 3 | ||||
-rw-r--r-- | gyp/tools.gyp | 7 |
3 files changed, 11 insertions, 0 deletions
diff --git a/gyp/SampleApp.gyp b/gyp/SampleApp.gyp index 7767835437..f961f1182b 100644 --- a/gyp/SampleApp.gyp +++ b/gyp/SampleApp.gyp @@ -152,6 +152,7 @@ 'skia_lib.gyp:skia_lib', 'tools.gyp:resources', 'tools.gyp:sk_tool_utils', + 'tools.gyp:checkerboard', 'views.gyp:views', 'views_animated.gyp:views_animated', 'xml.gyp:xml', diff --git a/gyp/gmslides.gypi b/gyp/gmslides.gypi index abcb86767b..e716644750 100644 --- a/gyp/gmslides.gypi +++ b/gyp/gmslides.gypi @@ -7,6 +7,9 @@ '../src/images', '../src/lazy', ], + 'dependencies': [ + 'tools.gyp:checkerboard', + ], 'conditions': [ # If we're building SampleApp on the bots, no need to link in the GM slides. # We're not going to run it; we're only making sure it still builds. diff --git a/gyp/tools.gyp b/gyp/tools.gyp index 1b196a75b1..8d2c7037b1 100644 --- a/gyp/tools.gyp +++ b/gyp/tools.gyp @@ -89,6 +89,13 @@ }, }, { + 'target_name': 'checkerboard', + 'type': 'static_library', + 'sources': [ '../tools/Checkerboard.cpp', ], + 'dependencies': [ 'skia_lib.gyp:skia_lib', ], + 'direct_dependent_settings': { 'include_dirs': [ '../tools', ], }, + }, + { 'target_name' : 'timer', 'type': 'static_library', 'sources': [ |