daiyanbao / libyuv

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

GN build incomplete #523

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
GN build dosent build all targets
Done. Wrote 85 targets from 26 files in 837ms
Done. Wrote 85 targets from 26 files in 793ms
ninja: Entering directory `out/Release'
[263/263] STAMP obj/libyuv.stamp
ninja: Entering directory `out/Debug'
[263/263] STAMP obj/libyuv.stamp

but the libraries and unittests are missing.

GN build fails
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

GYP build works:

set GYP_DEFINES=target_arch=ia32
if not exist out\Release\build.ninja call python gyp_libyuv -fninja 
-Gmsvs_version=2013 libyuv_test.gyp

set GYP_DEFINES=buildtype=Official target_arch=ia32 libyuv_enable_svn=1
if not exist out\Release\build.ninja timex call python gyp_libyuv -fninja 
-Gconfig=Release -Gmsvs_version=2013 libyuv_test.gyp

set GYP_DEFINES=buildtype=Dev target_arch=ia32 libyuv_enable_svn=1
if not exist out\Debug\build.ninja timex call python gyp_libyuv -fninja 
-Gconfig=Debug -Gmsvs_version=2013 libyuv_test.gyp

ninja -d keeprsp -v -C out\Release
ninja -C out\Debug

Original issue reported on code.google.com by fbarch...@chromium.org on 9 Nov 2015 at 6:36

GoogleCodeExporter commented 8 years ago
BUILD.gn does not contain any test or util targets - they'll need to added.

Original comment by fbarch...@chromium.org on 9 Nov 2015 at 6:50