summaryrefslogtreecommitdiffstats
path: root/cc/README
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-25 00:09:14 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-25 00:09:14 +0000
commit94f206c1c75eb8cc4df2225a1c5c9c7b6fc96679 (patch)
tree530f51d5c75459999e4adf2a6895884ce1c15ce0 /cc/README
parent56235947f2b023fc63cfad692c56df4e92199848 (diff)
downloadchromium_src-94f206c1c75eb8cc4df2225a1c5c9c7b6fc96679.zip
chromium_src-94f206c1c75eb8cc4df2225a1c5c9c7b6fc96679.tar.gz
chromium_src-94f206c1c75eb8cc4df2225a1c5c9c7b6fc96679.tar.bz2
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
Diffstat (limited to 'cc/README')
-rw-r--r--cc/README19
1 files changed, 17 insertions, 2 deletions
diff --git a/cc/README b/cc/README
index da4767a..7b94aea 100644
--- a/cc/README
+++ b/cc/README
@@ -1,2 +1,17 @@
-The chromium compositor code will go here. For now, this directory is just a
-placeholder to make gclient happy.
+This is the chromium compositor implementation. Currently it's in state of
+transition from the WebKit repository to chromium, so there are only stubs
+here that are not compiled in by default.
+
+To try this out, do the following:
+
+0.) Run the 'copyfiles.py' script in this directory to sync the cc files from
+ their current location in WebKit into this directory.
+1.) Set the gyp variable 'use_libcc_for_compositor=1' and run gyp:
+ ./build/gyp_chromium -Duse_libcc_for_compositor=1
+2.) Build the 'cc' target to build just the compositor library, or build
+ 'cc_unittests' for the unit tests.
+
+Notes about the component=shared_library build:
+Because the compositor currently depends on non-exported symbols from inside
+WebKit, in the shared library build the cc library links into WebKit.dll.
+The unit tests don't currently work at all in the component build.