Permalink
Browse files

build instructions

  • Loading branch information...
1 parent dab976c commit 6bd367fcfe88ebb1f7475acae22dbdb9b29b7043 @rogerwang rogerwang committed May 23, 2012
Showing with 37 additions and 2 deletions.
  1. +37 −2 README.md
View
@@ -36,19 +36,54 @@ From NodeJS code, you can manipulate the DOM or run Javascript in the DOM contex
Dependencies
============
-A patched version of CEF (Chromium Embedded Framework) is needed to make this possible. Prebuilt binaries are available for Linux (Debian and Ubuntu), Windows and OSX.
+A patched version of CEF (Chromium Embedded Framework) is needed to make this possible. Prebuilt binaries will be available for Linux (Debian and Ubuntu), Windows and OSX.
The source of Chromium is at https://github.com/rogerwang/chromium
-Other hacks on the dependencies are:
+Other hacks on the dependencies are in https://github.com/rogerwang/ , e.g.:
https://github.com/rogerwang/node
+
https://github.com/rogerwang/libuv
+The dependencies are managed by .DEPS.git in the 'chromium' repository.
Build from source
=================
+Since we are a patch on CEF, the build process is very similiar with CEF's. So it's recommended to read CEF and Chromium's build documentation first. Then download and install 'depot_tools'.
+
+The difference is that we are using our own (git) repositories for some projects needed. So in the next step you need a different .gclient file to download and sync the code:
+
+ solutions = [
+ { "name" : "src",
+ "url" : "git://github.com/rogerwang/chromium.git@node",
+ "deps_file" : ".DEPS.git",
+ "managed" : True,
+ "custom_deps" : {
+ "src/third_party/WebKit/LayoutTests": None,
+ "src/chrome_frame/tools/test/reference_build/chrome": None,
+ "src/chrome_frame/tools/test/reference_build/chrome_win": None,
+ "src/chrome/tools/test/reference_build/chrome": None,
+ "src/chrome/tools/test/reference_build/chrome_linux": None,
+ "src/chrome/tools/test/reference_build/chrome_mac": None,
+ "src/chrome/tools/test/reference_build/chrome_win": None,
+ },
+ "safesync_url": "",
+ },
+ ]
+
+and then download 'cef' repository under the 'src' directory from:
+
+ git://github.com/rogerwang/cef.git
+
+Then execute 'cef_create_projects.{bat|sh}' in the 'cef' directory.
+
+At last you should be able to build it with make or Visual Studio as documented in the CEF project.
+
+If the build is successful then try to run 'cefclient /path/to/testfs.html'.
+
+Good luck!
How it works
============

0 comments on commit 6bd367f

Please sign in to comment.