summaryrefslogtreecommitdiffstats
path: root/README
blob: 6b120d018bf23697227513cde905cdd3f6b7755a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

This is a prototype of allowing embedding Chromium/Blink into Qt.

-- Build instructions:

(1) Get the Chromium source code, see instructions at http://www.chromium.org/blink/conversion-cheatsheet
    Currently this is a bit iffy due to the WebKit -> Blink transition, but this is what worked for me:

    * git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
    * Add depot_tools to your PATH
    * export GYP_GENERATORS=ninja
    * fetch --nosvn=True blink
    * If that didn't do the trick, it should essentially boil down to running "gclient sync"

(2) (Re-)generating the ninja build files after changing a gyp file:

    * set the CHROMIUM_SRC_DIR environment variable to point to /path/to/src/
    * Run gyp_blinq

(3) build with ninja -C out/Release (or out/Debug depending on the needs)

(4) On Linux you may get build errors due to -Werror. Create ~/.gyp/include.gypi with the following contents:

    {
      'variables': {
        'werror%': '',
      },
    }

    So afterwards you have to re-create the ninja files using gyp_blinq