alfahim / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

GN build #411

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
switch from gyp to GN build.
1. r991 added BUILD.gn, supporting chrome builds of libyuv via GN.
2. r1317 added setup support to allow stand alone GN builds

Next steps are switching all gyp build scripts to GN, improving functionality 
and documenting how to build with GN

Original issue reported on code.google.com by fbarch...@google.com on 10 Mar 2015 at 4:52

GoogleCodeExporter commented 9 years ago
Test of 32 bit Windows build
With GN
call gn gen out/Release "--args=is_debug=false target_cpu=\"x86\""
call gn gen out/Debug "--args=is_debug=true target_cpu=\"x86\""
ninja -C out/Release
ninja -C out/Debug
21.95 seconds

With GYP
set GYP_DEFINES=target_arch=ia32 libyuv_enable_svn=1
call python gyp_libyuv -fninja -G msvs_version=2013 libyuv_test.gyp
ninja -C out\Debug
ninja -C out\Release
24.97 seconds

Original comment by fbarch...@google.com on 10 Mar 2015 at 5:28

GoogleCodeExporter commented 9 years ago
Updated Getting Started for Windows
https://code.google.com/p/libyuv/wiki/GettingStarted

Original comment by fbarch...@chromium.org on 20 Mar 2015 at 10:39