Phuc1980 / google-breakpad

Automatically exported from code.google.com/p/google-breakpad
0 stars 0 forks source link

Get GYP-driven build working for all platforms #575

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Breakpad is currently built in a handful of different platform specific 
manners. Soem platforms use makefiles, some use checked in IDE project files, 
and others use GYP build files (in various states of abandon). It would aid 
develop significantly if all tools for all platforms were backed by a GYP build.

Original issue reported on code.google.com by chri...@chromium.org on 2 Apr 2014 at 1:07

GoogleCodeExporter commented 9 years ago

Original comment by rsesek@chromium.org on 2 Apr 2014 at 3:06

GoogleCodeExporter commented 9 years ago
Yeah, I want this real bad too. The XCode project never matches whatever 
version of XCode I actually have installed, and I never know how to make 
changes to it without breaking things.

If we moved the currently-autoconf'ed processor bits to GYP it'd make building 
the processor on Windows a lot easier too.

Original comment by ted.mielczarek on 2 Apr 2014 at 3:28

GoogleCodeExporter commented 9 years ago
Are we just talking about the minidump_stackwalk target?  I can probably take a 
look at getting this working with gyp - it currently only has a linux target.

Original comment by wfh@chromium.org on 24 Apr 2014 at 9:29

GoogleCodeExporter commented 9 years ago
I think the ultimate goal would be to have a GYP project that builds both the 
processor bits (minidump_stackwalk) as well as the client+tools bits for the 
platform you're on. Right now the Windows client has a GYP build file, the Mac 
client has an XCode project, and the Linux client is included in the automake 
Makefile.

Original comment by ted.mielczarek on 24 Apr 2014 at 10:05

GoogleCodeExporter commented 9 years ago
My intention is for all pieces (processor bits, client utilities, etc) to build 
from a single unified project, including all unittests, etc. I'm specifically 
targeting the Windows platform to start with, so if you want to work on Linux 
please do so!

Original comment by chri...@chromium.org on 25 Apr 2014 at 12:32

GoogleCodeExporter commented 9 years ago
I have a CMake build system for the client library, dump_syms and 
minidump_stackwalk at 
https://github.com/Mendeley/breakpad/blob/master/mendeley/CMakeLists.txt

The client lib & dump_syms parts work on Win, Mac and Linux. The 
minidump_stackwalk part works on Linux and Mac.

Original comment by robertkn...@gmail.com on 3 Jun 2014 at 1:17

GoogleCodeExporter commented 9 years ago
First step to get tools building on Mac and Linux with gyp: 
https://code.google.com/p/google-breakpad/source/detail?r=1358

Original comment by rsesek@chromium.org on 24 Jul 2014 at 3:24

GoogleCodeExporter commented 9 years ago
In my custom build script using gyp at latest commit dd831fd as of yesterday.

set GYP_MSVS_VERSION=2013
CALL !DEPENDENCY_PATH!\gyp\gyp.bat --no-circular-check 
client\windows\breakpad_client.gyp --depth .

Currently errors:

Warning: Missing input files:
client\windows\unittests\..\..\..\testing\src\gmock-all.cc
client\windows\unittests\..\..\..\testing\src\gmock_main.cc
client\windows\unittests\..\..\..\testing\gtest\src\gtest-all.cc

Windows 8.1, VS2013.

Original comment by richard.m.tew@gmail.com on 3 Mar 2015 at 3:10