Here are gyp targets and stubs for compiling libcc and the webkit_compositor bindings in chromium. Everything is guarded behind the off-by-default use_libcc_for_compositor gyp variable.  I haven't included the actual code here, but there are scripts to sync.  I plan to land + manually sync the code into place until we're ready to flip the gyp switch.

Snapshot from r126652

BUG=

Review URL: https://chromiumcodereview.appspot.com/10828381

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153354 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/cc/CCSharedQuadState.cpp b/cc/CCSharedQuadState.cpp
new file mode 100644
index 0000000..05a6622
--- /dev/null
+++ b/cc/CCSharedQuadState.cpp
@@ -0,0 +1,28 @@
+// Copyright 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "config.h"
+
+#include "CCSharedQuadState.h"
+
+#include "FloatQuad.h"
+
+namespace WebCore {
+
+PassOwnPtr<CCSharedQuadState> CCSharedQuadState::create(const WebKit::WebTransformationMatrix& quadTransform, const IntRect& visibleContentRect, const IntRect& clippedRectInTarget, float opacity, bool opaque)
+{
+    return adoptPtr(new CCSharedQuadState(quadTransform, visibleContentRect, clippedRectInTarget, opacity, opaque));
+}
+
+CCSharedQuadState::CCSharedQuadState(const WebKit::WebTransformationMatrix& quadTransform, const IntRect& visibleContentRect, const IntRect& clippedRectInTarget, float opacity, bool opaque)
+    : id(-1)
+    , quadTransform(quadTransform)
+    , visibleContentRect(visibleContentRect)
+    , clippedRectInTarget(clippedRectInTarget)
+    , opacity(opacity)
+    , opaque(opaque)
+{
+}
+
+}