www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - [OT] Anyone familiar with the google tooling - SKIA as a static

reply Basile B <b2.temp gmx.com> writes:
I'd like to build SKIA[1] as a static library and interface it 
with D.
However it's hard to build, I don't get anything to their build 
system, you need 'gen' to generate a 'ninja' file so you must 
build 'gen' but to build 'gen' you must..., wtf is this cluster 
fuck...

Thanks for your help.

[1]https://skia.org/
Dec 28 2016
parent reply Joakim <dlang joakim.fea.st> writes:
On Wednesday, 28 December 2016 at 14:23:03 UTC, Basile B wrote:
 I'd like to build SKIA[1] as a static library and interface it 
 with D.
 However it's hard to build, I don't get anything to their build 
 system, you need 'gen' to generate a 'ninja' file so you must 
 build 'gen' but to build 'gen' you must..., wtf is this cluster 
 fuck...

 Thanks for your help.

 [1]https://skia.org/
I have built it back when it still used gyp. I believe what you need to do is 1. Install depot_tools: http://www.chromium.org/developers/how-tos/install-depot-tools 2. Use gclient from depot_tools to get skia: https://skia.org/user/download 3. Use gclient to get gn and build skia: https://skia.org/user/build They give you all the steps, but it's confusing if you haven't done it before and don't read them carefully. Just follow their exact instructions in those three pages and you should be set up.
Dec 28 2016
parent Basile B <b2.temp gmx.com> writes:
On Wednesday, 28 December 2016 at 15:43:10 UTC, Joakim wrote:
 On Wednesday, 28 December 2016 at 14:23:03 UTC, Basile B wrote:
 I'd like to build SKIA[1] as a static library and interface it 
 with D.
 However it's hard to build, I don't get anything to their 
 build system, you need 'gen' to generate a 'ninja' file so you 
 must build 'gen' but to build 'gen' you must..., wtf is this 
 cluster fuck...

 Thanks for your help.

 [1]https://skia.org/
I have built it back when it still used gyp. I believe what you need to do is 1. Install depot_tools: http://www.chromium.org/developers/how-tos/install-depot-tools 2. Use gclient from depot_tools to get skia: https://skia.org/user/download 3. Use gclient to get gn and build skia: https://skia.org/user/build They give you all the steps, but it's confusing if you haven't done it before and don't read them carefully. Just follow their exact instructions in those three pages and you should be set up.
Thanks. But step 1 yet looks like a complete charlie foxtrot (I clone it but nothing is build. So glicent...well goodnight...) I'll try this tomorrow.
Dec 28 2016