summaryrefslogtreecommitdiffstats
path: root/cc/stubs
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-28 06:12:32 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-28 06:12:32 +0000
commit7d99d894d7ebf4bee6e657e9c467a01c2849c505 (patch)
treef0b8315d6e2305ea9955ceb994f946e4fce43383 /cc/stubs
parentc0179e6b89a884056cd0badf9cdec27c7002262f (diff)
downloadchromium_src-7d99d894d7ebf4bee6e657e9c467a01c2849c505.zip
chromium_src-7d99d894d7ebf4bee6e657e9c467a01c2849c505.tar.gz
chromium_src-7d99d894d7ebf4bee6e657e9c467a01c2849c505.tar.bz2
Add explicit forwarding stubs for geometry classes cc uses
libcc depends on several geometry types from WebCore - IntRect, FloatQuad, etc. We were picking these up by a header copying rule in the webkit_platform target that copies these headers into the generated build dir, but since there is no hard dependency link from libcc to webkit_platform this either work or not work depending on the exact build order on the user's system and was thus very fragile. This adds explicit forwarding headers which are ugly but at least will work. BUG= Review URL: https://chromiumcodereview.appspot.com/10883076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153631 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/stubs')
-rw-r--r--cc/stubs/FloatPoint.h5
-rw-r--r--cc/stubs/FloatPoint3D.h5
-rw-r--r--cc/stubs/FloatQuad.h6
-rw-r--r--cc/stubs/FloatRect.h6
-rw-r--r--cc/stubs/FloatSize.h6
-rw-r--r--cc/stubs/IntPoint.h6
-rw-r--r--cc/stubs/IntRect.h6
-rw-r--r--cc/stubs/IntSize.h6
8 files changed, 46 insertions, 0 deletions
diff --git a/cc/stubs/FloatPoint.h b/cc/stubs/FloatPoint.h
new file mode 100644
index 0000000..41f1e18
--- /dev/null
+++ b/cc/stubs/FloatPoint.h
@@ -0,0 +1,5 @@
+// Copyright (c) 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 "third_party/WebKit/Source/WebCore/platform/graphics/FloatPoint.h"
diff --git a/cc/stubs/FloatPoint3D.h b/cc/stubs/FloatPoint3D.h
new file mode 100644
index 0000000..66edfc3
--- /dev/null
+++ b/cc/stubs/FloatPoint3D.h
@@ -0,0 +1,5 @@
+// Copyright (c) 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 "third_party/WebKit/Source/WebCore/platform/graphics/FloatPoint3D.h"
diff --git a/cc/stubs/FloatQuad.h b/cc/stubs/FloatQuad.h
new file mode 100644
index 0000000..a5d85e1
--- /dev/null
+++ b/cc/stubs/FloatQuad.h
@@ -0,0 +1,6 @@
+// Copyright (c) 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 "third_party/WebKit/Source/WebCore/platform/graphics/FloatQuad.h"
+
diff --git a/cc/stubs/FloatRect.h b/cc/stubs/FloatRect.h
new file mode 100644
index 0000000..7c949d3
--- /dev/null
+++ b/cc/stubs/FloatRect.h
@@ -0,0 +1,6 @@
+// Copyright (c) 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 "third_party/WebKit/Source/WebCore/platform/graphics/FloatRect.h"
+
diff --git a/cc/stubs/FloatSize.h b/cc/stubs/FloatSize.h
new file mode 100644
index 0000000..bcf3e1c
--- /dev/null
+++ b/cc/stubs/FloatSize.h
@@ -0,0 +1,6 @@
+// Copyright (c) 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 "third_party/WebKit/Source/WebCore/platform/graphics/FloatSize.h"
+
diff --git a/cc/stubs/IntPoint.h b/cc/stubs/IntPoint.h
new file mode 100644
index 0000000..c9768a9
--- /dev/null
+++ b/cc/stubs/IntPoint.h
@@ -0,0 +1,6 @@
+// Copyright (c) 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 "third_party/WebKit/Source/WebCore/platform/graphics/IntPoint.h"
+
diff --git a/cc/stubs/IntRect.h b/cc/stubs/IntRect.h
new file mode 100644
index 0000000..954b938
--- /dev/null
+++ b/cc/stubs/IntRect.h
@@ -0,0 +1,6 @@
+// Copyright (c) 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 "third_party/WebKit/Source/WebCore/platform/graphics/IntRect.h"
+
diff --git a/cc/stubs/IntSize.h b/cc/stubs/IntSize.h
new file mode 100644
index 0000000..04eb4b1
--- /dev/null
+++ b/cc/stubs/IntSize.h
@@ -0,0 +1,6 @@
+// Copyright (c) 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 "third_party/WebKit/Source/WebCore/platform/graphics/IntSize.h"
+