skufog / libyuv

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

Ninja build break on Windows vs2012 #173

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(This affects WebRTC as well, but not Chrome)
This fails
call python build\gyp_chromium --depth=. -fninja libyuv_test.gyp
ninja -C out\Debug
ninja -C out\Release

This works
call python build\gyp_chromium --depth=. -fmsvs libyuv_test.gyp
timex devenv -build Debug libyuv_test.sln
timex devenv -build Release libyuv_test.sln

Output:
c:\src\libyuv\trunk>ninja -C out\Debug
ninja: Entering directory `out\Debug'
Recompacting log...
[18/81] CXX obj\source\libyuv.compare_posix.obj
usage: ninja -t msvc [options] -- cl.exe /showIncludes /otherArgs
options:
  -e ENVFILE load environment block from ENVFILE as environment
  -o FILE    write output dependency information to FILE.d
msvc: invalid option -- `-r'

Please use labels and text to provide additional information.
This was building as of 1/5/2013 morning, but started to fail by evening.
Depot tools change?

Original issue reported on code.google.com by fbarch...@chromium.org on 6 Jan 2013 at 5:02

GoogleCodeExporter commented 9 years ago
Yes, it's due to depot tools changes. 
Rolling DEPS to chromium_revision 175264 seems to resolve this since a newer 
GYP revision will be used.

I'm working on rolling it for WebRTC: 
https://webrtc-codereview.appspot.com/1026004
Frank: can you roll it for Libyuv if it works for WebRTC? 

Original comment by kjellan...@google.com on 7 Jan 2013 at 2:28

GoogleCodeExporter commented 9 years ago
Fixed in r526.

Original comment by fbarch...@google.com on 7 Jan 2013 at 7:47