diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-16 05:22:28 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-16 05:22:28 +0000 |
commit | 54bf8134a16d70ae7302432d87420ecda6c1076b (patch) | |
tree | 4bd1a72d6a1e403aea1c566b271efc6047acbcf1 /cc/cc.gyp | |
parent | 31a8825bab0ddfb7da147302f2646632ac63c18a (diff) | |
download | chromium_src-54bf8134a16d70ae7302432d87420ecda6c1076b.zip chromium_src-54bf8134a16d70ae7302432d87420ecda6c1076b.tar.gz chromium_src-54bf8134a16d70ae7302432d87420ecda6c1076b.tar.bz2 |
Skeleton surface interfaces in cc/surfaces
This adds a very basic surface class with tests under cc/surfaces
to establish gyp and DEPS rules. While this system is under early
development it shouldn't be used by anything outside of unit tests.
BUG=334090
Review URL: https://codereview.chromium.org/131893003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@245137 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/cc.gyp')
-rw-r--r-- | cc/cc.gyp | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -21,6 +21,9 @@ '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', '<(DEPTH)/ui/gl/gl.gyp:gl', ], + 'export_dependent_settings': [ + '<(DEPTH)/skia/skia.gyp:skia', + ], 'defines': [ 'CC_IMPLEMENTATION=1', ], @@ -442,5 +445,26 @@ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 'msvs_disabled_warnings': [ 4267, ], }, + { + 'target_name': 'cc_surfaces', + 'type': '<(component)', + 'dependencies': [ + 'cc', + '<(DEPTH)/base/base.gyp:base', + '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', + '<(DEPTH)/ui/gfx/gfx.gyp:gfx', + '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', + ], + 'defines': [ + 'CC_SURFACES_IMPLEMENTATION=1', + ], + 'sources': [ + 'surfaces/surface.cc', + 'surfaces/surface.h', + 'surfaces/surface_manager.cc', + 'surfaces/surface_manager.h', + 'surfaces/surfaces_export.h', + ], + }, ], } |