Build nwjs12 for windows

Here is the list of steps to build nwjs12 for windows:

Download https://src.chromium.org/svn/trunk/tools/depot_tools.zip
Set up the path for depot_tools
gclient
Install VS 2013 community edition
Install Windows 10 SDK
set DEPOT_TOOLS_WIN_TOOLCHAIN=0
set GYP_DEFINES=”clang=0 nwjs_sdk=0 disable_nacl=1″
set GYP_MSVS_VERSION=2013
mkdir -p $HOME/nwjs
cd $HOME/nwjs
gclient config –name=src https://github.com/nwjs/chromium.src.git@origin/nw12
    Add this to .gclient
    “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,
    }

gclient sync –with_branch_heads
Install DirectX SDK
    You have to uninstall VS 2010 redistributable package
    Install DirectX SDK
    Install VS 2010 redistributable package
mkdir -p $HOME/nwjs/src/third_party/directxsdk/files
cp -r /c/Program\ Files\ \(x86\)/Microsoft\ DirectX\ SDK\ \(June\ 2010\)/* $HOME/nwjs/src/third_party/directxsdk/files/
cd src
ninja -C out/Debug nw

Advertisements
This entry was posted in browser, Chrome, Web, Windows and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s